mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 04:07:20 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
updateNewInlineQuery | Bots only. New incoming inline query |
Constructor: updateNewInlineQuery
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, }