From a86ad9cf86f86d2b09fe9b90c7cdf31451eb3e1f Mon Sep 17 00:00:00 2001 From: Hamed Ghasemzadeh Date: Fri, 2 Dec 2016 17:46:29 +0330 Subject: [PATCH] thumb is added to posts --- types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types.go b/types.go index b43f4a0..cadb94e 100644 --- a/types.go +++ b/types.go @@ -348,9 +348,9 @@ type InlineKeyboardButton struct { Text string `json:"text"` URL *string `json:"url,omitempty"` // optional CallbackData *string `json:"callback_data,omitempty"` // optional - SwitchInlineQuery *string `json:"switch_inline_query,omitempty"` // optional - SwitchInlineQueryCurrentChat *string `json:"switch_inline_query_current_chat"` // optional - CallbackGame *CallbackGame `json:"callback_game"` // optional + SwitchInlineQuery *string `json:"switch_inline_query,omitempty,omitempty"` // optional + SwitchInlineQueryCurrentChat *string `json:"switch_inline_query_current_chat,omitempty"` // optional + CallbackGame *CallbackGame `json:"callback_game,omitempty"` // optional } // CallbackQuery is data sent when a keyboard button with callback data