updateInlineBotCallbackQuery
This notification is received by bots when a button is pressed
type tg.UpdateInlineBotCallbackQuery struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
QueryID | int64 | yes | Query ID |
UserID | int64 | yes | ID of the user that pressed the button |
MsgID | InputBotInlineMessageIDClass | yes | ID of the inline message with the button |
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 | — | Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field. |
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:
updateInlineBotCallbackQuery#691e9052