ConnectApi.​FeedElementInput Class

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.​​FeedItem​​Input Class.

Property Type Description Required or Optional Available Version
capabilities ConnectApi.​FeedElement​CapabilitiesInput 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