reply_markup is optional for InlineQueryResultGame

pull/144/head
Robert Vollmert 8 years ago
parent 6f2d022476
commit f8145e3a68
  1. 2
      types.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