AI Integration Quick Reference
AI Integration Quick Reference
| Field | Value |
|---|---|
| Packages | com.cometchat:chat-uikit-kotlin (Kotlin XML Views), com.cometchat:chat-uikit-compose (Jetpack Compose) |
| Required setup | CometChatUIKit.init() then CometChatUIKit.login() — must complete before rendering any component |
| Core features | Instant Messaging, Media Sharing, Read Receipts, Mark as Unread, Typing Indicator, User Presence, Reactions, Mentions, Quoted Reply, Threaded Conversations, Moderation, Report Message, Group Chat |
| Key components | CometChatConversations, CometChatMessageList, CometChatMessageComposer, CometChatMessageHeader, CometChatUsers, CometChatGroups, CometChatGroupMembers, CometChatMessageInformation, CometChatThreadHeader |
| Theming | See Theming |
Instant Messaging
Real-time text messaging — users can send and receive instant messages.
| Component | Role |
|---|---|
| CometChatMessageComposer | Enables users to write and send text messages. |
| CometChatMessageList | Renders sent and received messages using text bubbles. |
Media Sharing
Share images, videos, audio files, and documents within conversations.
| Component | Role |
|---|---|
| CometChatMessageComposer | Provides an action sheet with options for sharing media files. |
| CometChatMessageList | Renders media message bubbles — Image, File, Audio, Video. |
Read Receipts
Visibility into message status — delivered and read indicators.
| Component | Role |
|---|---|
| CometChatConversations | Displays delivery status of the last message in each conversation item. |
| CometChatMessageList | Shows read receipt status on every message bubble. |
| CometChatMessageInformation | Shows detailed delivery and read status for a specific sent message. |
Mark as Unread
Users can manually mark messages as unread to revisit important conversations later. The message list can start from the first unread message automatically.
| Component | Role |
|---|---|
| CometChatMessageList | Provides the “Mark as unread” option in message actions and supports starting from the first unread message. |
| CometChatConversations | Reflects updated unread count in real-time. |
Typing Indicators
Shows when a user is typing a response in real-time.
| Component | Role |
|---|---|
| CometChatConversations | Shows real-time typing status in conversation items. |
| CometChatMessageHeader | Displays a “typing…” indicator when the other user or a group member is typing. |
User Presence
See whether contacts are online or offline.
| Component | Role |
|---|---|
| CometChatConversations | Shows user presence in conversation items. |
| CometChatMessageHeader | Displays user presence in the chat header. |
| CometChatUsers | Shows presence indicators in the user list. |
| CometChatGroupMembers | Shows presence indicators for group members. |
Reactions
React to messages with emojis without typing a full response.
| Component | Role |
|---|---|
| CometChatMessageList | Displays reactions on message bubbles and provides the reaction picker. |
Mentions
Address specific users in a conversation by typing@ to trigger mention suggestions.

| Component | Role |
|---|---|
| CometChatConversations | Shows where users have been mentioned from the conversation list. |
| CometChatMessageComposer | Triggers mention suggestions on @ and inserts formatted mentions. |
| CometChatMessageList | Renders mentions with distinct styling in the message flow. |
Threaded Conversations
Respond directly to a specific message, keeping conversations organized.
| Component | Role |
|---|---|
| CometChatThreadHeader | Displays all replies made to a particular message. |
| CometChatMessageComposer | Allows composing messages within a thread. |
| CometChatMessageList | Displays threaded messages in context. |
Quoted Replies
Reply to specific messages by selecting “Reply” from the message action menu, maintaining context in the conversation.
| Component | Role |
|---|---|
| CometChatMessageList | Provides the “Reply” option in message actions. |
| CometChatMessageComposer | Shows the quoted reply above the input field for context. |
Group Chats
Conversations with multiple participants — team collaborations, group discussions, and communities.
| Component | Role |
|---|---|
| CometChatGroups | Lists and manages groups. |
| CometChatGroupMembers | Displays and manages group members with roles and actions. |
Moderation
Automatically filter and manage inappropriate content based on predefined rules.
Learn more about setting up moderation rules in the Moderation documentation.
| Component | Role |
|---|---|
| CometChatMessageList | Handles moderated messages, displaying blocked content based on your moderation settings. |
Report Message
Users can report inappropriate messages by choosing from predefined reasons with optional remarks.Learn more about flagged messages in the Flagged Messages documentation.

| Component | Role |
|---|---|
| CometChatMessageList | Provides the “Report Message” option in message actions. |
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