StaticGramBot API

PollAnswer

This object represents an answer of a user in a non-anonymous poll.

Поля

poll_idString
Unique poll identifier
The chat that changed the answer to the poll, if the voter is anonymous
userUseroptional
The user that changed the answer to the poll, if the voter isn't anonymous
option_idsArray of Integer
0-based identifiers of chosen answer options. May be empty if the vote was retracted.
option_persistent_idsArray of String
Persistent identifiers of the chosen answer options. May be empty if the vote was retracted.

Минимальный JSON

JSON
{
  "poll_id": "...",
  "option_ids": [],
  "option_persistent_ids": []
}

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

Типы

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