UpdateBotInlineQuery

class pyrogram.raw.types.UpdateBotInlineQuery

An incoming inline query

Constructor of Update.

Details:
  • Layer: 223

  • ID: 496F379C

Parameters:
  • query_id (int 64-bit) – Query ID

  • user_id (int 64-bit) – User that sent the query

  • query (str) – Text of query

  • offset (str) – Offset to navigate through results

  • geo (GeoPoint, optional) – Attached geolocation

  • peer_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_idlong
├── user_idlong
├── querystring
├── geoGeoPoint (optional)
│ ├── GeoPointEmpty
│ └── GeoPoint
│ ├── longdouble
│ ├── latdouble
│ ├── access_hashlong
│ └── accuracy_radiusint (optional)
├── peer_typeInlineQueryPeerType (optional)
│ ├── InlineQueryPeerTypePM
└── offsetstring

Example

UpdateBotInlineQuery(
    query_id=0,
    user_id=0,
    query="text",
    offset="text",
)