Subclass of ConnectApi.FeedItemAttachment Class
This object is returned as the attachment of ConnectApi.FeedItem objects where the type property is PollPost.
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 |