MadelineProtoDocs/docs/API_docs/constructors/updateBotInlineQuery.md
2024-05-01 14:53:46 +02:00

1.2 KiB

title description nav_exclude image
updateBotInlineQuery An incoming inline query true 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 long Yes User that sent the query
query string Yes Text of query
geo GeoPoint Optional Attached geolocation
peer_type InlineQueryPeerType Optional Type of the chat from which the inline query was sent.
offset string Yes Offset to navigate through results

Type: Update

Example:

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