No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Feed Item Input
- Root XML tag
- <feedItem>
- JSON
- The following example attaches a poll to a feed item:
1{ "attachment": 2 { 3 "attachmentType":"Poll", 4 "pollChoices": [ 5 "Monday", 6 "Tuesday" 7 ] 8 }, 9 "body" : { 10 "messageSegments" : [ 11 { 12 "type" : "Text", 13 "text" : "When should we meet for release planning?" 14 } 15 ] 16 } 17} - Properties
-
Name Type Description Available Version attachment Depends on type. Optional. You can specify only one of these values in the attachment parameter. Values are: - Attachment Input: Canvas App (v29.0)
- Attachment Input: Existing Content (v23.0)
- Attachment Input: Feed Poll (v26.0)
- Attachment Input: Link (v23.0)
- Attachment Input: New File Upload (v23.0)
body Message Body Input Description of message body. The body can contain up to 25 mentions. If you specify originalFeedItemId to share a feed item, use the body property to add a comment to the feed item.
If this feed item is shared, this value is the body of the first comment.
23.0 isBookmarkedByCurrentUser Boolean Optional. Specifies if the new feed item should be bookmarked for the user (true) or not (false). Default value is false. 24.0 originalFeedItemId String Optional. If this feed item is shared, this is the original feed item 18-character ID 24.0 visibility String Optional. Who can see the post. Valid values are: - InternalUsers—If Communities is enabled, only members of the default, internal community can see the feed item.
- AllUsers—If Communities is enabled, all members of the community can see the feed item.
Default values:- For external users, the default value is AllUsers. External users must use this value to see their posts.
- For internal users, the default value is InternalUsers. Internal users can accept this value or use the value AllUsers to allow external users to see their posts.
26.0