Documentation ¶
Index ¶
Constants ¶
View Source
const ( Initial = iota GroupSelect SubjectSelect QueueSelect QueueAction AdminMode )
Variables ¶
View Source
var NeedMoreInfo = `` /* 351-byte string literal not displayed */
View Source
var NoQueues = `Очереди не найдены.`
View Source
var NoSubjects = `Не найдено ни одного предмета, относящегося к этой группе.`
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { User *model.User Db db.QueueDB Group *db.Group Subject []db.Subject Queue []db.Queue CurQueue db.Queue State BotState IsActive bool LastConn time.Time }
func (*Client) CheckTimeout ¶
func (*Client) HandleCommand ¶
func (c *Client) HandleCommand(msg tgbotapi.MessageConfig) (tgbotapi.MessageConfig, error)
func (*Client) HandleState ¶
func (c *Client) HandleState(msg tgbotapi.MessageConfig) (tgbotapi.MessageConfig, error)
Click to show internal directories.
Click to hide internal directories.