mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 13:26:55 +01:00
1.5 KiB
1.5 KiB
title | description |
---|---|
updateNewChosenInlineResult | Bots only. User has chosen a result of the inline query |
Constructor: updateNewChosenInlineResult
Bots only. User has chosen a result of the inline query
Attributes:
Name | Type | Required | Description |
---|---|---|---|
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 |
result_id | string | Yes | Identifier of the chosen result |
inline_message_id | string | Yes | Identifier of the sent inline message, if known |
Type: Update
Example:
$updateNewChosenInlineResult = ['_' => 'updateNewChosenInlineResult', 'sender_user_id' => int, 'user_location' => location, 'query' => 'string', 'result_id' => 'string', 'inline_message_id' => 'string'];
PWRTelegram json-encoded version:
{"_": "updateNewChosenInlineResult", "sender_user_id": int, "user_location": location, "query": "string", "result_id": "string", "inline_message_id": "string"}
Or, if you're into Lua:
updateNewChosenInlineResult={_='updateNewChosenInlineResult', sender_user_id=int, user_location=location, query='string', result_id='string', inline_message_id='string'}