ConnectApi.PollCapability

If a feed element has this capability, it includes a poll.

Subclass of ConnectApi.FeedElementCapability.

Property NameTypeDescriptionAvailable Version
choicesList<ConnectApi.​FeedPollChoice>Collection of poll choices that make up the poll.32.0
myChoiceIdString18-character ID of the poll choice that the context user has voted for in this poll. Returns null if the context user has not voted.32.0
totalVoteCountIntegerTotal number of votes cast on the feed poll element.32.0

See Also