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.

PropertyTypeDescriptionRequired or OptionalAvailable Version
capabilitiesConnectApi.​FeedElement​CapabilitiesInputThe capabilities that define auxiliary information on this feed element.Optional31.0
feedElementTypeConnectApi.​FeedElementTypeThe type of feed element this input represents.Required when creating a feed element
Optional when updating a feed element
31.0
subjectIdStringThe 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.
Required31.0

See Also