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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.