Constructor: updateBusinessBotCallbackQuery
A callback button sent via a business connection was pressed, and the button data was sent to the bot that created the button.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
query_id | long | Yes | Query ID |
user_id | long | Yes | ID of the user that pressed the button |
connection_id | string | Yes | Business connection ID |
message | Message | Optional | Message that contains the keyboard (also contains info about the chat where the message was sent). |
reply_to_message | Message | Optional | The message that message is replying to. |
chat_instance | long | 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 | bytes | Optional | Callback data |
Type: Update
Example:
$updateBusinessBotCallbackQuery = ['_' => 'updateBusinessBotCallbackQuery', 'query_id' => long, 'user_id' => long, 'connection_id' => 'string', 'message' => Message, 'reply_to_message' => Message, 'chat_instance' => long, 'data' => 'bytes'];