ConnectApi.​PollCapability Class

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

Subclass of ConnectApi.​FeedElement​Capability Class.

Property Name Type Description Available Version
choices List<ConnectApi.​FeedPollChoice> Collection of poll choices that make up the poll. 32.0
myChoiceId String 18-character ID of the poll choice that the current user has voted for in this poll. Returns null if the current user has not voted. 32.0
totalVoteCount Integer Total number of votes cast on the feed poll element. 32.0
Previous
Next