Raw.UpdateBotCallbackQuery
A callback button was pressed, and the button data was sent to the bot that created the button
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;export namespace Raw {
export class UpdateBotCallbackQuery {
constructor(params: {
queryId: bigint;
userId: bigint;
peer: Raw.TypePeer;
msgId: number;
chatInstance: bigint;
data?: Buffer;
gameShortName?: string;
}) {}
}
}🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 201
Constructor ID: 0xb9cfc48d
Property
queryId: bigintQuery id
userId: bigintId of the user that pressed the button
peer: Raw.TypePeerChat where the inline keyboard was sent
msgId: numberMessage id
chatInstance: bigintGlobal identifier, uniquely corresponding to the chat to which the message with the callback button was sent. useful for high scores in games.
data: Buffer or undefinedCallback data
gameShortName: string or undefinedShort name of a game to be returned, serves as the unique identifier for the game