Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-release-flutter-v5-stable.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
AI Integration Quick Reference
AI Integration Quick Reference
| Field | Value |
|---|---|
| Package | @cometchat/chat-uikit-angular |
| Key class | CometChatUrlFormatter (extends CometChatTextFormatter) |
| Required setup | CometChatUIKit.init(uiKitSettings) then CometChatUIKit.login("UID") |
| Purpose | Auto-detects URLs in text messages and converts them to clickable links |
| Related | Custom Text Formatter | All Guides |
CometChatUrlFormatter extends CometChatTextFormatter to detect URLs in text messages and render them as clickable links.
Usage
ExtendCometChatTextFormatter, set a regex pattern for URL detection, and override format() to handle formatting and click behavior.
- CometChatUrlsFormatter.ts
- Component Usage
Customization
Styling links
Apply CSS to your link class:Handling clicks
OverrideonUrlClick to add tracking or custom navigation:
The
CometChatUrlFormatter is included by default in the message list. You only need to pass it explicitly if you want to customize click behavior or combine it with other formatters.Next Steps
Custom Text Formatter
Build custom inline text patterns.
Message List
Render real-time message threads.
All Guides
Browse all feature and formatter guides.
Mentions Formatter
Add @mentions with styled tokens.