ConnectApi.FeedElementInput
Feed elements are the top-level items that a feed contains. Feeds are feed element containers.
This class is abstract and has no public constructor. You can make an instance only of a subclass.
Superclass of ConnectApi.FeedItemInput.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
capabilities | ConnectApi.FeedElementCapabilitiesInput | The capabilities that define auxiliary information on this feed element. | Optional | 31.0 |
feedElementType | ConnectApi.FeedElementType | The type of feed element this input represents. | Required when creating a feed element Optional when updating a feed element | 31.0 |
subjectId | String | The ID of the parent this feed element is being posted to. This value can be the ID of a user, group, or record, or the string me to indicate the context user.In version 45.0 and later, you can move a feed element from one public group to another by setting this property to the ID of the new public group. You can’t include or change any other properties when moving a feed element. | Required | 31.0 |
See Also
- Post a Feed Element with a Mention
- Post a Feed Element with Existing Content
- Post a Feed Element with a New File (Binary) Attachment
- Define an Action Link and Post with a Feed Element
- Define an Action Link in a Template and Post with a Feed Element
- Share a Feed Element (in Version 39.0 and Later)
- Edit a Feed Element
- Edit a Question Title and Post
- Post a Rich-Text Feed Element with Inline Image