Raw.messages.BotResults

Raw.messages.BotResults

Result of a query to an inline bot

messages.botResults#e021f2f6 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM switch_webview:flags.3?InlineBotWebView results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;
export namespace Raw {
  export namespace messages {
    export class BotResults {
      constructor(params: {
        gallery?: boolean;
        queryId: bigint;
        nextOffset?: string;
        switchPm?: Raw.TypeInlineBotSwitchPM;
        switchWebview?: Raw.TypeInlineBotWebView;
        results: Array<Raw.TypeBotInlineResult>;
        cacheTime: number;
        users: Array<Raw.TypeUser>;
      }) {}
    }
  }
}
🚫

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

Layer: 185
Constructor ID: 0xe021f2f6

Property