Documentation ¶
Index ¶
- type Telebot
- func (_m *Telebot) AnswerCallback(callbackQueryID string) error
- func (_m *Telebot) AttachAudio(chatID string, filename string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) AttachFile(chatID string, filename string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) AttachPhoto(chatID string, filename string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) AttachVideo(chatID string, filename string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) DeleteMsg(chatID string, messageID int) error
- func (_m *Telebot) EditInlineMarkup(chatID string, messageID int, markup *tbot.InlineKeyboardMarkup) (int, error)
- func (_m *Telebot) EditMsg(chatID string, messageID int, text string, markup *tbot.InlineKeyboardMarkup) error
- func (_m *Telebot) ForwardAudio(chatID string, fileID string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) ForwardFile(chatID string, fileID string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) ForwardPhoto(chatID string, fileID string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) ForwardVideo(chatID string, fileID string, text string, option func(url.Values)) (int, error)
- func (_m *Telebot) GetFileInfo(fileID string) (*tbot.File, error)
- func (_m *Telebot) SendText(chatID string, text string, option func(url.Values)) (int, error)
- type Vm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telebot ¶
Telebot is an autogenerated mock type for the Telebot type
func (*Telebot) AnswerCallback ¶
AnswerCallback provides a mock function with given fields: callbackQueryID
func (*Telebot) AttachAudio ¶
func (_m *Telebot) AttachAudio(chatID string, filename string, text string, option func(url.Values)) (int, error)
AttachAudio provides a mock function with given fields: chatID, filename, text, option
func (*Telebot) AttachFile ¶
func (_m *Telebot) AttachFile(chatID string, filename string, text string, option func(url.Values)) (int, error)
AttachFile provides a mock function with given fields: chatID, filename, text, option
func (*Telebot) AttachPhoto ¶
func (_m *Telebot) AttachPhoto(chatID string, filename string, text string, option func(url.Values)) (int, error)
AttachPhoto provides a mock function with given fields: chatID, filename, text, option
func (*Telebot) AttachVideo ¶
func (_m *Telebot) AttachVideo(chatID string, filename string, text string, option func(url.Values)) (int, error)
AttachVideo provides a mock function with given fields: chatID, filename, text, option
func (*Telebot) EditInlineMarkup ¶
func (_m *Telebot) EditInlineMarkup(chatID string, messageID int, markup *tbot.InlineKeyboardMarkup) (int, error)
EditInlineMarkup provides a mock function with given fields: chatID, messageID, markup
func (*Telebot) EditMsg ¶
func (_m *Telebot) EditMsg(chatID string, messageID int, text string, markup *tbot.InlineKeyboardMarkup) error
EditMsg provides a mock function with given fields: chatID, messageID, text, markup
func (*Telebot) ForwardAudio ¶
func (_m *Telebot) ForwardAudio(chatID string, fileID string, text string, option func(url.Values)) (int, error)
ForwardAudio provides a mock function with given fields: chatID, fileID, text, option
func (*Telebot) ForwardFile ¶
func (_m *Telebot) ForwardFile(chatID string, fileID string, text string, option func(url.Values)) (int, error)
ForwardFile provides a mock function with given fields: chatID, fileID, text, option
func (*Telebot) ForwardPhoto ¶
func (_m *Telebot) ForwardPhoto(chatID string, fileID string, text string, option func(url.Values)) (int, error)
ForwardPhoto provides a mock function with given fields: chatID, fileID, text, option
func (*Telebot) ForwardVideo ¶
func (_m *Telebot) ForwardVideo(chatID string, fileID string, text string, option func(url.Values)) (int, error)
ForwardVideo provides a mock function with given fields: chatID, fileID, text, option
func (*Telebot) GetFileInfo ¶
GetFileInfo provides a mock function with given fields: fileID