View Source ExTDLib.Object.Poll (ExTDLib v0.0.4)

Describes a poll.

NameTypeDescription
idstringUnique poll identifier.
questionstringPoll question; 1-300 characters.
optionspollOptionList of poll answer options.
total_voter_countnumberTotal number of voters, participating in the poll.
recent_voter_idsMessageSenderIdentifiers of recent voters, if the poll is non-anonymous.
is_anonymousboolTrue, if the poll is anonymous.
typePollTypeType of the poll.
open_periodnumberAmount of time the poll will be active after creation, in seconds.
close_datenumberPoint in time (Unix timestamp) when the poll will automatically be closed.
is_closedboolTrue, if the poll is closed.

More details on telegram's documentation.