Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedChats ¶
func AllowedChats(ids []int64) tb.MiddlewareFunc
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
type InlineKeyboardButton ¶
type InlineKeyboardMarkup ¶
type InlineKeyboardMarkup struct {
InlineKeyboard [][]InlineKeyboardButton `json:"inline_keyboard"`
}
type SendMessageRequest ¶
type SendMessageRequest struct {
ChatID int64 `json:"chat_id"`
Text string `json:"text"`
ReplyMarkup InlineKeyboardMarkup `json:"reply_markup,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.