Apex Developer Guide
Newer Version Available
ConnectApi.Feed Class
| Name | Type | Description | Available Version |
|---|---|---|---|
| feedElementPostUrl | String | Chatter REST API URL for posting feed elements to this subject. | 31.0 |
| feedElements | ConnectApi.FeedElementPage | Page of feed elements for the feed specified in redirectedFeedType. Otherwise, null. | 40.0 |
| feedElementsUrl | String | Chatter REST API URL of feed elements. | 31.0 |
| feedItemsUrl | String | Chatter REST API URL of feed items. | 28.0–31.0 |
| isModifedUrl | String | A Chatter REST API URL with a
since request parameter that contains an opaque token that
describes when the feed was last modified. Returns null if the feed isn’t a news feed. Use this URL to poll a news
feed for updates. This feature is available through a Feed Polling pilot program. This pilot program is closed and not accepting new participants. Important |
28.0 |
| pinnedFeedElementsUrl (Beta) | String |
URL of pinned feed items. This release contains a beta version of pinned posts, which means it’s a high-quality feature with known limitations. Post pinning isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. 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. You can provide feedback and suggestions for pinned posts in the Trailblazer Community. Note |
41.0 |
| redirectedFeedType | ConnectApi.FeedType | Specifies which feed is returned if pageSize is specified. Otherwise, null. | 40.0 |
| respectsMute | Boolean | Indicates whether the feed respects the mute feature. If true, the feed shows the ability to mute or unmute each element, depending on the value of isMutedByMe; null if the mute feature is disabled for the organization. | 35.0 |