MadelineProtoDocs/old_docs/API_docs_v41/constructors/updateBotInlineQuery.md
2020-06-16 17:50:25 +02:00

1.1 KiB

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

Constructor: updateBotInlineQuery

Back to constructors index

An incoming inline query

Attributes:

Name Type Required Description
query_id long Yes Query ID
user_id int Yes User that sent the query
query string Yes Text of query
geo GeoPoint Optional Attached geolocation
offset string Yes Offset to navigate through results

Type: Update

Example:

$updateBotInlineQuery = ['_' => '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'}