Skip to main content

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

NameTypeRequiredDescription
QueryIDint64yesQuery ID
UserIDint64yesID of the user that pressed the button
ConnectionIDstringyesBusiness connection ID
MessageMessageClassyesMessage that contains the keyboard (also contains info about the chat where the message was sent).
ReplyToMessageMessageClassThe message that message is replying to.
ChatInstanceint64yesGlobal identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
Data[]byteCallback data

References