> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Extensions

> The CometChat extensions the iOS UI Kit v6 supports — stickers, polls, collaborative whiteboard and document, message translation, link preview and thumbnail generation — and how to turn each on.

> [accordion] AI Integration Quick Reference
>
> | Field | Value |
> | - | - |
> | Products | `CometChatSwiftUI` (SwiftUI) or `CometChatUIKit` (UIKit) |
> | Required setup | `CometChatSession.initialize(appID:region:)` then `CometChatSession.login(uid:authKey:)`, plus the extension enabled in the [CometChat Dashboard](https://www.cometchat.com/docs/fundamentals/extensions-overview.md) |
> | Supported extensions | Stickers, Polls, Collaborative Whiteboard, Collaborative Document, Message Translation, Link Preview (UIKit), Thumbnail Generation |
> | Key components | [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md) (Stickers, Polls, Whiteboard, Document), [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) (Translation, Link Preview, Thumbnails, and every extension's bubble) |
> | Opt-in in code | The composer's Poll, Collaborative Document and Collaborative Whiteboard options are hidden by default — SwiftUI `hidePollOption: false` …; UIKit `hidePollsOption = false` … |
> | Related | [Core Features](https://www.cometchat.com/docs/ui-kit/ios/v6/core-features.md), [AI Features](https://www.cometchat.com/docs/ui-kit/ios/v6/ai-features.md), [Extensions Overview](https://www.cometchat.com/docs/fundamentals/extensions-overview.md) |

CometChat's extensions add features to a chat — stickers, polls, shared whiteboards and documents,
translation and more. You activate each one in your app's dashboard; see
[Extensions](https://www.cometchat.com/docs/fundamentals/extensions-overview.md). Once an extension is enabled, the UI Kit picks it up after
initialisation and login.

The iOS UI Kit renders every supported extension's messages without code. Three composer options — Poll,
Collaborative Document and Collaborative Whiteboard — are **hidden by default**,
so you show them once the extension is on:

> [tab] SwiftUI
>
> ```swift theme={null}
> CometChatMessageComposer(
>     user: user,
>     hidePollOption: false,
>     hideCollaborativeDocumentOption: false,
>     hideCollaborativeWhiteboardOption: false
> )
> ```

> [tab] UIKit
>
> ```swift theme={null}
> composer.hidePollsOption = false
> composer.hideCollaborativeDocumentOption = false
> composer.hideCollaborativeWhiteboardOption = false
> ```

Inside a thread, these three options are never offered.

## Built-in Extensions

### Stickers

The Stickers extension lets users send pre-designed stickers. See the
[Sticker Extension](https://www.cometchat.com/docs/fundamentals/stickers.md).

With the extension on, the [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md)'s sticker button opens
the [Sticker Keyboard](https://www.cometchat.com/docs/ui-kit/ios/v6/sticker-keyboard.md), and a tap sends the sticker. The
[Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) draws stickers without a bubble. The button is shown by
default; `hideStickersButton` hides it in both toolkits.

![The sticker keyboard open under the composer](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-stickers.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=9b2156b7c6667c3880e52e7a67f39cda)

### Polls

The Polls extension lets users ask a question with a fixed set of answers. See the
[Polls Extension](https://www.cometchat.com/docs/fundamentals/polls.md).

With the extension on and the Poll option shown, the composer's attachment menu opens
[Create Poll](https://www.cometchat.com/docs/ui-kit/ios/v6/create-poll.md) — a question and up to twelve options — and posts the poll.
The [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) draws the poll with its live results, and a tap on
an option votes.

![The Create Poll form in the SwiftUI toolkit](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-pollSwiftUI.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=cba0d9ad33fc6e434fb6476be9d82572)

SwiftUI

![The Create Poll form in the UIKit toolkit](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-pollUIKit.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=e0f8efa609f40ece3c808687e5d34e50)

UIKit

### Collaborative Whiteboard

The Collaborative Whiteboard extension gives users a shared board to draw and brainstorm on. See the
[Collaborative Whiteboard Extension](https://www.cometchat.com/docs/fundamentals/collaborative-whiteboard.md).

With the extension on and the option shown, the composer's attachment menu creates a whiteboard and posts
it. The [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) draws it as a banner with **Open**: the UIKit
toolkit opens the board in the Kit's web view, pushed on your navigation controller; the SwiftUI toolkit
opens the link with `openURL`.

### Collaborative Document

The Collaborative Document extension lets users edit a shared document together. See the
[Collaborative Document Extension](https://www.cometchat.com/docs/fundamentals/collaborative-document.md).

It works like the whiteboard: the composer's attachment menu creates the document and posts it, and the
message list's banner opens it with **Open**.

### Message Translation

The Message Translation extension translates a message into the user's language. See the
[Message Translation Extension](https://www.cometchat.com/docs/fundamentals/message-translation.md).

With the extension on, the [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)'s option menu offers
**Translate** on text messages, which translates into the device's language. The text bubble then draws
the translation under the original text, below a separator, with a "Translated message" caption.

> [tab] SwiftUI
>
> Hide the option with `hideTranslateMessageOption: true`. The separator takes the text bubble style's
> `separatorColor`.

> [tab] UIKit
>
> Hide the option with `hideTranslateMessageOption`.

### Link Preview

The Link Preview extension summarises a URL shared in a message — its title, description and image. See
the [Link Preview Extension](https://www.cometchat.com/docs/fundamentals/link-preview.md).

> [tab] SwiftUI
>
> Not drawn yet: the SwiftUI text bubble shows the link itself, without the preview card.

> [tab] UIKit
>
> The [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)'s text bubble draws the preview card under the
> text; a tap opens the link.

### Thumbnail Generation

The Thumbnail Generation extension creates a smaller preview of every shared image, which cuts upload and
download time. See the [Thumbnail Generation Extension](https://www.cometchat.com/docs/fundamentals/thumbnail-generation.md).

With the extension on, the [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)'s image and video bubbles
load the generated thumbnail first, in both toolkits.

### Not supported

The iOS UI Kit v6 does not read the **Profanity Filter** extension's metadata, so a message shows its original text. Use
[Moderation](https://www.cometchat.com/docs/moderation/overview.md) rules instead.

***

## Next Steps

> [card] [Core Features](https://www.cometchat.com/docs/ui-kit/ios/v6/core-features.md)
>
> Chat features included out of the box

> [card] [AI Features](https://www.cometchat.com/docs/ui-kit/ios/v6/ai-features.md)
>
> Smart replies, conversation starters and summaries

> [card] [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md)
>
> Every composer option and slot

> [card] [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)
>
> Every bubble and option


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.