Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.PollAttachmentInput

Attach a poll to a feed item.

This class isn’t available in version 32.0 and later. In version 32.0 and later, use ConnectApi.PollCapabilityInput.

Important

Subclass of ConnectApi.FeedItemAttachmentInput.

Property Type Description Available Version
pollChoices List<String> The text labels for the poll items. Polls must contain between 2 to 10 poll choices. 28.0–31.0