MadelineProto/docs/TD_docs/constructors/updateNewInlineQuery.md

1.1 KiB

title description
updateNewInlineQuery Bots only. New incoming inline query

Constructor: updateNewInlineQuery

Back to constructors index

Bots only. New incoming inline query

Attributes:

Name Type Required Description
id long Yes Unique query identifier
sender_user_id int Yes Identifier of the user who sent the query
user_location location Yes User location, provided by the client, nullable
query string Yes Text of the query
offset string Yes Offset of the first entry to return

Type: Update

Example:

$updateNewInlineQuery = ['_' => 'updateNewInlineQuery', 'id' => long, 'sender_user_id' => int, 'user_location' => location, 'query' => string, 'offset' => string, ];

Or, if you're into Lua:

updateNewInlineQuery={_='updateNewInlineQuery', id=long, sender_user_id=int, user_location=location, query=string, offset=string, }