updateBotCallbackQuery
A callback button was pressed, and the button data was sent to the bot that created the button
type tg.UpdateBotCallbackQuery struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
QueryID | int64 | yes | Query ID |
UserID | int64 | yes | ID of the user that pressed the button |
Peer | PeerClass | yes | Chat where the inline keyboard was sent |
MsgID | int | yes | Message ID |
ChatInstance | int64 | yes | Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games. |
Data | []byte | — | Callback data |
GameShortName | string | — | Short name of a Game to be returned, serves as the unique identifier for the game |
References
- Official documentation
- Generated Go reference
- TL definition:
updateBotCallbackQuery#b9cfc48d