UpdateBusinessBotCallbackQuery#
- class pyrogram.raw.types.UpdateBusinessBotCallbackQuery#
A callback button sent via a business connection was pressed, and the button data was sent to the bot that created the button.
Constructor of
Update
.- Details:
Layer:
198
ID:
1EA2FDA7
- Parameters:
query_id (
int
64-bit
) – Query IDuser_id (
int
64-bit
) – ID of the user that pressed the buttonconnection_id (
str
) – Business connection IDmessage (
Message
) – Message that contains the keyboard (also contains info about the chat where the message was sent).chat_instance (
int
64-bit
) – Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.reply_to_message (
Message
, optional) – The message that message is replying to.data (
bytes
, optional) – Callback data