ConnectApi.PollAttachmentInput Class

Important

Important

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

Used to attach a poll to a feed item.

Subclass of ConnectApi.​Feed​Item​Attachment​​Input Class

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