No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
ConnectApi.FeedElementCapabilitiesInput
In API versions 30.0 and earlier, every feed item supported comments, likes, topics, and so on. In versions 31.0 and later, every feed item (and feed element) can have a unique set of capabilities. If a capability property exists on a feed element, that capability is available, even if the capability property doesn’t have a value. For example, if the ChatterLikes capability property exists on a feed element (with or without a value), the context user can like that feed element. If the capability property doesn’t exist, it isn’t possible to like that feed element. A capability can also contain associated data. For example, the Moderation capability contains data about moderation flags.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| bookmarks | ConnectApi.BookmarksCapabilityInput | Describes bookmarks added to this feed element. | Optional | 32.0 |
| canvas | ConnectApi.CanvasCapabilityInput | Describes a canvas app added to this feed element. | Optional | 32.0 |
| content | ConnectApi.ContentCapabilityInput | Describes content added to this feed element. | Optional | 32.0 |
| link | ConnectApi.LinkCapabilityInput | Describes a link added to this feed element. | Optional | 32.0 |
| poll | ConnectApi.PollCapabilityInput | Describes a poll added to this feed element. | Optional | 32.0 |
| questionAndAnswers | ConnectApi.QuestionAndAnswersCapabilityInput | Describes a question and answer capability added to this feed element. | Optional | 32.0 |