---
schema_version: "1"
id: 466a3d47aec8bcbc3146df80d15021eb83a491fd2ede7fc87eac2d9abafb4ade
title: ConnectApi.BundleCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_abstract_bundle_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_abstract_bundle_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 19b983aca0303dab05296fcb7169f688126a4b69edaf79a5bc42e2653cf70c6e
description: If a feed element has this capability, it has a container of feed elements called a bundle.
---
# ConnectApi.BundleCapability

If a feed element has this capability, it has a container of feed elements called a _bundle_.

This class is abstract.

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.").

Superclass of:

- [ConnectApi.GenericBundleCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_generic_bundle_capability.htm "If a feed element has this capability, the feed element has a group of other feed elements condensed into one feed element. This group is called a bundle.")
- [ConnectApi.TrackedChangeBundleCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_tracked_change_bundle_capability.htm "If a feed element has this capability, it has a group of other feed elements aggregated into one feed element called a bundle. This type of bundle aggregates feed tracked changes.")

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| bundleType | [ConnectApi.​BundleType](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#ClumpTypeEnum) | Defines this feed element's bundle type. The bundle type determines what additional information appears in the bundle. | 31.0 |
| page | [ConnectApi.​FeedElement​Page](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_page.htm "A paged collection of ConnectApi.FeedElement objects.") | A collection of feed elements. | 31.0 |
| totalElements | Integer | The total number of feed elements that this bundle aggregates. | 31.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.")