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 components | cometchat-search-bar, cometchat-message-list, cometchat-message-composer, cometchat-message-header |
| Init | CometChatUIKit.init(uiKitSettings) then CometChatUIKit.login("UID") |
| Purpose | Full-text message search across conversations with result routing and navigation |
| Sample app | GitHub |
| Related | All Guides |
Components
| Component / Selector | Role |
|---|---|
cometchat-search-bar | Search input component for entering keywords |
cometchat-message-list | Displays filtered messages based on search results |
cometchat-message-composer | Supports navigation after selecting a search result |
cometchat-message-header | Displays search context and navigation controls |
Implementation Steps
1. Search State Management
Track the current search keyword and the message ID to scroll to. When a new search is triggered, resetgoToMessageId so the list doesn’t jump to a stale result.
2. Search Input
Render the search bar component and wire its output to update the keyword state.3. Search Result Integration
PasssearchKeyword and goToMessageId to cometchat-message-list. The list filters messages matching the keyword and highlights them. When goToMessageId is set, the list scrolls to that message.
4. Navigate to Search Result
When a user taps a search result, setgoToMessageId to that message’s ID. The message list scrolls to and highlights the target message.
5. Complete Search Integration
A full component wiring search input, result display, and navigation together.Feature Matrix
| Feature | Component / Binding | Description |
|---|---|---|
| Search input | cometchat-search-bar with (searchChanged) | Captures keyword input |
| Display results | cometchat-message-list with [goToMessageId] | Scrolls to and highlights matching messages |
| Navigate to result | [goToMessageId] input | Scrolls to and highlights target message |
| State management | Component properties | Tracks keyword and target message ID |
Next Steps
Search Bar
The search bar component reference.
Message List
Render real-time message threads.
All Guides
Browse all feature and formatter guides.
Sample App
Full working sample application on GitHub.