Merge pull request #114 from Kataklysm/master fix InlineKeyboardButton struct
Syfaro syfaro@foxpaw.in
Tue, 25 Jul 2017 15:12:33 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
types.go
→
types.go
@@ -385,7 +385,7 @@ CallbackData *string `json:"callback_data,omitempty"` // optional
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