UpdateBotCallbackQuery#
- class pyrogram.raw.types.UpdateBotCallbackQuery#
A callback button was pressed, and the button data was sent to the bot that created the button.
Constructor of
Update
.- Details:
Layer:
158
ID:
B9CFC48D
- Parameters:
query_id (
int
64-bit
) – Query ID.user_id (
int
64-bit
) – ID of the user that pressed the button.peer (
Peer
) – Chat where the inline keyboard was sent.msg_id (
int
32-bit
) – Message ID.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.data (
bytes
, optional) – Callback data.game_short_name (
str
, optional) – Short name of a Game to be returned, serves as the unique identifier for the game.