Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
func (*Bot) SetDefaultHandler ¶
func (b *Bot) SetDefaultHandler(handler HandlerFunc)
func (*Bot) SetHandler ¶
func (b *Bot) SetHandler(command string, handler HandlerFunc)
func (*Bot) SetHandlerWithHelp ¶
func (b *Bot) SetHandlerWithHelp(command string, description string, handler HandlerFunc)
type HandlerFunc ¶
type HandlerFunc func(*Update)
Click to show internal directories.
Click to hide internal directories.