Link Search Menu Expand Document

Constructor: updateBotInlineQuery

Back to constructors index

An incoming inline query

Attributes:

NameTypeRequiredDescription
query_idlongYesQuery ID
user_idlongYesUser that sent the query
querystringYesText of query
geoGeoPointOptionalAttached geolocation
peer_typeInlineQueryPeerTypeOptionalType of the chat from which the inline query was sent.
offsetstringYesOffset to navigate through results

Type: Update

Example:

$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => long, 'query' => 'string', 'geo' => GeoPoint, 'peer_type' => InlineQueryPeerType, 'offset' => 'string'];