Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.CaseComment Class

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.Case​CommentCapability Class is used.

Important

Subclass of ConnectApi.​FeedItem​Attachment Class

Objects of this type are returned by attachments in feed items with type CaseCommentPost.

Name Type Description Available Version
actorType ConnectApi.​CaseActorType Enum Specifies the 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 ISO8601 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