Attachment Input: Feed Poll
- XML
- XML では、アンケートの選択肢はそれぞれ <choice> 要素にラップされ、attachmentType は <attachment> 要素の属性です。次に例を示します。
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} - プロパティ
-
名前 型 説明 使用可能なバージョン attachmentType String 添付ファイルの種別。値 Poll を含める必要があります。 27.0 ~ 31.0 pollChoices String[] フィードアンケートに使用される選択肢のリスト。 26.0 ~ 31.0