updateBusinessBotCallbackQuery
A callback button sent via a business connection was pressed, and the button data was sent to the bot that created the button.
type tg.UpdateBusinessBotCallbackQuery struct { /* ... */ }
Implements Update.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
QueryID | int64 | yes | Query ID |
UserID | int64 | yes | ID of the user that pressed the button |
ConnectionID | string | yes | Business connection ID |
Message | MessageClass | yes | Message that contains the keyboard (also contains info about the chat where the message was sent). |
ReplyToMessage | MessageClass | — | The message that message is replying to. |
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 |
References
- Official documentation
- Generated Go reference
- TL definition:
updateBusinessBotCallbackQuery#1ea2fda7