MadelineProtoDocs/docs/API_docs/constructors/updateBotInlineQuery.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
updateBotInlineQuery Update bot inline query https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotInlineQuery

Back to constructors index

Update bot inline query

Attributes:

Name Type Required Description
query_id long Yes Query ID
user_id int Yes User ID
query string Yes Query
geo GeoPoint Optional Geo
offset string Yes Offset

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