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.

Subclass of ConnectApi.FeedItemAttachmentInput.

PropertyTypeDescriptionAvailable Version
pollChoicesList<String>The text labels for the poll items. Polls must contain between 2 to 10 poll choices.28.0–31.0