Documentation ¶
Index ¶
- Variables
- func AcknowledgeCallbackQuery(callbackQuery *tgbotapi.CallbackQuery) error
- func ClearKeyboardMarkup(message *tgbotapi.Message) error
- func GetFileDirectURL(message *tgbotapi.Message) (string, error)
- func SendFile(chatID int64, file interface{}) error
- func SendMessage(message Message) error
- type Message
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdatesChannel tgbotapi.UpdatesChannel
Functions ¶
func AcknowledgeCallbackQuery ¶
func AcknowledgeCallbackQuery(callbackQuery *tgbotapi.CallbackQuery) error
AcknowledgeCallbackQuery sends back a (empty) callback ACK for the given query
func ClearKeyboardMarkup ¶
ClearKeyboardMarkup assigns an empty keyboard markup to the given message
func GetFileDirectURL ¶
GetFileDirectURL wraps Bot API direct file download for size checking Note that tgbotapi fails if the maximum protocol size is exceeded
func SendMessage ¶
SendMessage wraps Bot API message sending for less boilerplate
Types ¶
Click to show internal directories.
Click to hide internal directories.