Raw.UpdateInlineBotCallbackQuery

Raw.UpdateInlineBotCallbackQuery

This notification is received by bots when a button is pressed

updateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;
export namespace Raw {
  export class UpdateInlineBotCallbackQuery {
    constructor(params: {
      queryId: bigint;
      userId: bigint;
      msgId: Raw.TypeInputBotInlineMessageID;
      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: 0x691e9052

Property

  • queryId : bigint

    Query id

  • userId : bigint

    Id of the user that pressed the button

  • msgId : Raw.TypeInputBotInlineMessageID

    Id of the inline message with the button

  • 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

    Data associated with the callback button. be aware that a bad client can send arbitrary data in this field.

  • gameShortName : string or undefined

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