1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 14:47:26 +01:00
MadelineProto/docs/TD_docs/constructors/updateNewChosenInlineResult.md

1.3 KiB

title description
updateNewChosenInlineResult Bots only. User has chosen a result of the inline query

Constructor: updateNewChosenInlineResult

Back to constructors index

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, ];

Or, if you're into Lua:

updateNewChosenInlineResult={_='updateNewChosenInlineResult', sender_user_id=int, user_location=location, query=string, result_id=string, inline_message_id=string, }