---
schema_version: "1"
id: b2f6dffd273cdfcc69dd3d78049e0361e99fdf6d331aef7fdb5f46ecc00e05a7
title: ConnectApi.CommentCapabilitiesInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_comment_capability_set.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_comment_capability_set.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ad5270e436cfe5017d1c91807af62546d2de56387f77ed5cbda013855b1a2055
description: A container for all capabilities that can be included with a comment.
---
# ConnectApi.CommentCapabilitiesInput

A container for all capabilities that can be included with a comment.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| content | [ConnectApi.ContentCapabilityInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_content_capability.htm "Attach or update a file on a comment. Use this class to attach a new file or update a file that has already been uploaded to Salesforce.") | Content to attach to the comment. | Optional | 32.0 |
| feedEntityShare | [ConnectApi.FeedEntityShareCapabilityInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_feed_entity_share_capability.htm "Share a feed entity with a feed post or comment.") | Feed entity to share to the comment. | Optional | 42.0 |
| record | [ConnectApi.RecordCapabilityInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_record_capability.htm "Attach an existing knowledge article to a comment.") | Existing knowledge article to attach to the comment. | Optional | 42.0 |

#### See Also

- [ConnectApi.CommentInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_comment.htm "Comment input used to add rich comments, for example, comments that include mentions or file attachments.")