PollOption

PollOption

# new PollOption(optionMap)

Creates a new PollOption instance.
Parameters:
Name Type Description
optionMap Object Option parameters
Properties
Name Type Attributes Default Description
optionId string Option ID
text string <optional>
Option text
attachment MediaAttachment <optional>
Option attachment
voteCount number <optional>
0 Amount of votes for this option
isVotedByMe boolean <optional>
false True is current user voted this option