Newer Version Available

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

Attachment Input: Feed Poll

XML
Note that in XML, the choices for the poll are each wrapped in a <choice> element and attachmentType is an attribute of the <attachment> element. For example:
1<attachment attachmentType="Poll">
2   <pollChoices>
3      <choice>One</choice>
4      <choice>Two</choice>
5   </pollChoices>
6</attachment>
JSON
1{ "attachment": 
2   {
3      "attachmentType":"Poll",
4      "pollChoices": [
5         "Monday", 
6         "Tuesday"
7      ]
8   }
9}
Properties
Name Type Description Available Version
attachmentType String The attachment type. Must contain the value Poll. 27.0
pollChoices String [] A list of choices used in the feed poll. 26.0