add ability to respond to inline queries with stickers
This commit is contained in:
parent
b33efeebc7
commit
87891c10fe
2 changed files with 22 additions and 1 deletions
11
types.go
11
types.go
|
@ -736,6 +736,17 @@ type InlineQueryResultCachedVideo struct {
|
|||
InputMessageContent interface{} `json:"input_message_content,omitempty"`
|
||||
}
|
||||
|
||||
// InlineQueryResultCachedSticker is an inline query response with cached sticker.
|
||||
type InlineQueryResultCachedSticker struct {
|
||||
Type string `json:"type"` // required
|
||||
ID string `json:"id"` // required
|
||||
StickerID string `json:"sticker_file_id"` // required
|
||||
Title string `json:"title"` // required
|
||||
ParseMode string `json:"parse_mode"`
|
||||
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
|
||||
InputMessageContent interface{} `json:"input_message_content,omitempty"`
|
||||
}
|
||||
|
||||
// InlineQueryResultAudio is an inline query response audio.
|
||||
type InlineQueryResultAudio struct {
|
||||
Type string `json:"type"` // required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue