From 6d61ed4977560a0ad46f5f7db45118745c1b744a Mon Sep 17 00:00:00 2001 From: Kataklysm Date: Tue, 25 Jul 2017 21:01:48 +0300 Subject: [PATCH] fix InlineKeyboardButton struct --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index 7ccd6ff..95231e4 100644 --- a/types.go +++ b/types.go @@ -385,7 +385,7 @@ type InlineKeyboardButton struct { SwitchInlineQuery *string `json:"switch_inline_query,omitempty"` // optional SwitchInlineQueryCurrentChat *string `json:"switch_inline_query_current_chat,omitempty"` // optional CallbackGame *CallbackGame `json:"callback_game,omitempty"` // optional - Pay bool `json:"pay"` + Pay bool `json:"pay,omitempty"` // optional } // CallbackQuery is data sent when a keyboard button with callback data