StaticGramBot API

PollOption

This object contains information about one answer option in a poll.

Поля

Unique identifier of the option, persistent on option addition and deletion
textString
Option text, 1-100 characters
Special entities that appear in the option text. Currently, only custom emoji entities are allowed in poll option texts
Media added to the poll option
Number of users who voted for this option; may be 0 if unknown
User who added the option; omitted if the option wasn't added by a user after poll creation
Chat that added the option; omitted if the option wasn't added by a chat after poll creation
addition_dateIntegeroptional
Point in time (Unix timestamp) when the option was added; omitted if the option existed in the original poll

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

JSON
{
  "persistent_id": "...",
  "text": "...",
  "voter_count": 1
}

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

Типы

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