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.
| Name | Type | Description | Available Version |
|---|---|---|---|
choices | List<ConnectApi.FeedPollChoice> | List of choices for poll. | 28.0–31.0 |
myChoiceId | String | ID 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 |
totalVoteCount | Integer | Total number of votes cast on the feed poll item. | 28.0–31.0 |