AI Integration Quick Reference
AI Integration Quick Reference
Instant Messaging
Send and receive text messages in real-time.
- MessageComposer - Text input and send button
- MessageList - Displays sent and received messages
- Messages - Complete messaging screen (includes both)
Media Sharing
Share multiple images, videos, audio files, and documents in a single send. Tapping the attachment button opens a multi-select picker; the picks stage in a preview tray above the input box with per-file upload progress, and send together with an optional caption. Everything works out of the box:
Read Receipts
Show when messages are delivered and read.
- ✓ Sent - Message sent to server
- ✓✓ Delivered - Message delivered to recipient’s device
- ✓✓ (blue) Read - Recipient has seen the message
- Conversations - Shows receipt status on last message
- MessageList - Shows receipts on each message
- MessageInformation - Detailed delivery/read info
Mark As Unread
Let users mark messages as unread to revisit later.
Typing Indicators
Show when users are typing in real-time.
- Conversations - Shows typing in conversation list
- MessageHeader - Shows typing below user/group name
User Presence
Display online/offline status for users.
Reactions
Let users react to messages with emojis.
Mentions
Tag users in messages with @mentions.
Rich Text Formatting
Rich Text Formatting allows users to style their messages with bold, italic, strikethrough, code, code blocks, blockquotes, ordered/unordered lists, and links. This brings richer expression to conversations and helps users emphasize key points.
enableRichTextFormatting and showRichTextFormattingOptions are true by default. See the CompactMessageComposer Rich Text Formatting section for full configuration details.
Rich text formatting in message bubbles (rendering formatted text in the MessageList) is supported from UI Kit version 5.2.11 onwards. Earlier versions will display the raw markdown syntax instead of formatted text.
Threaded Conversations
Reply to specific messages in threads.
- ThreadedMessages - Displays thread replies
Group Chat
Create and manage group conversations.
Quoted Reply
Reply to specific messages with context.
Search
Search across conversations and messages.
- Search - Dedicated search screen
- MessageHeader - Search within conversation
- Conversations - Search conversations
Moderation
Automatically filter inappropriate content.
Configure moderation rules in your CometChat Dashboard.
Report Message
Allow users to report inappropriate messages.
View and manage reported messages in Flagged Messages.