AI Integration Quick Reference
AI Integration Quick Reference
Instant Messaging
Real-time text messaging — users send and receive messages instantly.
Media Sharing
Share several images, videos, audio files and documents in one send. The attachment button opens a multi-select picker; the picks stage in a tray above the input with per-file upload progress, and send together with the text as their caption.
Images and videos render as a grid of up to four tiles with “+N”; a tap opens the Kit’s full-screen
viewer. Audio and voice notes render as an inline player, and files
as stacked file cards.
enableMultipleAttachments: false switches to the older one-attachment-per-message
bubbles.
Read Receipts
Message status — sent, delivered and read.Mark as Unread
Users mark a message as unread to come back to it, and the list can open at the first unread message.- SwiftUI
- UIKit
The option is shown by default. To open the chat at the first unread message:
Unread counts in large groups: unread counts are calculated only for groups with up to 300 members.
See Properties and Constraints.
Typing Indicators
Shows when someone is typing, in real time.User Presence
Whether contacts are online or offline.CometChatSession.initialize subscribes to every user’s presence
by default, which is what lights these up.
Reactions
React to a message with an emoji instead of typing a reply.
Mentions
Address specific users by typing@ to bring up suggestions.

Pin & Save Messages
Keep important messages in reach. Pinning highlights a message for everyone in the conversation; saving bookmarks it privately for the acting user, across all of their conversations. Both come with option-menu actions, bubble indicators and full-screen lists.
Each feature is switched on in your app’s settings and carries its own limit. The options appear only when
the feature is on, and a user who reaches the limit sees a toast naming it — no code needed. See the
Pin & Save Messages guide.
Pin Conversations
Users pin a conversation from its long-press menu; pinned conversations show a pin and stay above the rest of the list. A conversation can also be system-pinned by your app’s administrator through the REST API: system pins sort above user pins, and a user can neither pin nor unpin them.Rich Text Formatting
Users style messages with bold, italic, strikethrough, inline code, code blocks, blockquotes, ordered and unordered lists, and links.
Received formatting always renders. Composing it is opt-in:
- SwiftUI
- UIKit
Threaded Conversations
Reply to a specific message in a thread, keeping the main conversation tidy.Thread Subscription
Users subscribe to or unsubscribe from a thread to choose whether its replies notify them. It is on by default; remove a surface per screen withhideThreadSubscriptionOption on the message list, or
hideThreadSubscription on the thread header.
The server also subscribes users by itself — sending a message, replying in its thread, or being mentioned
in a reply — and the Kit reflects those the moment they happen. See
Threaded Messages.
Quoted Replies
Reply to a specific message with Reply in its option menu, or by swiping the bubble, keeping the context in the conversation.
Group Chats
Conversations with many participants — teams, communities and group discussions.Moderation
Messages are filtered against the moderation rules you set up for your app.Set up moderation rules in the Moderation documentation.
Report Message
Users report an inappropriate message by choosing a reason and adding an optional remark.Review reported messages in the Flagged Messages documentation.
Conversation and Advanced Search
Find conversations and messages across chats, filtered by kind — photos, videos, links, documents, audio — and scoped to one conversation when you open it from a chat.The message header has no built-in search button. Add one as a header option and open a
CometChatSearch scoped to the chat. See Search Messages.Next Steps
Components Overview
Browse all available UI Kit components
Theme
Customize the look and feel of your chat UI
Call Features
Add audio and video calling
AI Features
Explore AI-powered chat capabilities