mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 05:14:39 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
updateBotInlineQuery | updateBotInlineQuery attributes, type and example |
Constructor: updateBotInlineQuery
Attributes:
Name | Type | Required |
---|---|---|
query_id | long | Yes |
user_id | int | Yes |
query | string | Yes |
geo | GeoPoint | Optional |
offset | string | Yes |
Type: Update
Example:
$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string'];
PWRTelegram json-encoded version:
{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"}
Or, if you're into Lua:
updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'}