Documentation
¶
Index ¶
- type Bot
- func (bot *Bot) EditMarkdownMessage(chatID int64, messageID int, messageText string) error
- func (bot *Bot) GetUpdatesChan() tgbotapi.UpdatesChannel
- func (bot *Bot) SendCallbackResponse(update tgbotapi.Update) error
- func (bot *Bot) SendMarkdownMessage(chatID int64, messageText string) error
- func (bot *Bot) SendMarkdownMessageWithKeyboard(chatID int64, messageText string, keyboard tgbotapi.InlineKeyboardMarkup) error
- func (bot *Bot) SendMessage(chatID int64, messageText string) error
- func (bot *Bot) SendMessageWithReturningID(chatID int64, messageText string) (int, error)
- func (bot *Bot) StopReceivingUpdates()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) EditMarkdownMessage ¶
func (*Bot) GetUpdatesChan ¶
func (bot *Bot) GetUpdatesChan() tgbotapi.UpdatesChannel
func (*Bot) SendCallbackResponse ¶
func (*Bot) SendMarkdownMessage ¶
func (*Bot) SendMarkdownMessageWithKeyboard ¶
func (*Bot) SendMessageWithReturningID ¶
func (*Bot) StopReceivingUpdates ¶
func (bot *Bot) StopReceivingUpdates()
Click to show internal directories.
Click to hide internal directories.