all repos — telegram-bot-api @ f8145e3a68e7bf0bc5ddb308709ddbb839606422

Golang bindings for the Telegram Bot API

reply_markup is optional for InlineQueryResultGame
Robert Vollmert rob@vllmrt.net
Thu, 11 Jan 2018 22:41:45 +0100
commit

f8145e3a68e7bf0bc5ddb308709ddbb839606422

parent

6f2d0224760e2b07def17a175ee56e834a4415b2

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

jump to
M types.gotypes.go

@@ -657,7 +657,7 @@ type InlineQueryResultGame struct {

Type string `json:"type"` ID string `json:"id"` GameShortName string `json:"game_short_name"` - ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup"` + ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"` } // ChosenInlineResult is an inline query result chosen by a User