Skip to main content
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. 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:
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. With the extension on, the Message Composer’s sticker button opens the Sticker Keyboard, and a tap sends the sticker. The Message List draws stickers without a bubble. The button is shown by default; hideStickersButton hides it in both toolkits.
The sticker keyboard open under the composer

Polls

The Polls extension lets users ask a question with a fixed set of answers. See the Polls Extension. With the extension on and the Poll option shown, the composer’s attachment menu opens Create Poll — a question and up to twelve options — and posts the poll. The Message List draws the poll with its live results, and a tap on an option votes.
The Create Poll form in the SwiftUI toolkit

SwiftUI

The Create Poll form in the UIKit toolkit

UIKit

Collaborative Whiteboard

The Collaborative Whiteboard extension gives users a shared board to draw and brainstorm on. See the Collaborative Whiteboard Extension. With the extension on and the option shown, the composer’s attachment menu creates a whiteboard and posts it. The Message List 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. 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. With the extension on, the Message List’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.
Hide the option with hideTranslateMessageOption: true. The separator takes the text bubble style’s separatorColor.
The Link Preview extension summarises a URL shared in a message — its title, description and image. See the Link Preview Extension.
Not drawn yet: the SwiftUI text bubble shows the link itself, without the preview card.

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. With the extension on, the Message List’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 rules instead.

Next Steps

Core Features

Chat features included out of the box

AI Features

Smart replies, conversation starters and summaries

Message Composer

Every composer option and slot

Message List

Every bubble and option