Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.ActorWithId

Actor with ID.

This class is abstract.

Subclass of ConnectApi.Actor.

Superclass of:

Name Type Description Available Version
id String Actor’s 18-character ID 28.0
motif ConnectApi.​Motif An icon that identifies the actor as a user, group, file, or custom object. The icon isn’t the user or group photo, and it isn’t a preview of the file. The motif can also contain the object’s base color. 28.0
mySubscription ConnectApi.​​Reference If the context user is following the item, this contains information about the subscription, else returns null. 28.0
url String Connect REST API URL for the resource 28.0