ChosenInlineResult
Represents a result of an inline query that was chosen by the user and sent to their chat partner.
Поля
result_idString
The unique identifier for the result that was chosen
Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.
queryString
The query that was used to obtain the result
Минимальный JSON
JSON
{
"result_id": "...",
"from": {
"id": 1780243423,
"is_bot": true,
"first_name": "..."
},
"query": "..."
}Note: It is necessary to enable inline feedback via @BotFather in order to receive these objects in updates.
Где используется
Типы