View Source ExTDLib.Object.Poll (ExTDLib v0.0.4)
Describes a poll.
| Name | Type | Description |
|---|---|---|
| id | string | Unique poll identifier. |
| question | string | Poll question; 1-300 characters. |
| options | pollOption | List of poll answer options. |
| total_voter_count | number | Total number of voters, participating in the poll. |
| recent_voter_ids | MessageSender | Identifiers of recent voters, if the poll is non-anonymous. |
| is_anonymous | bool | True, if the poll is anonymous. |
| type | PollType | Type of the poll. |
| open_period | number | Amount of time the poll will be active after creation, in seconds. |
| close_date | number | Point in time (Unix timestamp) when the poll will automatically be closed. |
| is_closed | bool | True, if the poll is closed. |
More details on telegram's documentation.