Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgsCommand ¶
type ArgsCommand struct { Response func(b ext.Bot, u *gotgbot.Update, args []string) error // contains filtered or unexported fields }
func NewArgsCommand ¶
func NewPrefixArgsCommand ¶
func (ArgsCommand) HandleUpdate ¶
func (h ArgsCommand) HandleUpdate(u *gotgbot.Update, d gotgbot.Dispatcher) error
type CallBack ¶
type CallBack struct { AllowEdited bool AllowChannel bool Pattern string Response func(b ext.Bot, u *gotgbot.Update) error // contains filtered or unexported fields }
func NewCallback ¶
func (CallBack) HandleUpdate ¶
type Command ¶
type Command struct { Response func(b ext.Bot, u *gotgbot.Update) error // contains filtered or unexported fields }
func NewCommand ¶
func NewPrefixCommand ¶
func (Command) HandleUpdate ¶
type FilterFunc ¶
type InlineQuery ¶
type InlineQuery struct { Match string Response func(b ext.Bot, u *gotgbot.Update) error // contains filtered or unexported fields }
func NewInlineQuery ¶
func (InlineQuery) CheckUpdate ¶
func (h InlineQuery) CheckUpdate(u *gotgbot.Update) (bool, error)
func (InlineQuery) HandleUpdate ¶
func (h InlineQuery) HandleUpdate(u *gotgbot.Update, d gotgbot.Dispatcher) error
type Message ¶
type Message struct { AllowEdited bool AllowChannel bool Filter FilterFunc Response func(b ext.Bot, u *gotgbot.Update) error // contains filtered or unexported fields }
func NewMessage ¶
func (Message) HandleUpdate ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.