Fix InlineKeyboardButton type
This commit is contained in:
parent
3763be308e
commit
71e0c25410
1 changed files with 5 additions and 5 deletions
4
types.go
4
types.go
|
@ -359,8 +359,8 @@ type InlineKeyboardButton struct {
|
|||
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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue