Newer Version Available
ConnectApi.SocialPostCapability
Subclass of ConnectApi.FeedElementCapabilities Class.
| Property Name | Type | Description | Available Version |
|---|---|---|---|
| author | ConnectApi.SocialAccount | Social account that authored the social post. | 36.0 |
| content | String | Content body of the social post. | 36.0 |
| deletedBy | ConnectApi.UserSummary Class | User who deleted the social post. | 38.0 |
| hiddenBy | ConnectApi.UserSummary Class | 41.0 | |
| icon | ConnectApi.Icon Class | Icon of the social network. | 36.0 |
| id | String | ID associated with the social post Salesforce record. | 36.0 |
| isOutbound | Boolean | If true, the social post originated from the Salesforce application. | 36.0 |
| likedBy | String | External social account who liked the social post. | 40.0 |
| messageType | ConnectApi.SocialPostMessageType |
Message type of the social post. Values are:
|
38.0 |
| name | String | Title or heading of the social post. | 36.0 |
| postUrl | String | External URL to the social post on the social network. | 36.0 |
| provider | ConnectApi.SocialNetworkProvider |
Social network that this social post belongs to. Values
are:
|
36.0 |
| recipient | ConnectApi.SocialAccount | Social account that is the recipient of the social post. | 36.0 |
| recipientId | String | ID of the recipient of the social post. | 38.0 |
| reviewScale | Double | Review scale of the social post. | 40.0 |
| reviewScore | Double | Review score of the social post. | 40.0 |
| status | ConnectApi.SocialPostStatus | Status of the social post. | 36.0 |