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.CommentCapabilities

A set of capabilities on a comment.
Property Name Type Description Available Version
comments ConnectApi.CommentsCapability If a comment has this capability, it has threaded comments. 44.0
content ConnectApi.ContentCapability If a comment has this capability, it has a file attachment.

Most ConnectApi.ContentCapability properties are null if the content has been deleted from the feed element or if the access has changed to private.

32.0
edit ConnectApi.EditCapability If a comment has this capability, users who have permission can edit it. 34.0
feedEntityShare ConnectApi.FeedEntityShareCapability If a comment has this capability, a feed entity is shared with it. 42.0
record ConnectApi.RecordCapability If a comment has this capability, it has a record attachment. 42.0
status ConnectApi.StatusCapability If a comment has this capability, it has a status that determines its visibility. 38.0
upDownVote ConnectApi.UpDownVoteCapability If a comment has this capability, users can upvote or downvote it. 41.0
verified ConnectApi.VerifiedCapability If a comment has this capability, users with permission can mark it as verified or unverified. 41.0