all repos — telegram-bot-api @ 6d61ed4977560a0ad46f5f7db45118745c1b744a

Golang bindings for the Telegram Bot API

fix InlineKeyboardButton struct
Kataklysm malmyzh@gmail.com
Tue, 25 Jul 2017 21:01:48 +0300
commit

6d61ed4977560a0ad46f5f7db45118745c1b744a

parent

3d983182a388146c7e9e3b0f0486a560f810dc3d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M types.gotypes.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