Merge pull request #144 from robx/master

reply_markup is optional for InlineQueryResultGame
bot-api-6.1
Syfaro 2018-01-11 15:55:17 -06:00 committed by GitHub
commit af15ab1ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ type InlineQueryResultGame struct {
Type string `json:"type"` Type string `json:"type"`
ID string `json:"id"` ID string `json:"id"`
GameShortName string `json:"game_short_name"` 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 // ChosenInlineResult is an inline query result chosen by a User