Raw.UpdateBotInlineSend

Raw.UpdateBotInlineSend

The result of an inline query that was chosen by a user and sent to their chat partner. please see our documentation on the feedback collecting for details on how to enable these updates for your bot.

updateBotInlineSend#12f12a07 flags:# user_id:long query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;
export namespace Raw {
  export class UpdateBotInlineSend {
    constructor(params: {
      userId: bigint;
      query: string;
      geo?: Raw.TypeGeoPoint;
      id: string;
      msgId?: Raw.TypeInputBotInlineMessageID;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x12f12a07

Property

  • userId : bigint

    The user that chose the result

  • query : string

    The query that was used to obtain the result

  • geo : Raw.TypeGeoPoint or undefined

    Optional. sender location, only for bots that require user location

  • id : string

    The unique identifier for the result that was chosen

  • msgId : Raw.TypeInputBotInlineMessageID or undefined

    Identifier of the sent inline message. available only if there is an inline keyboard attached to the message. will be also received in callback queries and can be used to edit the message.