Raw.messages.GetInlineBotResults
Query an inline bot
messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;
export namespace Raw {
export namespace messages {
export class GetInlineBotResults {
constructor(params: {
bot: Raw.TypeInputUser;
peer: Raw.TypeInputPeer;
geoPoint?: Raw.TypeInputGeoPoint;
query: string;
offset: string;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x514e999d
Property
bot
: Raw.TypeInputUserThe bot to query
peer
: Raw.TypeInputPeerThe currently opened chat
geoPoint
: Raw.TypeInputGeoPoint or undefinedThe geolocation, if requested
query
: stringThe query
offset
: stringThe offset within the results, will be passed directly as-is to the bot.