Documentation ¶
Index ¶
- type ErrUpd
- type IEventHandler
- func (_m *IEventHandler) Decorate(_a0 tgchain.IEventHandler)
- func (_m *IEventHandler) GetDescription() string
- func (_m *IEventHandler) GetName() string
- func (_m *IEventHandler) Handle(_a0 context.Context, _a1 tgbotapi.Update) error
- func (_m *IEventHandler) Next(_a0 context.Context, _a1 tgbotapi.Update) error
- type IListener
- type ITgAPI
- func (_m *ITgAPI) AnswerInlineQuery(_a0 tgbotapi.InlineConfig) (tgbotapi.APIResponse, error)
- func (_m *ITgAPI) GetChatMember(_a0 tgbotapi.ChatConfigWithUser) (tgbotapi.ChatMember, error)
- func (_m *ITgAPI) GetMe() (tgbotapi.User, error)
- func (_m *ITgAPI) GetUpdatesChan(_a0 tgbotapi.UpdateConfig) (tgbotapi.UpdatesChannel, error)
- func (_m *ITgAPI) LeaveChat(_a0 tgbotapi.ChatConfig) (tgbotapi.APIResponse, error)
- func (_m *ITgAPI) Send(_a0 tgbotapi.Chattable) (tgbotapi.Message, error)
- type WarnUpd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEventHandler ¶
IEventHandler is an autogenerated mock type for the IEventHandler type
func (*IEventHandler) Decorate ¶
func (_m *IEventHandler) Decorate(_a0 tgchain.IEventHandler)
Decorate provides a mock function with given fields: _a0
func (*IEventHandler) GetDescription ¶
func (_m *IEventHandler) GetDescription() string
GetDescription provides a mock function with given fields:
func (*IEventHandler) GetName ¶
func (_m *IEventHandler) GetName() string
GetName provides a mock function with given fields:
type IListener ¶
IListener is an autogenerated mock type for the IListener type
type ITgAPI ¶
ITgAPI is an autogenerated mock type for the ITgAPI type
func (*ITgAPI) AnswerInlineQuery ¶
func (_m *ITgAPI) AnswerInlineQuery(_a0 tgbotapi.InlineConfig) (tgbotapi.APIResponse, error)
AnswerInlineQuery provides a mock function with given fields: _a0
func (*ITgAPI) GetChatMember ¶
func (_m *ITgAPI) GetChatMember(_a0 tgbotapi.ChatConfigWithUser) (tgbotapi.ChatMember, error)
GetChatMember provides a mock function with given fields: _a0
func (*ITgAPI) GetUpdatesChan ¶
func (_m *ITgAPI) GetUpdatesChan(_a0 tgbotapi.UpdateConfig) (tgbotapi.UpdatesChannel, error)
GetUpdatesChan provides a mock function with given fields: _a0
func (*ITgAPI) LeaveChat ¶
func (_m *ITgAPI) LeaveChat(_a0 tgbotapi.ChatConfig) (tgbotapi.APIResponse, error)
LeaveChat provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.