MadelineProto/docs/API_docs/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'}