ConnectApi.FeedPoll

Attachment of ConnectApi.FeedItem objects where the type property is PollPost.

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.PollCapability is used.

Subclass of ConnectApi.FeedItemAttachment.

NameTypeDescriptionAvailable Version
choicesList<ConnectApi.FeedPollChoice>List of choices for poll.28.0–31.0
myChoiceIdStringID of the poll choice that the context user has voted for in this poll. Returns null if the context user hasn’t voted.28.0–31.0
totalVoteCountIntegerTotal number of votes cast on the feed poll item.28.0–31.0