Newer Version Available
ConnectApi.SocialPostCapability
Subclass of ConnectApi.FeedElementCapabilities Class.
| Property Name | Type | Description | Available Version |
|---|---|---|---|
| author | ConnectApi.SocialAccount | The social account that authored the social post. | 36.0 |
| content | String | The content body of the social post. | 36.0 |
| deletedBy | ConnectApi.UserSummary Class | The user who deleted the social post. | 38.0 |
| icon | ConnectApi.Icon Class | The icon of the social network. | 36.0 |
| id | String | The ID associated with the social post Salesforce record. | 36.0 |
| isOutbound | Boolean | If true, the social post originated from the Salesforce application. | 36.0 |
| messageType | ConnectApi.SocialPostMessageType |
The message type of the social post. Values are:
|
38.0 |
| name | String | The title or heading of the social post. | 36.0 |
| postUrl | String | The external URL to the social post on the social network. | 36.0 |
| provider | ConnectApi.SocialNetworkProvider |
The social network that this social post belongs to.
Values are:
|
36.0 |
| recipient | ConnectApi.SocialAccount | The social account that is the recipient of the social post. | 36.0 |
| recipientId | String | The ID of the recipient of the social post. | 38.0 |
| status | ConnectApi.SocialPostStatus | The status of the social post. | 36.0 |