---
schema_version: "1"
id: 778c29c56baace2e3297f0a976d8405380be79304424874bd4b2dd08da78d166
title: ConnectApi.CaseCommentCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_case_comment_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_case_comment_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c421b8a8cbcf0be2ee418b117635187d364870792e6da84b2542eac71827cde8
description: If a feed element has this capability, it has a case comment on the case feed.
---
# ConnectApi.CaseCommentCapability

If a feed element has this capability, it has a case comment on the case feed.

Subclass of [ConnectApi.FeedElementCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capability.htm "A feed element capability, which defines the characteristics of a feed element.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| actorType | [ConnectApi.​CaseActorType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#CaseActorEnum) | Specifies the type of user who made the comment. | 32.0 |
| createdBy | [ConnectApi.Actor](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_actor.htm#apex_connectapi_output_actor "Actor.") | Information about the user who created the comment. | 32.0 |
| createdDate | Datetime | ISO 8601 date string, for example, 2011-02-25T18:24:31.000Z. | 32.0 |
| eventType | [ConnectApi.​CaseComment​EventType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#CaseCommentEventTypeEnum) | Specifies an event type for a comment in the case feed. | 32.0 |
| id | String | 18-character ID of case comment. | 32.0 |
| published | Boolean | Specifies whether the comment has been published. | 32.0 |
| text | String | Text of the case comment. | 32.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")