Newer Version Available
ConnectApi.PollCapabilityInput
This class is a subclass of ConnectApi.FeedElementCapabilityInput Class.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| choices | List<String> | The choices used to create a new poll. You must specify 2–10 poll choices for each poll. | Required for creating a poll | 32.0 |
| myChoiceId | String | ID of an existing choice on the feed poll. Used to vote on an existing poll. | Required for voting on a poll | 32.0 |