Documentation
¶
Index ¶
- Variables
- func Batch(bot *gotgbot.Bot, ctx *ext.Context) error
- func CbCommand(bot *gotgbot.Bot, ctx *ext.Context) error
- func CommandHandler(bot *gotgbot.Bot, ctx *ext.Context) error
- func GenLink(bot *gotgbot.Bot, ctx *ext.Context) error
- func ID(bot *gotgbot.Bot, ctx *ext.Context) error
- func Start(bot *gotgbot.Bot, ctx *ext.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Dispatcher *ext.Dispatcher = ext.NewDispatcher(&ext.DispatcherOpts{ Error: func(b *gotgbot.Bot, ctx *ext.Context, err error) ext.DispatcherAction { fmt.Println("an error occurred while handling update:", err.Error()) return ext.DispatcherActionNoop }, MaxRoutines: ext.DefaultMaxRoutines, })
Functions ¶
func CommandHandler ¶
CommandHandler any unhandled commands
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.