1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:59:38 +01:00
MadelineProto/old_docs/API_docs_v65/constructors/updateBotInlineQuery.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

1.1 KiB

title description
updateBotInlineQuery updateBotInlineQuery attributes, type and example

Constructor: updateBotInlineQuery

Back to constructors index

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'}