Airgram

Guides
/
/
Output types

PollOption

Describes one answer option of a poll.

This is an alias for the PollOptionUnion type.


NameTypeDescription
_"pollOption"
textstring Option text; 1-100 characters
voterCountnumber Number of voters for this option, available only for closed or voted polls
votePercentagenumber The percentage of votes for this option; 0-100
isChosenboolean True, if the option was chosen by the user
isBeingChosenboolean True, if the option is being chosen by a pending setPollAnswer request