UpdateBotInlineQuery
- class pyrogram.raw.types.UpdateBotInlineQuery
An incoming inline query
Constructor of
Update.- Details:
Layer:
223ID:
496F379C
- Parameters:
query_id (
int64-bit) – Query IDuser_id (
int64-bit) – User that sent the queryquery (
str) – Text of queryoffset (
str) – Offset to navigate through resultsgeo (
GeoPoint, optional) – Attached geolocationpeer_type (
InlineQueryPeerType, optional) – Type of the chat from which the inline query was sent.
TL Schema
updateBotInlineQuery#496f379c
flags:#
query_id:long
user_id:long
query:string
geo:flags.0?GeoPoint
peer_type:flags.1?InlineQueryPeerType
offset:string
= Update
Parameter Tree
UpdateBotInlineQuery
├── query_id →
long├── user_id →
long├── query →
string├── geo →
GeoPoint (optional)│ ├──
GeoPointEmpty│ └──
GeoPoint│ ├── long →
double│ ├── lat →
double│ ├── access_hash →
long│ └── accuracy_radius →
int (optional)├── peer_type →
InlineQueryPeerType (optional)│ ├──
InlineQueryPeerTypePM│ ├──
InlineQueryPeerTypeChat│ └──
InlineQueryPeerTypeBotPM└── offset →
stringExample
UpdateBotInlineQuery(
query_id=0,
user_id=0,
query="text",
offset="text",
)