ConnectApi.​PollCapabilityInput

Create, update, or vote on a poll on a feed element.

This class is a subclass of ConnectApi.​FeedElement​CapabilityInput 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
Previous
Next