From f8145e3a68e7bf0bc5ddb308709ddbb839606422 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 11 Jan 2018 22:41:45 +0100 Subject: [PATCH] reply_markup is optional for InlineQueryResultGame --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index bef68b8..4a58287 100644 --- a/types.go +++ b/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