Airgram

Guides
/
/
Output types

Poll

Describes a poll.

This is an alias for the PollUnion type.


NameTypeDescription
_"poll"
idstring Unique poll identifier
questionstring Poll question; 1-300 characters
options List of poll answer options
totalVoterCountnumber Total number of voters, participating in the poll
recentVoterUserIdsnumber[] User identifiers of recent voters, if the poll is non-anonymous
isAnonymousboolean True, if the poll is anonymous
type Type of the poll
openPeriodnumber Amount of time the poll will be active after creation, in seconds
closeDatenumber Point in time (Unix timestamp) when the poll will automatically be closed
isClosedboolean True, if the poll is closed