handler

package
v0.0.0-...-1e14abc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Datastore *database.Datastore
	Bot       *tgbotapi.BotAPI
}

func New

func New(db *database.Datastore, bot *tgbotapi.BotAPI) *Handler

func (*Handler) AddNamesOfUsersToDB

func (h *Handler) AddNamesOfUsersToDB()

func (*Handler) HandleCallbackQuery

func (handler *Handler) HandleCallbackQuery(update tgbotapi.Update)

func (*Handler) HandleMessage

func (handler *Handler) HandleMessage(update tgbotapi.Update)

func (*Handler) SendAllNewRandomParticipants

func (handler *Handler) SendAllNewRandomParticipants()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL