---
schema_version: "1"
id: ce857fd8782924de6cdd0893bc4b535409158441ea8ca51fa9615c308f2af2bc
title: ConnectApi.FilesCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_multiple_content_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_multiple_content_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 23500fd85d96d3cc4d6023f46bd2e12d5a88ef0f90d067372f83bdcf6628d381
description: If a feed element has this capability, it has one or more file attachments.
---
# ConnectApi.FilesCapability

If a feed element has this capability, it has one or more file attachments.

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 |
| --- | --- | --- | --- |
| items | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.Content](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_content.htm "A file attached to a feed item.")\> | Collection of files. | 36.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.")