all repos — telegram-bot-api @ 97a13fdf0f1ac653bbea47afa6658c0922ea3c56

Golang bindings for the Telegram Bot API

Complete definition of InlineQueryResultGIF to comply with Bot API
Yauhen Lazurkin yauhen.lazurkin@deposit-solutions.com
Thu, 24 Jan 2019 09:45:45 +0100
commit

97a13fdf0f1ac653bbea47afa6658c0922ea3c56

parent

74b2a532930711f82a5ceb2d1d92adeeb4992131

1 files changed, 6 insertions(+), 6 deletions(-)

jump to
M types.gotypes.go

@@ -601,15 +601,15 @@ }

// InlineQueryResultGIF is an inline query response GIF. type InlineQueryResultGIF struct { - Type string `json:"type"` // required - ID string `json:"id"` // required - URL string `json:"gif_url"` // required + Type string `json:"type"` // required + ID string `json:"id"` // required + URL string `json:"gif_url"` // required + ThumbURL string `json:"thumb_url"` // required Width int `json:"gif_width,omitempty"` Height int `json:"gif_height,omitempty"` Duration int `json:"gif_duration,omitempty"` - ThumbURL string `json:"thumb_url"` - Title string `json:"title"` - Caption string `json:"caption"` + Title string `json:"title,omitempty"` + Caption string `json:"caption,omitempty"` ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` InputMessageContent interface{} `json:"input_message_content,omitempty"` }