Complete definition of InlineQueryResultGIF to comply with Bot API
parent
74b2a53293
commit
97a13fdf0f
12
types.go
12
types.go
|
@ -601,15 +601,15 @@ type InlineQueryResultCachedPhoto struct {
|
||||||
|
|
||||||
// InlineQueryResultGIF is an inline query response GIF.
|
// InlineQueryResultGIF is an inline query response GIF.
|
||||||
type InlineQueryResultGIF struct {
|
type InlineQueryResultGIF struct {
|
||||||
Type string `json:"type"` // required
|
Type string `json:"type"` // required
|
||||||
ID string `json:"id"` // required
|
ID string `json:"id"` // required
|
||||||
URL string `json:"gif_url"` // required
|
URL string `json:"gif_url"` // required
|
||||||
|
ThumbURL string `json:"thumb_url"` // required
|
||||||
Width int `json:"gif_width,omitempty"`
|
Width int `json:"gif_width,omitempty"`
|
||||||
Height int `json:"gif_height,omitempty"`
|
Height int `json:"gif_height,omitempty"`
|
||||||
Duration int `json:"gif_duration,omitempty"`
|
Duration int `json:"gif_duration,omitempty"`
|
||||||
ThumbURL string `json:"thumb_url"`
|
Title string `json:"title,omitempty"`
|
||||||
Title string `json:"title"`
|
Caption string `json:"caption,omitempty"`
|
||||||
Caption string `json:"caption"`
|
|
||||||
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
|
ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`
|
||||||
InputMessageContent interface{} `json:"input_message_content,omitempty"`
|
InputMessageContent interface{} `json:"input_message_content,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue