Newer Version Available

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

ConnectApi.PollAttachmentInput Class

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

Important

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