messages.GetInlineBotResults
- class pyrogram.raw.functions.messages.GetInlineBotResults
Query an inline bot
- Details:
Layer:
223ID:
514E999D
- Parameters:
bot (
InputUser) – The bot to querypeer (
InputPeer) – The currently opened chatquery (
str) – The queryoffset (
str) – The offset within the results, will be passed directly as-is to the bot.geo_point (
InputGeoPoint, optional) – The geolocation, if requested
- Returns:
TL Schema
messages.getInlineBotResults#514e999d
flags:#
bot:InputUser
peer:InputPeer
geo_point:flags.0?InputGeoPoint
query:string
offset:string
= messages.BotResults
Parameter Tree
GetInlineBotResults
├── bot →
InputUser│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ └──
InputUserFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── user_id →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── geo_point →
InputGeoPoint (optional)│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)├── query →
string└── offset →
stringExample
await app.invoke(
GetInlineBotResults(
bot=await app.resolve_user(chat_id),
peer=await app.resolve_peer(chat_id),
geo_point=InputGeoPointEmpty(),
query="text",
offset="text",
)
)