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

Attachments in feed items with type CaseCommentPost.

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.CaseCommentCapability is used.

Important

Subclass of ConnectApi.FeedItemAttachment.

Name Type Description Available Version
actorType ConnectApi.​CaseActorType Enum Type of user who made the comment.
  • Customer—if a Chatter customer made the comment
  • CustomerService—if a service representative made the comment
28.0–31.0
createdBy ConnectApi.​User​Summary Comment’s creator 28.0–31.0
createdDate Datetime ISO 8601 date string, for example, 2011-02-25T18:24:31.000Z 28.0–31.0
id String Comment’s 18–character ID 28.0–31.0
published Boolean Specifies whether the comment has been published 28.0–31.0
text String Comment’s text 28.0–31.0