telegram api constructor · layer 229 · #b9cfc48d

updateBotCallbackQuery

A callback button was pressed, and the button data was sent to the bot that created the button

definition

updateBotCallbackQuery#b9cfc48d flags:# query_id:long user_id:long peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

parameters

nametypedescription
flags#Flags, see TL conditional fields
query_idlongQuery ID
user_idlongID of the user that pressed the button
peerPeerChat where the inline keyboard was sent
msg_idintMessage ID
chat_instancelongGlobal identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
dataflags.0?bytesCallback data
game_short_nameflags.1?stringShort name of a Game to be returned, serves as the unique identifier for the game

type

Update · 164 other constructors

history

present in layers 62–229 · constructor id changed 1×

idlayers
#e73547e162–132
#b9cfc48d133–229