StaticGramBot API

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
The user that chose the result
Sender location, only for bots that require user location
inline_message_idStringoptional
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.

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top