mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
updateBotInlineQuery | An incoming inline query | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateBotInlineQuery
An incoming inline query
Attributes:
Name | Type | Required | Description |
---|---|---|---|
query_id | long | Yes | Query ID |
user_id | long | Yes | User that sent the query |
query | string | Yes | Text of query |
geo | GeoPoint | Optional | Attached geolocation |
peer_type | InlineQueryPeerType | Optional | Type of the chat from which the inline query was sent. |
offset | string | Yes | Offset to navigate through results |
Type: Update
Example:
$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => long, 'query' => 'string', 'geo' => GeoPoint, 'peer_type' => InlineQueryPeerType, 'offset' => 'string'];