Raw.UpdateBotCallbackQuery

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: 185
Constructor ID: 0xb9cfc48d

Property

  • queryId : bigint

    Query id

  • userId : bigint

    Id of the user that pressed the button

  • peer : Raw.TypePeer

    Chat where the inline keyboard was sent

  • msgId : number

    Message id

  • chatInstance : bigint

    Global 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 undefined

    Callback data

  • gameShortName : string or undefined

    Short name of a game to be returned, serves as the unique identifier for the game