MadelineProtoDocs/old_docs/API_docs_v57/constructors/updateBotInlineQuery.md
2018-04-01 13:24:46 +02: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'}