---
schema_version: "1"
id: 05f96da07c919ac32f85c0529f2b835dea90105733374e12a3b790aa2036c84b
title: ConnectApi.TopicsCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_topics_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_topics_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4c3e9bfbf614b347fba7d6342922e544115300b270e695b836c82f33aad10308
description: If a feed element has this capability, the context user can add topics to it. Topics help users organize and discover conversations.
---
# ConnectApi.TopicsCapability

If a feed element has this capability, the context user can add topics to it. Topics help users organize and discover conversations.

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 |
| --- | --- | --- | --- |
| canAssignTopics | Boolean | true if a topic can be assigned to the feed element, false otherwise. | 32.0 |
| 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.​Topic](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_topic.htm#apex_connectapi_output_topic "Topic.")\> | A collection of topics associated with this feed element. | 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.")