diff --git a/.github/workflows/llms-check.yml b/.github/workflows/llms-check.yml new file mode 100644 index 000000000..96eb3fd58 --- /dev/null +++ b/.github/workflows/llms-check.yml @@ -0,0 +1,46 @@ +name: llms.txt check + +# llms.txt and llms-pages.mdx are generated from docs.json and page frontmatter by +# scripts/llms/generate-llms.mjs. This fails on a structural error: a missing page, a nav page that +# docs.json redirects, an undecided hidden section, or an llms-full.txt committed at the root (it +# would replace Mintlify's full-text corpus). Out-of-date files only warn: after merge, +# llms-regenerate.yml regenerates them on main and opens a PR, so a PR (a fork's too) never has to. +# To fix a warning yourself: node scripts/llms/generate-llms.mjs, then commit llms.txt and llms-pages.mdx. + +on: + pull_request: + paths: + - 'docs.json' + - '**/*.mdx' + - '**/*.md' + - '*.json' + - 'llms.txt' + - 'llms-pages.mdx' + - 'llms-full.txt' + - 'llms-full.md' + - 'scripts/llms/**' + - '.github/workflows/llms-check.yml' + +permissions: + contents: read + +jobs: + llms: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Generator tests + run: node --test scripts/llms/generate-llms.test.mjs + - name: No structural errors (out-of-date files only warn) + run: | + set +e + node scripts/llms/generate-llms.mjs --check + code=$? + if [ "$code" = 2 ]; then + echo "::warning::llms.txt / llms-pages.mdx are out of date. They are regenerated on main after merge (llms-regenerate.yml), or run node scripts/llms/generate-llms.mjs and commit them." + exit 0 + fi + exit "$code" diff --git a/.github/workflows/llms-full-corpus.yml b/.github/workflows/llms-full-corpus.yml new file mode 100644 index 000000000..2425fcab0 --- /dev/null +++ b/.github/workflows/llms-full-corpus.yml @@ -0,0 +1,73 @@ +name: llms-full.txt corpus + +# https://www.cometchat.com/docs/llms-full.txt is Mintlify's generated full text of every page. +# We publish our own llms.txt and llms-pages.mdx but must never replace that corpus. This checks the +# served file: on a PR, the Mintlify preview once it serves this PR's llms.txt; on a schedule, production. +# It fails if the file is small or lacks known text from real pages (scripts/llms/llms.config.json → fullCorpus). + +on: + pull_request: + paths: + - 'llms.txt' + - 'llms-pages.mdx' + - 'llms-full.txt' + - 'llms-full.md' + - 'scripts/llms/**' + - '.github/workflows/llms-full-corpus.yml' + schedule: + - cron: '30 3 * * *' + workflow_dispatch: + +permissions: + contents: read + deployments: read + +jobs: + corpus: + # Mintlify builds previews only for branches of this repository, so a PR from a fork has none to check. + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository + runs-on: ubuntu-latest + timeout-minutes: 25 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Find this commit's Mintlify preview + id: preview + if: github.event_name == 'pull_request' + env: + GH_TOKEN: ${{ github.token }} + REPO: ${{ github.repository }} + SHA: ${{ github.event.pull_request.head.sha }} + run: | + # Mintlify records each preview as a GitHub deployment of the commit, with the preview URL. + # No deployment, or one that failed, means there is no preview to check: skip, don't fail. + # (A failed build is reported by the Mintlify Deployment check; the nightly run checks production.) + for i in $(seq 1 45); do + id=$(gh api "repos/$REPO/deployments?sha=$SHA" --jq '[.[] | select(.creator.login == "mintlify[bot]")][0].id // empty') + if [ -n "$id" ]; then + state=$(gh api "repos/$REPO/deployments/$id/statuses" --jq '.[0].state // ""') + case "$state" in + success) + url=$(gh api "repos/$REPO/deployments/$id/statuses" --jq '.[0].environment_url // ""') + if [ -n "$url" ]; then echo "url=$url" >> "$GITHUB_OUTPUT"; exit 0; fi ;; + failure|error|inactive) + echo "::warning::Mintlify's preview of $SHA ended '$state': skipping the corpus check"; exit 0 ;; + esac + fi + sleep 20 + done + echo "::warning::No Mintlify preview of $SHA after 15 minutes: skipping the corpus check" + - name: Served llms-full.txt is Mintlify's full corpus + if: github.event_name != 'pull_request' || steps.preview.outputs.url != '' + env: + EVENT: ${{ github.event_name }} + PREVIEW: ${{ steps.preview.outputs.url }} + run: | + if [ "$EVENT" = "pull_request" ]; then + # The preview is deployed; wait briefly for it to serve this commit's llms.txt, then check. + node scripts/llms/check-full-corpus.mjs --base "$PREVIEW" --wait-for llms.txt --timeout 300 + else + node scripts/llms/check-full-corpus.mjs + fi diff --git a/.github/workflows/llms-regenerate.yml b/.github/workflows/llms-regenerate.yml new file mode 100644 index 000000000..e2963e9d0 --- /dev/null +++ b/.github/workflows/llms-regenerate.yml @@ -0,0 +1,59 @@ +name: llms.txt regenerate + +# Keeps llms.txt and llms-pages.mdx in step with main. PRs only warn when they are out of date +# (llms-check.yml), so after a merge this regenerates them and opens or updates ONE pull request +# from docs/llms-regenerate for a person to review and merge. It never commits to main. +# A structural error on main (a broken link, a redirected nav page, ...) fails this job instead. +# +# Needs "Allow GitHub Actions to create and approve pull requests" on in the repo's Actions settings. +# The PR is opened with GITHUB_TOKEN, so other workflows don't run on it; it only changes the two +# generated files, and the next run on main checks them again. + +on: + push: + branches: [main] + paths: + - 'docs.json' + - '**/*.mdx' + - '**/*.md' + - 'llms.txt' + - 'llms-pages.mdx' + - 'scripts/llms/**' + - '.github/workflows/llms-regenerate.yml' + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +concurrency: + group: llms-regenerate + cancel-in-progress: true + +jobs: + regenerate: + if: github.repository == 'cometchat/docs' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Generator tests + run: node --test scripts/llms/generate-llms.test.mjs + - name: Regenerate llms.txt and llms-pages.mdx + run: node scripts/llms/generate-llms.mjs + - name: Open or update the regenerate PR + uses: peter-evans/create-pull-request@v8 + with: + branch: docs/llms-regenerate + delete-branch: true + sign-commits: true + add-paths: | + llms.txt + llms-pages.mdx + commit-message: 'docs: regenerate llms.txt and llms-pages.mdx' + title: 'docs: regenerate llms.txt and llms-pages.mdx' + body: | + Generated by `.github/workflows/llms-regenerate.yml` from main at ${{ github.sha }}: `node scripts/llms/generate-llms.mjs`. + Only `llms.txt` and `llms-pages.mdx` change. Merge it to bring them back in step with main. A later run on main updates this PR in place. diff --git a/.mintignore b/.mintignore index 9ddbca1cf..e658eecaf 100644 --- a/.mintignore +++ b/.mintignore @@ -5,4 +5,5 @@ /docs-templates /mintignore /doc-auditor -/docs-test-suite \ No newline at end of file +/docs-test-suite +/scripts diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d708aca8..152ff47c8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,6 +44,21 @@ Please [submit an issue](https://github.com/cometchat/docs/issues/new) with the 5. **Push your changes** to your fork. 6. **Submit a pull request** to the main repository. +#### The `llms` check + +`llms.txt` and `llms-pages.mdx` (the page index for AI agents) are generated from `docs.json` and each page's frontmatter. Adding, moving or renaming a page, or changing a title or description, changes them. + +- **Out of date: a warning, nothing to do.** After your PR merges, the `llms.txt regenerate` workflow regenerates both files on `main` and opens (or updates) one pull request from `docs/llms-regenerate`. If you'd rather include them in your PR, run the generator (Node 18 or later, no install needed) and commit both files: + + ```bash + node scripts/llms/generate-llms.mjs + git add llms.txt llms-pages.mdx + ``` + +- **An error: fix it before merge.** The check fails on a structural problem: the index linking a page that has no file or is redirected, a navigation page that a `docs.json` redirect hides (remove the redirect or the nav entry, or list the page in `redirectedNavAllowed` in `scripts/llms/llms.config.json`), or a section that was hidden, renamed or removed in `docs.json` (update `hiddenSections` as the message says). + +`node scripts/llms/generate-llms.mjs --check` runs the same check locally: exit 1 is an error, exit 2 means the files are only out of date. Don't edit `llms.txt` or `llms-pages.mdx` by hand, and don't add an `llms-full.txt`: Mintlify generates that one. + ### Pull Request Process 1. Ensure your PR has a clear title and description explaining the changes you've made. diff --git a/ai-chatbots/custom-bots.mdx b/ai-chatbots/custom-bots.mdx index 0fa867f2c..45f9d1e19 100644 --- a/ai-chatbots/custom-bots.mdx +++ b/ai-chatbots/custom-bots.mdx @@ -1,6 +1,6 @@ --- title: "Custom Bots" -description: "Custom Bots — CometChat documentation." +description: "Create a custom bot that receives CometChat messages at an HTTPS callback endpoint and replies autonomously in one-on-one or group chats." --- In CometChat, Custom bots are unique users capable of autonomously sending and receiving messages. diff --git a/docs.json b/docs.json index 9dfb359aa..0469b864e 100644 --- a/docs.json +++ b/docs.json @@ -7095,14 +7095,6 @@ } }, "redirects": [ - { - "source": "/sdk/flutter/group-kick-member", - "destination": "/sdk/flutter/group-kick-ban-members" - }, - { - "source": "/sdk/flutter/login-listeners", - "destination": "/sdk/flutter/authentication-overview#login-listener" - }, { "source": "/react-native/getting-started", "destination": "/ui-kit/react-native/react-native-cli-integration" @@ -7123,10 +7115,6 @@ "source": "/ui-kit/ios/property-changes", "destination": "/ui-kit/ios/upgrading-from-v4" }, - { - "source": "/ui-kit/react-native/property-changes", - "destination": "/ui-kit/react-native/upgrading-from-v4" - }, { "source": "/ai/overview", "destination": "/fundamentals/ai-user-copilot/overview" @@ -7631,10 +7619,6 @@ "source": "/rest-api/messages/list-reactions-with-a-specific-emojiunicodes", "destination": "/rest-api/messages/list-reactions-with-a-specific-emoji-unicode" }, - { - "source": "/rest-api/messages/mark-message-as-interacted", - "destination": "/rest-api/messages" - }, { "source": "/calls/api/overview", "destination": "/rest-api/calls-apis/overview" @@ -10487,10 +10471,6 @@ "source": "/sdk/flutter/call-logs", "destination": "/calls/flutter/call-logs" }, - { - "source": "/sdk/flutter/resources-overview", - "destination": "/calls/flutter/overview" - }, { "source": "/sdk/flutter/v5/calling-overview", "destination": "/calls/flutter/overview" diff --git a/fundamentals/emojis.mdx b/fundamentals/emojis.mdx index e890b4b2c..83c34ab63 100644 --- a/fundamentals/emojis.mdx +++ b/fundamentals/emojis.mdx @@ -1,6 +1,6 @@ --- title: "Emojis (Deprecated)" -description: "Emojis (Deprecated) — CometChat documentation." +description: "Deprecated: the Emojis extension is outdated because all major browsers now support emojis natively, so you no longer need it." --- diff --git a/fundamentals/gfycat.mdx b/fundamentals/gfycat.mdx index 6027da83b..2196102b9 100644 --- a/fundamentals/gfycat.mdx +++ b/fundamentals/gfycat.mdx @@ -1,6 +1,6 @@ --- title: "Gfycat (Deprecated)" -description: "Gfycat (Deprecated) — CometChat documentation." +description: "Deprecated: the Gfycat extension is no longer maintained or available because Gfycat ceased operations; use the Giphy extension instead." --- diff --git a/fundamentals/overview.mdx b/fundamentals/overview.mdx index 54c497085..640377084 100644 --- a/fundamentals/overview.mdx +++ b/fundamentals/overview.mdx @@ -1,7 +1,7 @@ --- title: "What Is CometChat?" sidebarTitle: "Overview" -description: "Overview of What Is CometChat? in CometChat." +description: "What CometChat is: a platform for real-time chat and voice and video calling, the ways to integrate it, and the solutions it supports for each industry." --- CometChat is a comprehensive communications platform that empowers businesses to seamlessly integrate real-time chat, voice and video calling functionalities. These integrations can be done picking up the implementation methods that align best with your goals. diff --git a/llms-index.mdx b/llms-index.mdx index 58dee2b0f..138315749 100644 --- a/llms-index.mdx +++ b/llms-index.mdx @@ -1,55 +1,58 @@ --- title: "CometChat — LLM docs indexes" -description: "Directory of every product-scoped LLM docs index — smaller, current-version alternatives to the site-wide /docs/llms.txt, each a plain list of docs links with clean .md twins for AI coding agents." +description: "Directory of every product-scoped LLM docs index: small, current-version lists of one product's docs pages, each linked as its clean .md version for AI coding agents." --- {/* UNLISTED, NOT hidden — this directory is for LLMs/agents, not the human sidebar. It is intentionally omitted from docs.json navigation (so it never appears in the sidebar) but IS built, served at /docs/llms-index, and INDEXED for search + AI. We avoid hidden:true/noindex (Mintlify's hidden - auto-applies noindex, which would drop it from search and the auto llms.txt / AI context). + auto-applies noindex, which would drop it from search and AI context). + Links are absolute .md URLs so agents get Markdown in one fetch. `node scripts/llms/generate-llms.mjs --check` + fails if an llms-*.mdx index is missing here or a link here is dead. */} # CometChat — LLM docs indexes -> Directory of the product-scoped LLM docs indexes for AI coding agents. Each entry below links a -> single product's current-version docs; on any of those pages, **append `.md`** to a URL for the -> clean Markdown twin. For everything at once instead of one product, use the site-wide -> [/docs/llms.txt](https://www.cometchat.com/docs/llms.txt) (index) or [/docs/llms-full.txt](https://www.cometchat.com/docs/llms-full.txt) (full corpus). +> Each entry below lists one product's current-version docs pages. Every link is the page's clean +> Markdown version (any docs URL + `.md`). Start from [/docs/llms.txt](https://www.cometchat.com/docs/llms.txt), +> which links these indexes plus the agent tools (skills, MCP, CLI) and every product without an index. ## UI Kits -- [React UI Kit v7](/ui-kit/react/llms-react-v7) -- [Angular UI Kit v5](/ui-kit/angular/llms-angular-v5) -- [Vue UI Kit v4](/ui-kit/vue/llms-vue-v4) -- [React Native UI Kit v5](/ui-kit/react-native/llms-react-native-v5) -- [iOS UI Kit v5](/ui-kit/ios/llms-ios-v5) -- [Android UI Kit v6](/ui-kit/android/llms-android-v6) -- [Flutter UI Kit v6](/ui-kit/flutter/llms-flutter-v6) +- [React UI Kit v7](https://www.cometchat.com/docs/ui-kit/react/llms-react-v7.md) +- [Angular UI Kit v5](https://www.cometchat.com/docs/ui-kit/angular/llms-angular-v5.md) +- [Vue UI Kit v4](https://www.cometchat.com/docs/ui-kit/vue/llms-vue-v4.md) +- [React Native UI Kit v5](https://www.cometchat.com/docs/ui-kit/react-native/llms-react-native-v5.md) +- [iOS UI Kit v5](https://www.cometchat.com/docs/ui-kit/ios/llms-ios-v5.md) +- [iOS UI Kit v6 (beta)](https://www.cometchat.com/docs/ui-kit/ios/v6/llms-ios-v6.md) +- [Android UI Kit v6](https://www.cometchat.com/docs/ui-kit/android/llms-android-v6.md) +- [Flutter UI Kit v6](https://www.cometchat.com/docs/ui-kit/flutter/llms-flutter-v6.md) ## Chat SDKs -- [JavaScript Chat SDK v4](/sdk/javascript/llms-javascript-v4) -- [React Native Chat SDK v4](/sdk/react-native/llms-react-native-v4) -- [iOS Chat SDK v4](/sdk/ios/llms-ios-v4) -- [Android Chat SDK v5](/sdk/android/v5/llms-android-v5) -- [Flutter Chat SDK v5](/sdk/flutter/llms-flutter-v5) +- [JavaScript Chat SDK v4](https://www.cometchat.com/docs/sdk/javascript/llms-javascript-v4.md) +- [React Native Chat SDK v4](https://www.cometchat.com/docs/sdk/react-native/llms-react-native-v4.md) +- [iOS Chat SDK v4](https://www.cometchat.com/docs/sdk/ios/llms-ios-v4.md) +- [Android Chat SDK v5](https://www.cometchat.com/docs/sdk/android/llms-android-v5.md) +- [Flutter Chat SDK v5](https://www.cometchat.com/docs/sdk/flutter/llms-flutter-v5.md) ## Voice & Video Calling -- [Calls — current version, all platforms + SDK + platform + APIs](/calls/llms-calls) +- [Calls — current version, all platforms + SDK + platform + APIs](https://www.cometchat.com/docs/calls/llms-calls.md) ## AI & moderation -- [AI Agents](/ai-agents/llms-ai-agents) -- [AI Moderation](/moderation/llms-moderation) +- [AI Agents](https://www.cometchat.com/docs/ai-agents/llms-ai-agents.md) +- [AI Moderation](https://www.cometchat.com/docs/moderation/llms-moderation.md) ## Engagement -- [Notifications](/notifications/llms-notifications) -- [Campaigns](/campaigns/llms-campaigns) -- [Insights](/insights) +- [Notifications](https://www.cometchat.com/docs/notifications/llms-notifications.md) +- [Campaigns](https://www.cometchat.com/docs/campaigns/llms-campaigns.md) +- [Insights](https://www.cometchat.com/docs/insights.md) ## Chat — other surfaces -- [Chat Widget](/widget/llms-widget) -- [Chat Fundamentals & Extensions](/fundamentals/llms-chat-fundamentals) -- [Chat REST & Management APIs](/rest-api/llms-chat-rest) +- [Chat Widget](https://www.cometchat.com/docs/widget/llms-widget.md) +- [Chat Fundamentals & Extensions](https://www.cometchat.com/docs/fundamentals/llms-chat-fundamentals.md) +- [Chat REST & Management APIs](https://www.cometchat.com/docs/rest-api/llms-chat-rest.md) ## Also useful for agents -- [Agent Skills](/agent-skills) — install CometChat skills into your AI coding agent. -- [Docs MCP](/mcp-server) — connect the CometChat Docs MCP. +- [Agent Skills](https://www.cometchat.com/docs/agent-skills.md) — install CometChat skills into your AI coding agent. +- [Docs MCP](https://www.cometchat.com/docs/mcp-server.md) — connect the CometChat Docs MCP. +- [CometChat CLI](https://www.cometchat.com/docs/cli.md) — provision apps and manage the skills from your terminal. diff --git a/llms-pages.mdx b/llms-pages.mdx new file mode 100644 index 000000000..680d1f45b --- /dev/null +++ b/llms-pages.mdx @@ -0,0 +1,2785 @@ +--- +title: "CometChat Docs: every page" +description: "Docs for CometChat chat and messaging, voice and video calling, AI agents, AI moderation, notifications, campaigns and insights: UI Kits, SDKs, a no-code widget, REST APIs and on-premise deployment." +--- + +{/* + GENERATED by scripts/llms/generate-llms.mjs: do not edit by hand. UNLISTED, not hidden, like + llms-index.mdx: omitted from docs.json navigation, served at /docs/llms-pages.md for agents. +*/} + +Every page of the current version of each CometChat product, grouped like the docs navigation. Every link is the Markdown version of the page. For a shorter entry point use llms.txt; older versions are listed at the end. + +## Chat & Messaging + +### Overview + +- [Chat & Messaging](https://www.cometchat.com/docs/chat-call.md): Add real-time chat, voice & video calling to your apps in minutes. Choose your path: UI Kits, SDKs, or Widgets. + +### Platform + +- [Index for this section](https://www.cometchat.com/docs/fundamentals/llms-chat-fundamentals.md) + +- [What Is CometChat?](https://www.cometchat.com/docs/fundamentals/overview.md): What CometChat is: a platform for real-time chat and voice and video calling, the ways to integrate it, and the solutions it supports for each industry. +- [Implementation Checklist](https://www.cometchat.com/docs/fundamentals/implementation-checklist.md): Follow the CometChat implementation checklist for signup, SDK or UI Kit integration, user sync, extensions, testing, and launch. +- [Key Concepts](https://www.cometchat.com/docs/fundamentals/key-concepts.md): Understand CometChat key concepts including apps, users, UIDs, roles, authentication, groups, messages, calls, and webhooks. +- [Network Allowlist](https://www.cometchat.com/docs/fundamentals/network-allowlist.md): Every CometChat domain a corporate firewall, proxy, or VPN must allow so chat, calling, AI agents, moderation, media, and the dashboard work — a wildcard shortcut plus the full per-service breakdown across all domain families. + +#### Features + +- [Core In App Messaging Features](https://www.cometchat.com/docs/fundamentals/features-core.md): Explore CometChat core messaging features such as user and group chat, media sharing, receipts, typing indicators, mentions, and reactions. +- [Multi-Tenancy](https://www.cometchat.com/docs/fundamentals/multi-tenancy.md): Manage multiple isolated CometChat apps under one plan for SaaS, education, white-label, and multi-customer deployments. +- [Data Import and Migration](https://www.cometchat.com/docs/fundamentals/data-import-and-migration.md): Migrate users, messages, groups, and conversations into CometChat with historical import or live migration workflows. +- [Webhooks](https://www.cometchat.com/docs/fundamentals/webhooks.md): Use CometChat webhooks to send real-time chat, user, group, call, and moderation events to your server. + +#### Features › Extensions + +- [Extensions](https://www.cometchat.com/docs/fundamentals/extensions-overview.md): Overview of Extensions in CometChat. +- [Notifications](https://www.cometchat.com/docs/fundamentals/notification-extensions.md): Explore CometChat notification options for push, email, and SMS, including platform notifications and notification extensions. +- [Moderation](https://www.cometchat.com/docs/fundamentals/moderation-extensions.md): Learn about CometChat moderation options for reviewing messages, managing rules, and handling moderation extensions. + +#### Features › Extensions › User Experience + +- [Message Shortcuts](https://www.cometchat.com/docs/fundamentals/message-shortcuts.md): Enable CometChat message shortcuts so users can create, fetch, edit, delete, and send predefined messages from shortcuts. +- [Avatars (Deprecated)](https://www.cometchat.com/docs/fundamentals/avatars.md): Upload and update CometChat user avatar images with base64 files, hosted avatar URLs, and profile metadata. +- [Thumbnail Generation](https://www.cometchat.com/docs/fundamentals/thumbnail-generation.md): Generate small, medium, and large thumbnails for CometChat image and video messages with attachment metadata. +- [Link Preview](https://www.cometchat.com/docs/fundamentals/link-preview.md): Show link previews in CometChat messages with URL metadata such as title, description, favicon, image, and source URL. +- [Rich Media Preview](https://www.cometchat.com/docs/fundamentals/rich-media-preview.md): Generate rich previews for links in CometChat messages with Iframely metadata, thumbnails, titles, and descriptions. +- [Voice Transcription](https://www.cometchat.com/docs/fundamentals/voice-transcription.md): Enable CometChat voice transcription with Rev.ai to convert audio messages into text and receive transcription metadata. +- [Pin Message](https://www.cometchat.com/docs/fundamentals/pin-message.md): Pin, unpin, and fetch pinned CometChat messages in one-on-one or group conversations using the Pin Message extension. +- [Save Message](https://www.cometchat.com/docs/fundamentals/save-message.md): Save, unsave, and fetch saved CometChat messages for each user with private saved-message lists. +- [TinyURL](https://www.cometchat.com/docs/fundamentals/tinyurl.md): Shorten long links in CometChat text messages with TinyURL by configuring an API token, domain, and extension call. +- [Bitly](https://www.cometchat.com/docs/fundamentals/bitly.md): Shorten long links in CometChat text messages with Bitly by configuring an access token, group GUID, and extension call. + +#### Features › Extensions › User Engagement + +- [Email Replies (Legacy)](https://www.cometchat.com/docs/fundamentals/email-replies.md): Let users reply to CometChat email notifications through SendGrid inbound parse webhooks and conversation routing. +- [Smart Replies (Legacy)](https://www.cometchat.com/docs/fundamentals/smart-replies.md): Show CometChat smart reply suggestions with positive, neutral, and negative responses injected into message metadata. +- [Message Translation](https://www.cometchat.com/docs/fundamentals/message-translation.md): Translate CometChat messages into multiple languages so users in multilingual conversations can read messages in their language. +- [Emojis (Deprecated)](https://www.cometchat.com/docs/fundamentals/emojis.md): Deprecated: the Emojis extension is outdated because all major browsers now support emojis natively, so you no longer need it. +- [Polls](https://www.cometchat.com/docs/fundamentals/polls.md): Create CometChat polls in conversations, collect votes from users, fetch poll results, and manage poll options. +- [Reactions (Legacy)](https://www.cometchat.com/docs/fundamentals/reactions.md): Add, remove, and fetch CometChat message reactions with emoji metadata and reaction extension calls. +- [Stipop](https://www.cometchat.com/docs/fundamentals/stickers-stipop.md): Add Stipop stickers to CometChat conversations with trending sticker packs, search, API keys, and extension calls. +- [Stickers](https://www.cometchat.com/docs/fundamentals/stickers.md): Manage CometChat sticker sets from the dashboard, load enabled stickers, and send stickers in chat conversations. +- [Live Streaming By API Video (Deprecated)](https://www.cometchat.com/docs/fundamentals/video-broadcasting.md): Set up CometChat live streaming with api.video, OBS broadcast details, viewer embed links, and recording options. +- [Mentions (Legacy)](https://www.cometchat.com/docs/fundamentals/mentions.md): Add CometChat mentions with @ user formatting, group member lookup, message rendering, and mention fetch calls. +- [Giphy](https://www.cometchat.com/docs/fundamentals/giphy.md): Add Giphy GIFs to CometChat conversations with trending GIFs, search results, API keys, and extension calls. +- [Tenor](https://www.cometchat.com/docs/fundamentals/tenor.md): Add Tenor GIFs to CometChat conversations with trending GIFs, search results, API keys, and extension calls. +- [Gfycat (Deprecated)](https://www.cometchat.com/docs/fundamentals/gfycat.md): Deprecated: the Gfycat extension is no longer maintained or available because Gfycat ceased operations; use the Giphy extension instead. +- [Reminders](https://www.cometchat.com/docs/fundamentals/reminders.md): Create, list, edit, and delete CometChat reminders for messages or custom notes using the reminders bot. + +#### Features › Extensions › Collaboration + +- [Collaborative Whiteboard](https://www.cometchat.com/docs/fundamentals/collaborative-whiteboard.md): Start CometChat collaborative whiteboard sessions from one-on-one or group chats and share invitation links with participants. +- [Collaborative Document](https://www.cometchat.com/docs/fundamentals/collaborative-document.md): Start CometChat collaborative document sessions from one-on-one or group chats and share document links with participants. + +#### Features › Extensions › Customer Support + +- [Chatwoot](https://www.cometchat.com/docs/fundamentals/chatwoot.md): Connect Chatwoot with CometChat to route customer support conversations through your chat experience using access tokens and inbox IDs. +- [Intercom](https://www.cometchat.com/docs/fundamentals/intercom.md): Connect Intercom with CometChat to route customer support conversations through chat using access tokens and support user IDs. + +#### Features › Extensions › Security + +- [Disappearing Messages](https://www.cometchat.com/docs/fundamentals/disappearing-messages.md): Enable CometChat disappearing messages so one-on-one and group messages can be scheduled for automatic deletion. +- [End To End Encryption (Deprecated)](https://www.cometchat.com/docs/fundamentals/end-to-end-encryption.md): Configure CometChat end-to-end encryption with Virgil Security keys, local message encryption, and sample app setup. + +#### Features › AI User Copilot + +- [AI User Copilot](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/overview.md): Overview of AI User Copilot in CometChat. +- [Conversation Starter](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/conversation-starter.md): Generate CometChat AI conversation starters from recent messages to help users begin new chat conversations. +- [Smart Replies](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/smart-replies.md): Generate CometChat AI smart replies for conversations with positive, negative, and neutral response suggestions. +- [Conversation Summary](https://www.cometchat.com/docs/fundamentals/ai-user-copilot/conversation-summary.md): Generate CometChat AI conversation summaries from recent or unread messages with configurable message ranges. + +#### User-Roles + +- [User Roles And Permissions In CometChat](https://www.cometchat.com/docs/fundamentals/user-roles-and-permissions.md): Review CometChat dashboard roles and permissions for owners, admins, moderators, and developers across platform sections. + +#### Guides + +- [Authentication and User Management](https://www.cometchat.com/docs/fundamentals/user-auth.md): Create users, issue auth tokens, and log users into CometChat. + +#### Media + +- [Pre-Signed URLs](https://www.cometchat.com/docs/fundamentals/presigned-urls.md): Secure CometChat media files with pre-signed URLs, expiry settings, signed access, and configurable TTL. + +### Widget Builder + +- [Index for this section](https://www.cometchat.com/docs/widget/llms-widget.md) + +- [Customize the CometChat Widget with Custom CSS](https://www.cometchat.com/docs/widget/custom-css.md): Override the Chat Widget's default styles from the Widget Builder's Custom CSS field, including how to bring back the hidden scrollbar on the Users, Conversations and Groups lists. +- [Upgrade the CometChat Widget from v1 to v2](https://www.cometchat.com/docs/widget/migration.md): What changes when you move your embed from the v1 widget to v2, and the four things to check before you do. + +### Widget Builder › HTML + +- [CometChat Widget Builder For HTML](https://www.cometchat.com/docs/widget/html/overview.md): CometChat Widget Builder for HTML is a no-code solution that lets you embed a fully functional chat interface into any HTML website using a simple code snippet. +- [Add CometChat Widget to a Static HTML Website](https://www.cometchat.com/docs/widget/html/integration.md): Learn how to integrate the CometChat Widget into a static HTML website with step-by-step instructions. +- [Advanced CometChat Widget Setup for Static HTML](https://www.cometchat.com/docs/widget/html/advanced.md): Explore advanced setup options for the CometChat Widget in static HTML websites, including custom sign-in methods and configurations. + +### Widget Builder › WordPress + +- [CometChat Widget Builder For WordPress](https://www.cometchat.com/docs/widget/wordpress/overview.md): CometChat Widget Builder for WordPress is a no-code solution for embedding a fully functional chat interface with plugin configuration. +- [Add CometChat Widget to WordPress via Plugin](https://www.cometchat.com/docs/widget/wordpress/integration.md): Comprehensive guide to install, configure, and extend the new CometChat WordPress plugin. + +### Widget Builder › Shopify + +- [CometChat Widget Builder For Shopify](https://www.cometchat.com/docs/widget/shopify/overview.md): CometChat Widget Builder for Shopify is a no-code solution for embedding a fully functional chat interface with a simple code snippet. +- [Add CometChat Widget to Shopify](https://www.cometchat.com/docs/widget/shopify/integration.md): Drop the CometChat Widget into your Shopify store and pick the sign-in flow: guest, Shopify customer IDs, or backend auth tokens. + +### Widget Builder › Squarespace + +- [CometChat Widget Builder For Squarespace](https://www.cometchat.com/docs/widget/squarespace/overview.md): CometChat Widget Builder for Squarespace is a no-code solution for embedding a fully functional chat interface with a simple code snippet. +- [Add CometChat Widget to Squarespace](https://www.cometchat.com/docs/widget/squarespace/integration.md): Drop the CometChat Widget into Squarespace using Code Injection or a Code Block, then pick the sign-in flow that matches your site. + +### Widget Builder › Wix + +- [CometChat Widget Builder For Wix](https://www.cometchat.com/docs/widget/wix/overview.md): CometChat Widget Builder for Wix is a no-code solution that lets you embed a fully functional chat interface into any Wix website using a simple code snippet. +- [Add CometChat Widget to Wix](https://www.cometchat.com/docs/widget/wix/integration.md): Drop the CometChat Widget into Wix using an HTML Embed block, then choose the sign-in flow that fits your site. + +### Widget Builder › Webflow + +- [CometChat Widget Builder For Webflow](https://www.cometchat.com/docs/widget/webflow/overview.md): CometChat Widget Builder for Webflow is a no-code solution for embedding a fully functional chat interface with a simple code snippet. +- [Add CometChat Widget to Webflow](https://www.cometchat.com/docs/widget/webflow/integration.md): Drop the CometChat Widget into Webflow with an Embed component, then choose the sign-in flow: guest, logged-in IDs, or backend auth tokens. + +### UI Kit Builder › React + +- [CometChat UI Kit Builder For React](https://www.cometchat.com/docs/chat-builder/react/overview.md): CometChat UI Kit Builder for React is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder Integration](https://www.cometchat.com/docs/chat-builder/react/integration.md): Step-by-step guide to integrating CometChat UI Kit Builder into your React app with user login. + +#### Reference + +- [UI Kit Builder Settings](https://www.cometchat.com/docs/chat-builder/react/builder-settings.md): Every setting in the exported React UI Kit Builder settings file — chat features, calling, layout and style — with what each one does. +- [Directory Structure](https://www.cometchat.com/docs/chat-builder/react/builder-dir-structure.md): How the exported React UI Kit Builder code is organized, and which parts are yours to edit. +- [Customizing Your UI Kit Builder](https://www.cometchat.com/docs/chat-builder/react/builder-customisations.md): Customize React UI Kit Builder components by adjusting CometChat app props, styling, group messages, and behavior. + +### UI Kit Builder › Next.js + +- [CometChat UI Kit Builder For Next.js](https://www.cometchat.com/docs/chat-builder/nextjs/overview.md): CometChat UI Kit Builder for Next.js is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder Integration](https://www.cometchat.com/docs/chat-builder/nextjs/integration.md): Step-by-step guide to integrating CometChat UI Kit Builder into your Next.js app, with SSR handled. + +#### Reference + +- [UI Kit Builder Settings](https://www.cometchat.com/docs/chat-builder/nextjs/builder-settings.md): Every setting in the exported UI Kit Builder settings file for Next.js — chat features, calling, layout and style — with what each one does. +- [Directory Structure](https://www.cometchat.com/docs/chat-builder/nextjs/builder-dir-structure.md): How the exported UI Kit Builder code is organized for Next.js, and which parts are yours to edit. +- [Customizing Your UI Kit Builder](https://www.cometchat.com/docs/chat-builder/nextjs/builder-customisations.md): Customize Next.js UI Kit Builder components by adjusting CometChat app props, styling, group messages, and behavior. + +### UI Kit Builder › React Router + +- [CometChat UI Kit Builder For React Router](https://www.cometchat.com/docs/chat-builder/react-router/overview.md): CometChat UI Kit Builder for React Router is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder Integration](https://www.cometchat.com/docs/chat-builder/react-router/integration.md): Step-by-step guide to integrating CometChat UI Kit Builder into a React Router app, including framework mode with SSR. + +#### Reference + +- [UI Kit Builder Settings](https://www.cometchat.com/docs/chat-builder/react-router/builder-settings.md): Every setting in the exported UI Kit Builder settings file for React Router — chat features, calling, layout and style — with what each one does. +- [Directory Structure](https://www.cometchat.com/docs/chat-builder/react-router/builder-dir-structure.md): How the exported UI Kit Builder code is organized for React Router, and which parts are yours to edit. +- [Customizing Your UI Kit Builder](https://www.cometchat.com/docs/chat-builder/react-router/builder-customisations.md): Customize React Router UI Kit Builder components by adjusting CometChat app props, styling, group messages, and behavior. + +### UI Kit Builder › Angular + +- [CometChat UI Kit Builder For Angular](https://www.cometchat.com/docs/chat-builder/angular/overview.md): CometChat UI Kit Builder for Angular is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder Integration](https://www.cometchat.com/docs/chat-builder/angular/integration.md): Step-by-step guide to integrating CometChat UI Kit Builder into your Angular app with user login. + +#### Reference + +- [UI Kit Builder Settings](https://www.cometchat.com/docs/chat-builder/angular/builder-settings.md): Configure Angular UI Kit Builder settings for messaging, AI helpers, calling, layout, and theming. +- [Directory Structure](https://www.cometchat.com/docs/chat-builder/angular/builder-dir-structure.md): Overview of the CometChat UI Kit Builder directory layout for Angular — understand where to find and customize components, settings, and styles. +- [Customizing Your UI Kit Builder](https://www.cometchat.com/docs/chat-builder/angular/builder-customisations.md): Customize Angular UI Kit Builder components by adjusting cometchat-app inputs, styling, and component behavior. + +### UI Kits › React v7 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/react/llms-react-v7.md) + +- [React UI Kit](https://www.cometchat.com/docs/ui-kit/react/overview.md): Prebuilt React components for chat, voice, and video calling. Supports React.js, Next.js, React Router, and Astro. + +#### Getting Started › React.js + +- [React.js Integration](https://www.cometchat.com/docs/ui-kit/react/integration-react.md): Add CometChat to a React.js app in 4 steps: create project, install, init + login, render. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/react/react-conversation.md): Build a two-panel conversation list + message view layout in React.js with CometChat UI Kit. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/react/react-one-to-one-chat.md): Build a single chat window for one-to-one or group messaging in React.js with CometChat UI Kit. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/react/react-tab-based-chat.md): Build a tab-based chat interface with Chat, Call Logs, and Users tabs in React.js. + +#### Getting Started › Next.js + +- [Next.js Integration](https://www.cometchat.com/docs/ui-kit/react/integration-nextjs.md): Add CometChat to a Next.js (App Router) app in 5 steps: create project, install, init + login, render, run. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/react/next-conversation.md): Build a two-panel conversation list + message view layout in Next.js (App Router) with CometChat UI Kit. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/react/next-one-to-one-chat.md): Build a single chat window for one-to-one or group messaging in Next.js (App Router) with CometChat UI Kit. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/react/next-tab-based-chat.md): Build a tab-based chat interface with Chat, Call Logs, and Users tabs in Next.js (App Router). + +#### Getting Started › React Router + +- [React Router Integration](https://www.cometchat.com/docs/ui-kit/react/integration-react-router.md): Add CometChat to a React Router app in 5 steps: create project, install, init + login, render, run. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/react/react-router-conversation.md): Build a two-panel conversation list + message view layout in React Router with CometChat UI Kit. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/react/react-router-one-to-one-chat.md): Build a single chat window for one-to-one or group messaging in React Router with CometChat UI Kit. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/react/react-router-tab-based-chat.md): Build a tab-based chat interface with Chat, Call Logs, and Users tabs in React Router. + +#### Getting Started › Astro + +- [Astro Integration](https://www.cometchat.com/docs/ui-kit/react/integration-astro.md): Add CometChat to an Astro app in 5 steps: create project, install, init + login, render island, run. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/react/astro-conversation.md): Build a two-panel conversation list + message view layout in Astro with CometChat UI Kit. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/react/astro-one-to-one-chat.md): Build a single chat window for one-to-one or group messaging in Astro with CometChat UI Kit. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/react/astro-tab-based-chat.md): Build a tab-based chat interface with Chat, Call Logs, and Users tabs in Astro. + +#### Getting Started + +- [Calling Integration](https://www.cometchat.com/docs/ui-kit/react/calling-integration.md): Step-by-step guide to integrate voice and video calling into your React app using CometChat UI Kit v7. + +#### Features › Chat + +- [Core](https://www.cometchat.com/docs/ui-kit/react/core-features.md): Overview of CometChat React UI Kit core features, including messaging, media sharing, receipts, presence, reactions, search, and moderation. +- [Offline Support](https://www.cometchat.com/docs/ui-kit/react/offline-support.md): Show saved chats and messages without a network, queue sends until the connection returns, and customize the offline states of the CometChat React UI Kit. +- [Extensions](https://www.cometchat.com/docs/ui-kit/react/extensions.md): Overview of CometChat extensions for React UI Kit, including engagement, collaboration, security, support, and smart chat features. +- [Smart Chat Features](https://www.cometchat.com/docs/ui-kit/react/ai-features.md): AI-powered features in CometChat's React UI Kit: Conversation Starter, Smart Replies, and Conversation Summary. + +#### Features + +- [Call](https://www.cometchat.com/docs/ui-kit/react/call-features.md): Overview of CometChat React UI Kit calling features, including incoming calls, outgoing calls, call logs, and call components. +- [Campaigns](https://www.cometchat.com/docs/ui-kit/react/campaigns.md): Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer. +- [RTL Support](https://www.cometchat.com/docs/ui-kit/react/rtl-support.md): Show CometChat React UI Kit components right to left for Arabic and other RTL languages, for the whole kit or per component, with layoutDirection. + +#### Components + +- [Overview](https://www.cometchat.com/docs/ui-kit/react/components-overview.md): Understand the component architecture, usage patterns, and all available components in the CometChat React UI Kit. +- [Conversations](https://www.cometchat.com/docs/ui-kit/react/components/conversations.md): Scrollable list of recent one-on-one and group conversations for the logged-in user with real-time updates. +- [Users](https://www.cometchat.com/docs/ui-kit/react/components/users.md): Searchable, scrollable list of users with selection support and real-time presence updates. +- [Groups](https://www.cometchat.com/docs/ui-kit/react/components/groups.md): Searchable, scrollable list of groups with selection support and real-time membership updates. +- [Group Members](https://www.cometchat.com/docs/ui-kit/react/components/group-members.md): Scrollable list of members for a specific group with role-based actions like kick, ban, and scope change. +- [Message Header](https://www.cometchat.com/docs/ui-kit/react/components/message-header.md): Toolbar displaying conversation details with avatar, name, presence status, typing indicator, and call buttons. +- [Message List](https://www.cometchat.com/docs/ui-kit/react/components/message-list.md): Scrollable message feed with plugin-based bubble rendering, reactions, receipts, threads, and real-time updates. +- [Message Composer](https://www.cometchat.com/docs/ui-kit/react/components/message-composer.md): Rich text input with attachments, emoji, voice recording, mentions, and formatting for sending messages. +- [Thread Header](https://www.cometchat.com/docs/ui-kit/react/components/thread-header.md): Displays the parent message bubble and reply count for threaded conversations. +- [Pinned Messages](https://www.cometchat.com/docs/ui-kit/react/components/pinned-messages.md): Displays the messages pinned in a conversation, with quick unpin and per-message options. +- [Saved Messages](https://www.cometchat.com/docs/ui-kit/react/components/saved-messages.md): Displays the messages the current user has saved across all conversations. +- [Message Information](https://www.cometchat.com/docs/ui-kit/react/components/message-information.md): Displays detailed message information including delivery and read receipts for 1-on-1 and group conversations. +- [Reactions](https://www.cometchat.com/docs/ui-kit/react/components/reactions.md): Displays emoji reaction chips on message bubbles with hover tooltips, a full reactor list, and overflow handling. +- [Reaction List](https://www.cometchat.com/docs/ui-kit/react/components/reaction-list.md): Standalone panel showing who reacted to a message, with emoji tab filtering, pagination, and optimistic removal for the current user. +- [Flag Message Dialog](https://www.cometchat.com/docs/ui-kit/react/components/flag-message-dialog.md): A dialog for reporting inappropriate messages with reason selection, an optional remark, and submission handling. +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/react/components/call-buttons.md): Voice and video call buttons for user or group conversations, with click overrides, custom button views, and full call lifecycle handling. +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/react/components/incoming-call.md): Displays an incoming call notification with caller info, accept/decline buttons, and transitions to the ongoing call screen. +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/react/components/outgoing-call.md): Displays the outgoing call screen with receiver info and a cancel button while waiting for the call to be answered. +- [Call Logs](https://www.cometchat.com/docs/ui-kit/react/components/call-logs.md): Scrollable list of call history with call details, duration, and the ability to initiate new calls. +- [Search](https://www.cometchat.com/docs/ui-kit/react/components/search.md): Unified search across conversations and messages with filter chips, scoped search, and customizable result views. +- [AI Assistant Chat](https://www.cometchat.com/docs/ui-kit/react/components/ai-assistant-chat.md): AI agent chat interface with streaming responses, suggested messages, tool calling, and conversation history. +- [Notification Feed](https://www.cometchat.com/docs/ui-kit/react/components/notification-feed.md): Full-screen notification feed component with category filtering, card rendering, real-time updates, and engagement reporting. + +#### Components › Message Bubbles + +- [Message Bubble](https://www.cometchat.com/docs/ui-kit/react/components/message-bubble.md): A shared wrapper component that renders all message types with common chrome — avatar, sender name, bubble background, timestamp, receipts, thread replies, and context menu. +- [Text Bubble](https://www.cometchat.com/docs/ui-kit/react/components/text-bubble.md): A self-extracting bubble that renders text messages with markdown, mentions, clickable URLs, link previews, and read-more truncation. +- [Image Bubble](https://www.cometchat.com/docs/ui-kit/react/components/image-bubble.md): A batch-aware bubble that renders one or more image attachments with adaptive grid layouts, a caption, and a fullscreen gallery viewer. +- [Video Bubble](https://www.cometchat.com/docs/ui-kit/react/components/video-bubble.md): A batch-aware bubble that renders one or more video attachments with adaptive grid layouts, poster thumbnails, and a fullscreen viewer. +- [Audio Bubble](https://www.cometchat.com/docs/ui-kit/react/components/audio-bubble.md): A batch-aware bubble that renders one or more audio file attachments with inline playback cards, seek controls, and download. +- [Voice Note Bubble](https://www.cometchat.com/docs/ui-kit/react/components/voice-note-bubble.md): A dedicated bubble for recorded voice notes with waveform playback, rendered when audio messages carry the voice_note metadata tag. +- [File Bubble](https://www.cometchat.com/docs/ui-kit/react/components/file-bubble.md): A batch-aware bubble that renders one or more generic file attachments with file-type icons, metadata, download, and a collapsible list. +- [Poll Bubble](https://www.cometchat.com/docs/ui-kit/react/components/poll-bubble.md): A self-extracting bubble that renders a poll with its question, selectable options, live vote counts, percentages, and voter avatars. +- [Sticker Bubble](https://www.cometchat.com/docs/ui-kit/react/components/sticker-bubble.md): A self-extracting bubble that renders a sticker image from a sticker custom message. +- [Collaborative Document Bubble](https://www.cometchat.com/docs/ui-kit/react/components/collaborative-document-bubble.md): A self-extracting bubble that renders a collaborative document card with a banner and an 'Open Document' button. +- [Collaborative Whiteboard Bubble](https://www.cometchat.com/docs/ui-kit/react/components/collaborative-whiteboard-bubble.md): A self-extracting bubble that renders a collaborative whiteboard card with a banner and an 'Open Whiteboard' button. +- [Card Bubble](https://www.cometchat.com/docs/ui-kit/react/components/card-bubble.md): A render-only bubble that draws developer-defined card messages (category "card") with the prebuilt CometChatCardView renderer and forwards card actions to your app. +- [Call Bubble](https://www.cometchat.com/docs/ui-kit/react/components/call-bubble.md): A self-extracting bubble for direct-call / meeting messages, with a call icon, title, timestamp, and a Join button. +- [Call Action Bubble](https://www.cometchat.com/docs/ui-kit/react/components/call-action-bubble.md): A self-extracting bubble that renders call status system messages like 'Missed Call', 'Call Ended', and 'Outgoing Call' from an SDK call message. +- [Group Action Bubble](https://www.cometchat.com/docs/ui-kit/react/components/group-action-bubble.md): A self-extracting bubble that renders group action system messages like 'Alice joined' and 'Bob was kicked' from an SDK group-action message. +- [Delete Bubble](https://www.cometchat.com/docs/ui-kit/react/components/delete-bubble.md): A presentational bubble that renders a 'This message was deleted' placeholder. + +#### Plugins + +- [Plugins](https://www.cometchat.com/docs/ui-kit/react/plugins/overview.md): How the plugin system renders messages, the built-in plugins, and the AI plugin. +- [Creating a Custom Plugin](https://www.cometchat.com/docs/ui-kit/react/plugins/custom-plugin.md): Build a custom message plugin for rendering, context menus, and conversation previews, plus the plugin interface and context reference. +- [Text Formatters](https://www.cometchat.com/docs/ui-kit/react/plugins/text-formatters.md): Transform plain text into formatted HTML in message bubbles, with built-in URL, mention, and markdown formatters plus custom formatters. + +#### Architecture + +- [CometChatProvider](https://www.cometchat.com/docs/ui-kit/react/cometchat-provider.md): The root provider that composes all internal contexts (plugin registry, theme, locale, layout direction, global config, events) for the React UI Kit. +- [Event System](https://www.cometchat.com/docs/ui-kit/react/event-system.md): Unified pub/sub event system that merges SDK listener events with local UI events for cross-component communication. + +#### Customization + +- [Theming](https://www.cometchat.com/docs/ui-kit/react/theming.md): Customize colors, fonts, spacing, and component styles using CSS custom properties and the data-theme attribute. +- [Color Resources](https://www.cometchat.com/docs/ui-kit/react/theme/color-resources.md): Complete reference of all color CSS variables with light and dark theme values. +- [Message Bubble Styling](https://www.cometchat.com/docs/ui-kit/react/theme/message-bubble-styling.md): Customize incoming and outgoing message bubble colors, backgrounds, and styles using CSS variables and class selectors in the CometChat React UI Kit. +- [Localization](https://www.cometchat.com/docs/ui-kit/react/localization.md): 20 built-in languages with support for custom translations, fallback languages, and date/time formatting. +- [Sound Manager](https://www.cometchat.com/docs/ui-kit/react/sound-manager.md): Play notification sounds for incoming/outgoing messages and calls with custom sound URL support. + +#### Guides + +- [Block/Unblock User](https://www.cometchat.com/docs/ui-kit/react/guide-block-unblock-user.md): Let users block and unblock others directly within chat to control unwanted communication. +- [Group Chat Setup](https://www.cometchat.com/docs/ui-kit/react/guide-group-chat-setup.md): Create public, password-protected, and private groups; add, remove, and manage members with role-based permissions; join, leave, and transfer ownership using the CometChat UI Kit. +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/react/guide-threaded-messages.md): Add threaded message replies to your chat so users can create focused sub-conversations on any message. +- [Pin & Save Messages](https://www.cometchat.com/docs/ui-kit/react/guide-pin-and-save-messages.md): Let users pin important messages for everyone in a conversation and save messages privately for themselves. +- [Custom Text Formatter](https://www.cometchat.com/docs/ui-kit/react/guide-custom-text-formatter.md): Build a text color formatter: color text live in the composer, send it as a token, and render it on every surface that shows the message. +- [Search Messages](https://www.cometchat.com/docs/ui-kit/react/guide-search-messages.md): Add message search to your chat so users can find specific messages within a conversation using the built-in CometChatSearch component. +- [New Chat Creation](https://www.cometchat.com/docs/ui-kit/react/guide-new-chat-creation.md): Start new one-on-one or group conversations by selecting users or groups from a list. +- [Message Privately](https://www.cometchat.com/docs/ui-kit/react/guide-message-privately.md): Let users send a private one-on-one message to another user directly from within a group chat conversation. + +#### Reference + +- [Methods](https://www.cometchat.com/docs/ui-kit/react/methods.md): Static methods on CometChatUIKit for initialization, authentication, and message sending. + +#### Migration Guide + +- [Upgrading from v6 to v7](https://www.cometchat.com/docs/ui-kit/react/migration-overview.md): Migration guide covering breaking changes, architecture shifts, and step-by-step upgrade path from CometChat React UI Kit v6 to v7. +- [Property Changes](https://www.cometchat.com/docs/ui-kit/react/migration-property-changes.md): Complete prop migration reference for all components from v6 to v7 — renamed, removed, added, and type-changed props. + +#### Other pages + +- [Troubleshooting](https://www.cometchat.com/docs/ui-kit/react/troubleshooting.md): Solutions for common issues when using CometChat React UI Kit v7 + +### UI Kits › React Native v5 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/react-native/llms-react-native-v5.md) + +- [React Native UI Kit](https://www.cometchat.com/docs/ui-kit/react-native/overview.md): Prebuilt React Native components for chat, voice, and video calling. Supports React Native CLI and Expo. + +#### Getting Started › React Native CLI + +- [React Native CLI Integration](https://www.cometchat.com/docs/ui-kit/react-native/react-native-cli-integration.md): Integrate CometChat React Native UI Kit with React Native CLI using app credentials, package setup, initialization, login, and rendering. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/react-native/react-native-conversation.md): Build a conversation list + message view layout in React Native with CometChat UI Kit. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/react-native/react-native-one-to-one-chat.md): Build a focused one-to-one or group chat experience in React Native with CometChat UI Kit. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/react-native/react-native-tab-based-chat.md): Build a tab-based messaging UI with Chats, Users, Groups, and Calls in React Native with CometChat UI Kit. + +#### Getting Started › Expo + +- [Expo Integration](https://www.cometchat.com/docs/ui-kit/react-native/expo-integration.md): Add CometChat to an Expo app using development builds in 5 steps: create project, install, init, login, render. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/react-native/expo-conversation.md): Build CometChat React Native UI Kit conversation list and message view layouts in Expo with headers, lists, composers, and navigation. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/react-native/expo-one-to-one-chat.md): Build focused CometChat React Native UI Kit one-to-one or group chat screens in Expo with headers, message lists, and composers. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/react-native/expo-tab-based-chat.md): Build CometChat React Native UI Kit tab-based chat in Expo with conversations, users, groups, message views, and navigation. + +#### Features › Chat + +- [Core](https://www.cometchat.com/docs/ui-kit/react-native/core-features.md): Explore CometChat React Native UI Kit core messaging features, including media sharing, receipts, typing indicators, and more. +- [Offline Support](https://www.cometchat.com/docs/ui-kit/react-native/offline-support.md): Show saved chats and messages without a connection, queue messages while offline, and send them on reconnect with the CometChat React Native UI Kit. +- [RTL Support](https://www.cometchat.com/docs/ui-kit/react-native/rtl-support.md): Show CometChat React Native UI Kit components right to left for Arabic and other RTL languages, globally or per component, with layoutDirection. +- [Extensions](https://www.cometchat.com/docs/ui-kit/react-native/extensions.md): Enable built-in extensions like stickers, polls, collaborative documents, message translation, and link previews in CometChat's React Native UI Kit. +- [Smart Chat Features](https://www.cometchat.com/docs/ui-kit/react-native/ai-features.md): Integrate AI-powered conversation starters, smart replies, and conversation summaries into your React Native chat app. + +#### Features + +- [Calling Integration](https://www.cometchat.com/docs/ui-kit/react-native/calling-integration.md): Add voice and video calling to your React Native UI Kit application +- [Call](https://www.cometchat.com/docs/ui-kit/react-native/call-features.md): Integrate one-on-one and group audio/video calling into your React Native app using CometChat's Calls SDK and prebuilt UI components. +- [Campaigns](https://www.cometchat.com/docs/ui-kit/react-native/campaigns.md): Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer. + +#### Theming + +- [Customizing UI With Theming](https://www.cometchat.com/docs/ui-kit/react-native/theme.md): Customize CometChat React Native UI Kit themes, including light and dark modes, colors, typography, and component styles. +- [Color Resources](https://www.cometchat.com/docs/ui-kit/react-native/colors.md): Complete reference of CometChat React Native UI Kit color tokens for light and dark modes, custom themes, and brand styling. +- [Component Styling](https://www.cometchat.com/docs/ui-kit/react-native/component-styling.md): Customize the appearance of individual CometChat React Native UI Kit components using theme overrides for colors, typography, icons, and layout styles. +- [Message Bubble Styling](https://www.cometchat.com/docs/ui-kit/react-native/message-bubble-styling.md): Customize CometChat React Native UI Kit message bubbles for text, image, video, audio, file, poll, and other message types. +- [Localization](https://www.cometchat.com/docs/ui-kit/react-native/localize.md): Configure multi-language localization, custom translations, and automatic device language detection in CometChat React Native UI Kit. +- [Sound Manager](https://www.cometchat.com/docs/ui-kit/react-native/sound-manager.md): Manage and customize audio cues for incoming/outgoing calls and messages in CometChat React Native UI Kit. + +#### Components + +- [Overview](https://www.cometchat.com/docs/ui-kit/react-native/components-overview.md): Browse all prebuilt UI components in the CometChat React Native UI Kit — conversations, messages, users, groups, calls, and AI. +- [Conversations](https://www.cometchat.com/docs/ui-kit/react-native/conversations.md): Display CometChat React Native UI Kit conversations with last messages, unread counts, typing indicators, presence, and callbacks. +- [Users](https://www.cometchat.com/docs/ui-kit/react-native/users.md): Display CometChat React Native UI Kit users with avatars, online status, search, filtering, selection callbacks, and chat navigation. +- [Groups](https://www.cometchat.com/docs/ui-kit/react-native/groups.md): Searchable, scrollable list of all available groups with icon, name, member count, and group type indicator. +- [Group Members](https://www.cometchat.com/docs/ui-kit/react-native/group-members.md): Display and manage group members with CometChatGroupMembers component in React Native UI Kit, including member roles, permissions, and moderation actions. +- [Message Header](https://www.cometchat.com/docs/ui-kit/react-native/message-header.md): Display user or group details in the chat toolbar with CometChatMessageHeader component in React Native UI Kit, including typing indicators and navigation. +- [Message List](https://www.cometchat.com/docs/ui-kit/react-native/message-list.md): Display sent and received messages with text, media, reactions, read receipts, threaded replies, and AI features. +- [Pinned Messages](https://www.cometchat.com/docs/ui-kit/react-native/pinned-messages.md): Display the messages pinned in a conversation, with unpin, save, copy, share and info actions. +- [Saved Messages](https://www.cometchat.com/docs/ui-kit/react-native/saved-messages.md): Display the logged-in user's saved messages across every conversation, with unsave and jump-to-message actions. +- [Message Composer](https://www.cometchat.com/docs/ui-kit/react-native/message-composer.md): Compose and send messages including text, media, and attachments with CometChatMessageComposer component in React Native UI Kit. +- [Compact Message Composer](https://www.cometchat.com/docs/ui-kit/react-native/compact-message-composer.md): Compact React Native message input with rich text, attachments, mentions, voice recording, and message editing. +- [Threaded Messages Header](https://www.cometchat.com/docs/ui-kit/react-native/threaded-messages-header.md): Display the parent message and reply count for threaded conversations with CometChatThreadHeader component in React Native UI Kit. +- [Message Information](https://www.cometchat.com/docs/ui-kit/react-native/message-information.md): Show who has received and read a message, with per-recipient delivery and read timestamps. +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/react-native/incoming-call.md): Display and handle incoming voice and video calls with CometChatIncomingCall component in React Native UI Kit, providing options to accept or decline. +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/react-native/outgoing-call.md): Display and manage outgoing voice and video calls with CometChatOutgoingCall component in React Native UI Kit, providing call status and controls. +- [Ongoing Call](https://www.cometchat.com/docs/ui-kit/react-native/ongoing-call.md): Display the React Native UI Kit in-call screen for voice and video calls with CometChatOngoingCall, configured through the Calls SDK call settings builder. +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/react-native/call-buttons.md): Add voice and video call buttons with CometChatCallButtons component in React Native UI Kit, enabling users to initiate calls directly. +- [Call Logs](https://www.cometchat.com/docs/ui-kit/react-native/call-logs.md): Display and manage the list of call history with CometChatCallLogs component in React Native UI Kit, including missed, received, and outgoing calls. +- [AI Assistant Chat History](https://www.cometchat.com/docs/ui-kit/react-native/ai-assistant-chat-history.md): Display conversation history between users and AI assistants with CometChatAIAssistantChatHistory component in React Native UI Kit. +- [Notification Feed](https://www.cometchat.com/docs/ui-kit/react-native/notification-feed.md): Full-screen notification feed component with category filtering, card rendering, real-time updates, and engagement reporting. +- [Search](https://www.cometchat.com/docs/ui-kit/react-native/search.md): Lets users search conversations and messages with filters and scopes, and add real-time search to React Native chat screens. + +#### Reference + +- [Methods](https://www.cometchat.com/docs/ui-kit/react-native/methods.md): Use CometChat React Native UI Kit methods for initialization, login, logout, users, groups, messages, calls, and session handling. +- [Events](https://www.cometchat.com/docs/ui-kit/react-native/events.md): Listen to UI Kit events for conversations, users, groups, messages, and calls in React Native UI Kit. + +#### Guides + +- [Overview](https://www.cometchat.com/docs/ui-kit/react-native/guide-overview.md): Browse React Native UI Kit feature guides for chat layouts, Expo setup, users, conversations, methods, and tab-based messaging. +- [AI Agent Integration](https://www.cometchat.com/docs/ui-kit/react-native/guide-ai-agent.md): Enable intelligent conversational AI capabilities in your React Native app using CometChat UI Kit v5 with AI Agent integration. +- [New Chat](https://www.cometchat.com/docs/ui-kit/react-native/guide-new-chat.md): Build a unified new chat entry point for starting 1:1 or group conversations in CometChat React Native UI Kit. +- [Group Chat](https://www.cometchat.com/docs/ui-kit/react-native/guide-group-chat.md): Implement group management including create, join, members, roles, and ownership transfer in CometChat React Native UI Kit. +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/react-native/guide-threaded-messages.md): Implement threaded message replies with parent context, reply list, and focused thread composer in CometChat React Native UI Kit. +- [Pin & Save Messages](https://www.cometchat.com/docs/ui-kit/react-native/guide-pin-and-save-messages.md): Let users pin important messages for everyone in a conversation and save messages privately for themselves. +- [Text Color](https://www.cometchat.com/docs/ui-kit/react-native/guide-text-color.md): Add a color button to the composer's formatting toolbar that colors the selected text, and see the color rendered in the sent message. +- [Custom Text Formatter](https://www.cometchat.com/docs/ui-kit/react-native/guide-custom-text-formatter.md): Build a minimal color formatter, bind it to a toolbar button in the composer, and render the result everywhere the message appears. +- [Search Messages](https://www.cometchat.com/docs/ui-kit/react-native/guide-search-messages.md): Add full-text message search across conversations with result routing in CometChat React Native UI Kit. +- [Message Privately](https://www.cometchat.com/docs/ui-kit/react-native/guide-message-privately.md): Start private one-to-one chats from CometChat React Native UI Kit group conversations using the built-in message option and openChat event. +- [Block/Unblock Users](https://www.cometchat.com/docs/ui-kit/react-native/guide-block-unblock-user.md): Implement block and unblock user functionality in CometChat React Native UI Kit with composer state management. +- [Custom Message Types](https://www.cometchat.com/docs/ui-kit/react-native/custom-message-types.md): Register a custom message type in the CometChat React Native UI Kit using DataSourceDecorator, ChatConfigurator and ExtensionsDataSource — the five required overrides, and the registration timing that makes them stick. +- [Text Formatters](https://www.cometchat.com/docs/ui-kit/react-native/custom-text-formatter-guide.md): Extend the CometChatTextFormatter base class to implement custom inline text patterns with regex and callbacks in React Native. +- [Mentions Formatter](https://www.cometchat.com/docs/ui-kit/react-native/mentions-formatter-guide.md): Format and style @mentions in chat messages with customizable text styles and click handlers using CometChatMentionsFormatter. +- [URL Formatter](https://www.cometchat.com/docs/ui-kit/react-native/url-formatter-guide.md): Detect and style plain URLs, emails, and phone numbers as clickable links in CometChat React Native UI Kit. +- [ShortCut Formatter](https://www.cometchat.com/docs/ui-kit/react-native/shortcut-formatter-guide.md): Create custom text shortcuts for quick message composition by extending CometChatTextFormatter in React Native. +- [Apple Privacy Manifest](https://www.cometchat.com/docs/ui-kit/react-native/apple-privacy-manifest-guide.md): Configure the required Apple Privacy Manifest for CometChat React Native UI Kit to comply with App Store requirements. + +#### Migration Guide + +- [Upgrading From V4 to V5](https://www.cometchat.com/docs/ui-kit/react-native/upgrading-from-v4.md): Migrate from CometChat React Native UI Kit v4 to v5 with updated components, simplified theming, and modular architecture. +- [Property Changes](https://www.cometchat.com/docs/ui-kit/react-native/property-changes.md): Comprehensive reference of new, renamed, and removed properties for each CometChat React Native UI Kit v5 component. + +#### Other pages + +- [Troubleshooting](https://www.cometchat.com/docs/ui-kit/react-native/troubleshooting.md): Troubleshoot CometChat React Native UI Kit setup, initialization, login, theming, permissions, messaging, calling, and build issues. + +### UI Kits › iOS v5 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/ios/llms-ios-v5.md) + +- [CometChat UI Kit For iOS](https://www.cometchat.com/docs/ui-kit/ios/overview.md): Integrate chat functionality into iOS applications with prebuilt, modular, and customizable UI components + +#### Getting Started + +- [iOS Integration](https://www.cometchat.com/docs/ui-kit/ios/getting-started.md): Integrate CometChat iOS UI Kit with project setup, package installation, initialization, login, rendering, permissions, and optional calling. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/ios/ios-conversation.md): Build CometChat iOS UI Kit conversation list and message view layouts with push navigation, headers, message lists, and composers. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/ios/ios-one-to-one-chat.md): Build focused CometChat iOS UI Kit one-to-one or group chat screens with headers, message lists, composers, and direct chat navigation. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/ios/ios-tab-based-chat.md): Build CometChat iOS UI Kit tab-based chat with Chats, Calls, Users, and Groups tabs, message views, and UITabBarController navigation. +- [Calling Integration](https://www.cometchat.com/docs/ui-kit/ios/calling-integration.md): Add voice and video calling to CometChat iOS UI Kit with Calls SDK installation via Swift Package Manager and verification. + +#### Features › Chat + +- [Core Features](https://www.cometchat.com/docs/ui-kit/ios/core-features.md): Review CometChat iOS UI Kit core features for messaging, media sharing, receipts, typing indicators, presence, reactions, threads, and search. +- [Offline Support](https://www.cometchat.com/docs/ui-kit/ios/offline-support.md): Turn on offline support in the CometChat iOS UI Kit so saved chats open without a connection, text messages queue until reconnect, and every list shows clear offline states. +- [RTL Support](https://www.cometchat.com/docs/ui-kit/ios/rtl-support.md): Set the layout direction of the CometChat iOS UI Kit for right-to-left languages, for the whole kit or for a single component. +- [Extensions](https://www.cometchat.com/docs/ui-kit/ios/extensions.md): Enable CometChat iOS UI Kit extensions for stickers, polls, collaboration tools, reactions, moderation, smart replies, and link previews. +- [AI Features](https://www.cometchat.com/docs/ui-kit/ios/ai-features.md): Complete guide to AI-powered chat features in iOS apps - conversation starters, smart replies, and summaries + +#### Features + +- [Calling Features](https://www.cometchat.com/docs/ui-kit/ios/call-features.md): Complete guide to adding voice and video calling to iOS apps with CometChat UI Kit - production-ready code included +- [Campaigns](https://www.cometchat.com/docs/ui-kit/ios/campaigns.md): Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer. + +#### Theming + +- [Introduction](https://www.cometchat.com/docs/ui-kit/ios/theme-introduction.md): Customize CometChat iOS UI Kit themes with global colors, typography, spacing, component styles, branding, and light or dark mode. +- [Color Resources](https://www.cometchat.com/docs/ui-kit/ios/color-resources.md): Customize CometChat iOS UI Kit color resources with brand colors, backgrounds, text, alerts, dark mode, and theme timing. +- [Component Styling](https://www.cometchat.com/docs/ui-kit/ios/component-styling.md): Style CometChat iOS UI Kit components globally or per instance with style classes, base styles, colors, fonts, and custom appearances. +- [Message Bubble Styling](https://www.cometchat.com/docs/ui-kit/ios/message-bubble-styling.md): Customize CometChat iOS UI Kit message bubbles with incoming and outgoing styles, borders, corner radius, and per-message-type styling. +- [Localize](https://www.cometchat.com/docs/ui-kit/ios/localize.md): Adapt CometChat UI Kit to different languages and customize date/time formatting for your iOS application +- [Sound Manager](https://www.cometchat.com/docs/ui-kit/ios/sound-manager.md): Manage CometChat iOS UI Kit sounds for incoming and outgoing messages, calls, custom audio files, playback, and pause controls. + +#### Components + +- [Components Overview](https://www.cometchat.com/docs/ui-kit/ios/components-overview.md): Understand CometChat iOS UI Kit component types, base components, composite components, actions, events, filters, and customization. +- [Conversations](https://www.cometchat.com/docs/ui-kit/ios/conversations.md): Display CometChat iOS UI Kit conversations with last messages, unread counts, typing indicators, presence, filters, and item callbacks. +- [Users](https://www.cometchat.com/docs/ui-kit/ios/users.md): Display CometChat iOS UI Kit users with avatars, online status, search, filtering, selection callbacks, and conversation navigation. +- [Groups](https://www.cometchat.com/docs/ui-kit/ios/groups.md): Display CometChat iOS UI Kit groups with avatars, member counts, group type indicators, search, filtering, join, and conversation actions. +- [Group Members](https://www.cometchat.com/docs/ui-kit/ios/group-members.md): Display and manage CometChat iOS UI Kit group members with roles, search, kick, ban, scope changes, and permission-based actions. +- [Message Header](https://www.cometchat.com/docs/ui-kit/ios/message-header.md): Configure CometChat iOS UI Kit Message Header with user or group details, avatar, status, typing indicators, navigation, and call buttons. +- [Message List](https://www.cometchat.com/docs/ui-kit/ios/message-list.md): Display CometChat iOS UI Kit messages with text, media, reactions, threads, real-time updates, filters, and message callbacks. +- [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/message-composer.md): Configure CometChat iOS UI Kit Message Composer for text, media, attachments, mentions, voice notes, custom messages, and threads. +- [Compact Message Composer](https://www.cometchat.com/docs/ui-kit/ios/compact-message-composer.md): Configure CometChat iOS UI Kit Compact Message Composer with single-line input, rich text, attachments, mentions, stickers, and voice recording. +- [Threaded Messages Header](https://www.cometchat.com/docs/ui-kit/ios/threaded-messages-header.md): Configure CometChat iOS UI Kit threaded message headers with parent message context, reply lists, composer layout, and back actions. +- [Pinned Messages](https://www.cometchat.com/docs/ui-kit/ios/pinned-messages.md): Display and manage CometChat iOS UI Kit pinned messages for a conversation with per-row unpin, jump-to-message, custom view slots, and styling. +- [Saved Messages](https://www.cometchat.com/docs/ui-kit/ios/saved-messages.md): Display CometChat iOS UI Kit saved messages for the logged-in user across every conversation, with per-row unsave, source labels, and tap to open the chat. +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/ios/incoming-call.md): Handle incoming CometChat iOS UI Kit voice and video calls with caller details, accept, reject, custom sounds, and view slots. +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/ios/outgoing-call.md): Display CometChat iOS UI Kit outgoing call screens with recipient details, cancel actions, custom sounds, and outgoing call callbacks. +- [Ongoing Call](https://www.cometchat.com/docs/ui-kit/ios/ongoing-call.md): Display CometChat iOS UI Kit ongoing calls with video, call controls, participant management, recording, screen sharing, and callbacks. +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/ios/call-buttons.md): Add CometChat iOS UI Kit call buttons for voice and video calls with user or group targets, click callbacks, and error handling. +- [Call Logs](https://www.cometchat.com/docs/ui-kit/ios/call-logs.md): Display CometChat iOS UI Kit call logs with call type, duration, participants, timestamps, request builders, and selection callbacks. +- [AI Assistant Chat History](https://www.cometchat.com/docs/ui-kit/ios/ai-assistant-chat-history.md): Complete guide to displaying AI assistant conversation history in iOS apps - production-ready code included +- [Search](https://www.cometchat.com/docs/ui-kit/ios/search.md): Search CometChat iOS UI Kit conversations and messages with filters, scoped results, request builders, and selection callbacks. +- [Notification Feed](https://www.cometchat.com/docs/ui-kit/ios/notification-feed.md): Full-screen notification feed component with category filtering, card rendering, real-time updates, and engagement reporting. + +#### Reference + +- [Methods](https://www.cometchat.com/docs/ui-kit/ios/methods.md): Reference for CometChatUIKit wrapper methods that manage SDK operations, internal eventing, login, logout, user creation, and message sending in the iOS UI Kit. +- [Events](https://www.cometchat.com/docs/ui-kit/ios/events.md): Listen and respond to user actions and state changes in CometChat UI Kit + +#### Advanced + +- [ShortCut Formatter](https://www.cometchat.com/docs/ui-kit/ios/shortcut-formatter-guide.md): Implement message shortcuts using the ShortCutFormatter class in CometChat UI Kit for iOS +- [Mentions Formatter](https://www.cometchat.com/docs/ui-kit/ios/mentions-formatter-guide.md): Format @mentions in CometChat iOS UI Kit messages with custom styles, mention suggestions, group member mentions, and tap handling. +- [Message Template](https://www.cometchat.com/docs/ui-kit/ios/message-template.md): Define CometChat iOS UI Kit message templates with custom bubble structure, content views, header views, reply views, and interactions. + +#### Guides + +- [Overview](https://www.cometchat.com/docs/ui-kit/ios/guide-overview.md): Browse iOS UI Kit feature guides for AI agents, user blocking, call details, group management, private messages, new chats, and threads. +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/ios/guide-threaded-messages.md): Add threaded messages in CometChat iOS UI Kit with parent message context, reply views, message composers, and thread navigation. +- [Thread Subscription](https://www.cometchat.com/docs/ui-kit/ios/guide-thread-subscription.md): Let users subscribe to or unsubscribe from message threads in the CometChat iOS UI Kit so notifications only reach the people who care. +- [Pin & Save Messages](https://www.cometchat.com/docs/ui-kit/ios/guide-pin-save-message.md): Enable pin and save messages in the CometChat iOS UI Kit, wire the pinned and saved screens, gate pinning by role, and handle limit and permission errors. +- [Block/Unblock User](https://www.cometchat.com/docs/ui-kit/ios/guide-block-unblock-user.md): Build CometChat iOS UI Kit user profile actions for messaging, audio/video calls, block and unblock, and delete conversation flows. +- [Create Conversation](https://www.cometchat.com/docs/ui-kit/ios/guide-new-chat.md): Create new one-to-one or group conversations in CometChat iOS UI Kit with user and group discovery, search, tabs, and navigation. +- [Message Privately](https://www.cometchat.com/docs/ui-kit/ios/guide-message-privately.md): Start private one-to-one chats from CometChat iOS UI Kit group conversations with message options, user lookup, and chat navigation. +- [Call Log Details](https://www.cometchat.com/docs/ui-kit/ios/guide-call-log-details.md): Show CometChat iOS UI Kit call log details with call history, participants, recordings, tabbed views, and Calls SDK integration. +- [Group Details](https://www.cometchat.com/docs/ui-kit/ios/guide-group-chat.md): Display CometChat iOS UI Kit group details with group info, join, leave, delete, member management, and real-time group events. +- [Transfer Group Ownership](https://www.cometchat.com/docs/ui-kit/ios/guide-group-ownership.md): Transfer CometChat iOS UI Kit group ownership to another member with member selection, ownership API calls, and post-transfer flow. +- [AI Agent Integration](https://www.cometchat.com/docs/ui-kit/ios/guide-ai-agent.md): Add CometChat iOS UI Kit AI agents with chat history, contextual responses, streaming messages, suggested prompts, and custom styling. + +#### Migration Guide + +- [Upgrading from V4 to V5](https://www.cometchat.com/docs/ui-kit/ios/upgrading-from-v4.md): Migration guide for upgrading from CometChat iOS UI Kit v4 to v5 with breaking changes, property updates, and new patterns. + +#### Other pages + +- [Troubleshooting](https://www.cometchat.com/docs/ui-kit/ios/troubleshooting.md): Troubleshoot CometChat iOS UI Kit setup, CocoaPods, Swift Package Manager, initialization, theming, permissions, and real-time updates. + +### UI Kits › Android v6 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/android/llms-android-v6.md) + +- [Android UI Kit](https://www.cometchat.com/docs/ui-kit/android/overview.md): Prebuilt, customizable UI components for chat & messaging, voice & video calling — for both Jetpack Compose and Kotlin XML Views. + +#### Getting Started + +- [Getting Started With CometChat Android UI Kit](https://www.cometchat.com/docs/ui-kit/android/getting-started.md): Install, configure, and launch the CometChat Android UI Kit in your app — choose Kotlin (XML Views) or Jetpack Compose. +- [Getting Started With Kotlin UI Kit](https://www.cometchat.com/docs/ui-kit/android/getting-started-kotlin.md): Step-by-step guide to integrate the CometChat Kotlin UI Kit with XML Views into your Android app. +- [Getting Started With Jetpack Compose UI Kit](https://www.cometchat.com/docs/ui-kit/android/getting-started-jetpack.md): Step-by-step guide to integrate the CometChat Jetpack Compose UI Kit into your Android app. +- [Building A One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/android/one-to-one-chat.md): Launch a direct one-on-one or group chat screen without a conversation list for focused messaging. +- [Building A Tab-Based Messaging UI](https://www.cometchat.com/docs/ui-kit/android/tab-based-chat.md): Create a tab-based messaging UI with bottom navigation for Chats, Calls, Users, and Groups. +- [Calling Integration](https://www.cometchat.com/docs/ui-kit/android/calling-integration.md): Add voice and video calling to your Android UI Kit application using chatuikit-kotlin or chatuikit-compose: Calls SDK, push ringing, permissions and logout. + +#### Features › Chat + +- [Core](https://www.cometchat.com/docs/ui-kit/android/core-features.md): Overview of CometChat's core chat features including instant messaging, media sharing, read receipts, typing indicators, user presence, reactions, mentions, threaded conversations, and moderation. +- [Offline Support](https://www.cometchat.com/docs/ui-kit/android/offline-support.md): Turn on offline support in the CometChat Android UI Kit so saved chats open without a connection, messages queue until reconnect, and every list shows clear offline states. +- [RTL Support](https://www.cometchat.com/docs/ui-kit/android/rtl-support.md): Show CometChat Android UI Kit components right to left for Arabic and other RTL languages, globally or per component, with layoutDirection. +- [Extensions](https://www.cometchat.com/docs/ui-kit/android/extensions.md): Enable built-in CometChat extensions like reactions, stickers, polls, and link previews from the dashboard. +- [Smart Chat Features](https://www.cometchat.com/docs/ui-kit/android/ai-features.md): Integrate AI-powered conversation starters, smart replies, and conversation summaries into your Android chat app. + +#### Features + +- [Call](https://www.cometchat.com/docs/ui-kit/android/call-features.md): Add one-on-one and group audio/video calling to your Android app using the CometChat Calls SDK and UI Kit. +- [Campaigns](https://www.cometchat.com/docs/ui-kit/android/campaigns.md): Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer. + +#### Theming + +- [Introduction](https://www.cometchat.com/docs/ui-kit/android/theme-introduction.md): Create and apply a global CometChat UI Kit theme to match your brand across light and dark modes. +- [Color Resources](https://www.cometchat.com/docs/ui-kit/android/color-resources.md): Review and override the default UI Kit color palette for consistent light and dark mode styling. +- [Component Styling](https://www.cometchat.com/docs/ui-kit/android/component-styling.md): Style CometChat UI Kit components using XML theme attributes or Compose style data classes. +- [Message Bubble Styling](https://www.cometchat.com/docs/ui-kit/android/message-bubble-styling.md): Configure and style incoming, outgoing, and specific message bubbles in your Android UI Kit. +- [Localize](https://www.cometchat.com/docs/ui-kit/android/localize.md): Set the UI Kit language and override text labels to match your users' locale. +- [Sound Manager](https://www.cometchat.com/docs/ui-kit/android/sound-manager.md): Play, pause, and customize audio cues for calls and messages using CometChatSoundManager. + +#### Customization + +- [Overview](https://www.cometchat.com/docs/ui-kit/android/customization-overview.md): Understand the layered architecture and discover all customization entry points in the CometChat Android UI Kit. +- [View Slots](https://www.cometchat.com/docs/ui-kit/android/customization-view-slots.md): Replace specific regions of a component's UI without rebuilding the entire component. +- [Styles](https://www.cometchat.com/docs/ui-kit/android/customization-styles.md): Customize component appearance using XML theme attributes, programmatic setters, or Compose style data classes. +- [ViewModel & Data](https://www.cometchat.com/docs/ui-kit/android/customization-viewmodel-data.md): Access and configure the ViewModel layer to customize data fetching, state management, and list operations. +- [Events & Callbacks](https://www.cometchat.com/docs/ui-kit/android/customization-events.md): Handle user interaction events, selection mode, and global UI Kit events. +- [State Views](https://www.cometchat.com/docs/ui-kit/android/customization-state-views.md): Replace the default empty, error, and loading state views with custom layouts. +- [Text Formatters](https://www.cometchat.com/docs/ui-kit/android/customization-text-formatters.md): Create custom text processors for hashtags, mentions, links, or any pattern using the CometChatTextFormatter API. +- [Menu & Options](https://www.cometchat.com/docs/ui-kit/android/customization-menu-options.md): Add, replace, or extend context menu actions on components. + +#### Components + +- [Overview](https://www.cometchat.com/docs/ui-kit/android/components-overview.md): Browse all prebuilt UI components in the CometChat Android UI Kit. +- [Conversations](https://www.cometchat.com/docs/ui-kit/android/conversations.md): Scrollable list of recent one-on-one and group conversations for the logged-in user. +- [Building A Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/android/conversation-message-view.md): Build a conversation list with a full-screen message view using the Kotlin XML Views or Jetpack Compose UI Kit. +- [Users](https://www.cometchat.com/docs/ui-kit/android/users.md): Scrollable list of all available users with search, avatars, names, and online/offline status indicators. +- [Groups](https://www.cometchat.com/docs/ui-kit/android/groups.md): Scrollable list of all available groups with search, avatars, names, and group type indicators. +- [Group Members](https://www.cometchat.com/docs/ui-kit/android/group-members.md): Scrollable list of all members in a group with search, avatars, names, scope badges, and online/offline status. +- [Message Header](https://www.cometchat.com/docs/ui-kit/android/message-header.md): Header bar displaying user/group avatar, name, status, typing indicator, call buttons, and back navigation. +- [Message List](https://www.cometchat.com/docs/ui-kit/android/message-list.md): Scrollable list of messages for a conversation with real-time updates, reactions, threaded replies, and message actions. +- [Message Composer](https://www.cometchat.com/docs/ui-kit/android/message-composer.md): Message input area with send, attachment, voice note, sticker, and AI buttons. Supports text, media, mentions, and message editing. +- [Message Bubble Factory](https://www.cometchat.com/docs/ui-kit/android/message-template.md): Customize message bubble structure, layout, and behavior with BubbleFactory. +- [Threaded Messages Header](https://www.cometchat.com/docs/ui-kit/android/threaded-messages-header.md): Displays the parent message bubble and reply count for a threaded conversation. +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/android/incoming-call.md): Deprecated incoming call screen, kept for apps that draw the ring screen themselves; incoming calls now ring through the Push Notifications SDK. +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/android/outgoing-call.md): Full-screen outgoing call UI with recipient avatar, name, calling and ringing status, end-call button, and the reason when a call is declined, busy or unanswered. +- [Ongoing Call](https://www.cometchat.com/docs/ui-kit/android/ongoing-call.md): In-call screen that joins the call session and renders the Calls SDK's call UI, for outgoing, answered incoming and group calls. +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/android/call-buttons.md): Voice and video call buttons that initiate calls for a given user or group. +- [Call Logs](https://www.cometchat.com/docs/ui-kit/android/call-logs.md): Scrollable list of call logs for the logged-in user with caller names, avatars, call status, and timestamps. +- [Search](https://www.cometchat.com/docs/ui-kit/android/search.md): Real-time search interface for finding conversations and messages with filters, scopes, and customization options. +- [Pinned Messages](https://www.cometchat.com/docs/ui-kit/android/pinned-messages.md): Full-screen list of all messages pinned in a conversation, with jump-to-message and unpin actions. +- [Saved Messages](https://www.cometchat.com/docs/ui-kit/android/saved-messages.md): Full-screen, private list of every message the logged-in user has saved, across all of their conversations. +- [AI Assistant Chat History](https://www.cometchat.com/docs/ui-kit/android/ai-assistant-chat-history.md): Displays the conversation history between users and an AI assistant for easy review of past interactions. +- [Notification Feed](https://www.cometchat.com/docs/ui-kit/android/notification-feed.md): Full-screen notification feed component with category filtering, card rendering, real-time updates, and engagement reporting. + +#### Reference + +- [Methods](https://www.cometchat.com/docs/ui-kit/android/methods.md): Use CometChatUIKit wrapper methods for initialization, authentication, user creation, and message sending. +- [Events](https://www.cometchat.com/docs/ui-kit/android/events.md): Listen to UI Kit events for user actions, group changes, messages, and call lifecycle updates using CometChatEvents SharedFlow. + +#### Guides + +- [Overview](https://www.cometchat.com/docs/ui-kit/android/guide-overview.md): Index of task-oriented feature guides for the CometChat Android UI Kit. +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/android/guide-threaded-messages.md): Implement threaded replies so users can respond to specific messages in a focused sub-conversation. +- [Pin & Save Messages](https://www.cometchat.com/docs/ui-kit/android/guide-pin-and-save-messages.md): Add pinned messages, saved messages, and pinned conversations to your app with the built-in options, indicators, and screens. +- [Block/Unblock User](https://www.cometchat.com/docs/ui-kit/android/guide-block-unblock-user.md): Let users block and unblock others directly within chat to control unwanted communication. +- [New Chat](https://www.cometchat.com/docs/ui-kit/android/guide-new-chat.md): Enable users to start one-on-one or group chats from a new chat screen with user and group browsing. +- [Message Privately](https://www.cometchat.com/docs/ui-kit/android/guide-message-privately.md): Allow users to start a private one-on-one chat from a user profile or list screen. +- [Call Log Details](https://www.cometchat.com/docs/ui-kit/android/guide-call-log-details.md): Build a call log details screen showing metadata, participants, join/leave history, and recordings. +- [Group Management](https://www.cometchat.com/docs/ui-kit/android/guide-group-chat.md): Implement group creation, joining, member management, banning, scope changes, and ownership transfer. +- [Color Selected Text](https://www.cometchat.com/docs/ui-kit/android/guide-text-color.md): Add a color button to the composer's rich-text toolbar that colors the selected text, and render that color in the sent message. +- [Text Formatter Base Class](https://www.cometchat.com/docs/ui-kit/android/custom-text-formatter-guide.md): Extend CometChatTextFormatter to build custom inline text patterns with tracking characters and suggestion lists. +- [Mentions Formatter](https://www.cometchat.com/docs/ui-kit/android/mentions-formatter-guide.md): Format and style @mentions in messages with customizable appearance and click handling. +- [ShortCut Formatter](https://www.cometchat.com/docs/ui-kit/android/shortcut-formatter-guide.md): Add shortcut text expansion to the message composer using CometChatTextFormatter and the message-shortcuts extension. +- [Search Messages](https://www.cometchat.com/docs/ui-kit/android/guide-search-messages.md): Add full-text message search across conversations with result routing in CometChat Android UI Kit. +- [AI Agent Integration](https://www.cometchat.com/docs/ui-kit/android/guide-ai-agent.md): Enable AI-powered conversational assistance with chat history, contextual responses, and seamless handoffs. + +#### Migration Guide + +- [Upgrading from V5 to V6](https://www.cometchat.com/docs/ui-kit/android/upgrading-from-v5.md): Migrate your Android app from CometChat UI Kit V5 to V6 with updated dependencies, architecture, and API changes. + +#### Other pages + +- [Architecture & Data Flow](https://www.cometchat.com/docs/ui-kit/android/architecture-data-flow.md): How chatuikit-core, chatuikit-compose, and chatuikit-kotlin modules are structured using Clean Architecture. +- [Troubleshooting](https://www.cometchat.com/docs/ui-kit/android/troubleshooting.md): Common failure modes and fixes for the CometChat Android V6 UI Kit. + +### UI Kits › Flutter v6 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/flutter/llms-flutter-v6.md) + +- [CometChat UI Kit For Flutter (V6)](https://www.cometchat.com/docs/ui-kit/flutter/overview.md): Use CometChat Flutter UI Kit V6 to add prebuilt chat widgets, calls, theming, localization, and customizable messaging experiences. + +#### Getting Started + +- [Getting Started With CometChat Flutter UI Kit V6](https://www.cometchat.com/docs/ui-kit/flutter/getting-started.md): Set up CometChat Flutter UI Kit V6 with app credentials, package installation, initialization, users, groups, messages, and calls. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/flutter/flutter-conversation.md): Build a two-panel CometChat Flutter UI Kit layout with a conversation list, active message view, headers, lists, and composer. +- [Building A One To One/Group Chat Experience](https://www.cometchat.com/docs/ui-kit/flutter/flutter-one-to-one-chat.md): Build one-to-one and group chat screens in CometChat Flutter UI Kit with message headers, message lists, composers, and user lookup. +- [Building A Messaging UI With Tabs, Sidebar, And Message View](https://www.cometchat.com/docs/ui-kit/flutter/flutter-tab-based-chat.md): Build a tab-based CometChat Flutter UI Kit chat UI with conversations, users, groups, sidebar navigation, and message view. +- [Calling Integration](https://www.cometchat.com/docs/ui-kit/flutter/calling-integration.md): Add voice and video calling to your Flutter UI Kit app: enable calls, ring incoming calls with cometchat_voip through the UI Kit's call push bridge, permissions and logout. + +#### Features › Chat + +- [Core Features](https://www.cometchat.com/docs/ui-kit/flutter/core-features.md): Review CometChat Flutter UI Kit core features for messaging, media sharing, receipts, presence, reactions, threads, and calls. +- [Offline Support](https://www.cometchat.com/docs/ui-kit/flutter/offline-support.md): Show saved chats and messages without a connection, queue messages while offline, and send them on reconnect with the CometChat Flutter UI Kit. +- [RTL Support](https://www.cometchat.com/docs/ui-kit/flutter/rtl-support.md): Show CometChat Flutter UI Kit components right to left for Arabic and other RTL languages, globally or per component, with layoutDirection. +- [Extensions](https://www.cometchat.com/docs/ui-kit/flutter/extensions.md): Use CometChat Flutter UI Kit extensions for stickers, polls, collaborative tools, reactions, smart replies, and link previews. + +#### Features + +- [Call](https://www.cometchat.com/docs/ui-kit/flutter/call-features.md): Add one-on-one and group audio and video calling to your Flutter UI Kit app: how a call works, what rings incoming calls, and which component handles each part. +- [Campaigns](https://www.cometchat.com/docs/ui-kit/flutter/campaigns.md): Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer. + +#### Theming + +- [Theming In CometChat Flutter UI Kit V6](https://www.cometchat.com/docs/ui-kit/flutter/theme-introduction.md): Customize CometChat Flutter UI Kit themes with color palettes, typography, spacing, light and dark mode, icons, and ThemeExtension. +- [Color Resources](https://www.cometchat.com/docs/ui-kit/flutter/color-resources.md): Customize the CometChat Flutter UI Kit theme with palettes for light mode, dark mode, backgrounds, text, borders, icons, and buttons. +- [Component Styling](https://www.cometchat.com/docs/ui-kit/flutter/component-styling.md): Style CometChat Flutter UI Kit components with ThemeData extensions, component-level style objects, message bubbles, and call UI. +- [Customizing Message Bubbles](https://www.cometchat.com/docs/ui-kit/flutter/message-bubble-styling.md): Customize CometChat Flutter UI Kit message bubbles with incoming and outgoing styles, theme extensions, reactions, timestamps, and avatars. +- [Localize](https://www.cometchat.com/docs/ui-kit/flutter/localize.md): Localize CometChat Flutter UI Kit with supported languages, device language detection, translation files, and MaterialApp setup. +- [Sound Manager](https://www.cometchat.com/docs/ui-kit/flutter/sound-manager.md): Manage CometChat Flutter UI Kit sounds for incoming and outgoing messages, calls, custom audio, playback, and stop controls. + +#### Components + +- [Overview](https://www.cometchat.com/docs/ui-kit/flutter/components-overview.md): Explore CometChat Flutter UI Kit V6 widgets, base widgets, component architecture, actions, filters, styles, and customization. +- [Conversations](https://www.cometchat.com/docs/ui-kit/flutter/conversations.md): Display CometChat Flutter UI Kit conversations with real-time updates for messages, typing indicators, read receipts, and presence. +- [Users](https://www.cometchat.com/docs/ui-kit/flutter/users.md): Scrollable list of all available users with search, avatars, names, and online/offline status indicators. +- [Groups](https://www.cometchat.com/docs/ui-kit/flutter/groups.md): Scrollable list of all available groups with search, avatars, group type indicators, and member counts. +- [Group Members](https://www.cometchat.com/docs/ui-kit/flutter/group-members.md): Scrollable list of members in a group with scope indicators, search, and member management actions. +- [Message Header](https://www.cometchat.com/docs/ui-kit/flutter/message-header.md): Configure CometChat Flutter UI Kit Message Header with user or group details, presence, typing indicators, navigation, and actions. +- [Message List](https://www.cometchat.com/docs/ui-kit/flutter/message-list.md): Scrollable list of messages for a conversation with real-time updates, reactions, threaded replies, and message actions. +- [Message Composer](https://www.cometchat.com/docs/ui-kit/flutter/message-composer.md): Configure CometChat Flutter UI Kit Message Composer for text, media, custom messages, live reactions, editing, rich text, and audio. +- [Threaded Messages Header](https://www.cometchat.com/docs/ui-kit/flutter/threaded-messages-header.md): Header component for threaded conversations showing the parent message, reply count, and thread navigation. +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/flutter/incoming-call.md): Deprecated incoming call screen, shown on web only; on Android and iOS incoming calls ring through cometchat_voip. +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/flutter/outgoing-call.md): Full-screen view displaying recipient information and call status during an outgoing call, with automatic transition to the ongoing call screen. +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/flutter/call-buttons.md): Add CometChat Flutter UI Kit call buttons for voice and video calling, call settings, and call-related user actions. +- [Call Logs](https://www.cometchat.com/docs/ui-kit/flutter/call-logs.md): Show CometChat Flutter UI Kit call logs with audio/video status, missed calls, timestamps, pagination, and call actions. +- [Search](https://www.cometchat.com/docs/ui-kit/flutter/search.md): Add CometChat Flutter UI Kit search for conversations and messages with categorized results and navigation callbacks. +- [Pinned Messages](https://www.cometchat.com/docs/ui-kit/flutter/pinned-messages.md): A screen listing every pinned message in one conversation, with long-press unpin and tap-to-jump. +- [Saved Messages](https://www.cometchat.com/docs/ui-kit/flutter/saved-messages.md): A screen listing the logged-in user's saved messages across every conversation, with long-press unsave and tap-to-open. +- [Notification Feed](https://www.cometchat.com/docs/ui-kit/flutter/notification-feed.md): Full-screen notification feed component with category filtering, card rendering, real-time updates, and engagement reporting. + +#### Reference + +- [Methods](https://www.cometchat.com/docs/ui-kit/flutter/methods.md): Use CometChatUIKit methods for initialization, login, logout, users, groups, conversations, messages, calls, and session handling. +- [Events](https://www.cometchat.com/docs/ui-kit/flutter/events.md): Handle CometChat Flutter UI Kit events for users, groups, messages, conversations, calls, and UI-level interactions. + +#### Customization + +- [Customization Overview](https://www.cometchat.com/docs/ui-kit/flutter/customization-overview.md): Understand the Widget + BLoC + Template architecture and discover all customization entry points in the CometChat Flutter UI Kit. +- [View Slots](https://www.cometchat.com/docs/ui-kit/flutter/customization-view-slots.md): Replace specific regions of a component's UI using builder callbacks without rebuilding the entire component. +- [BLoC & Data](https://www.cometchat.com/docs/ui-kit/flutter/customization-bloc-data.md): Configure data fetching with RequestBuilders, provide custom BLoC instances, and listen to state changes. +- [State Views](https://www.cometchat.com/docs/ui-kit/flutter/customization-state-views.md): Replace CometChat Flutter UI Kit empty, error, loading, and chat greeting state views with custom Flutter widgets. +- [Text Formatters](https://www.cometchat.com/docs/ui-kit/flutter/customization-text-formatters.md): Create custom text processors for hashtags, mentions, links, or any pattern using the CometChatTextFormatter API. +- [Menu & Options](https://www.cometchat.com/docs/ui-kit/flutter/customization-menu-options.md): Customize CometChat Flutter UI Kit message options, long-press menus, composer attachments, and template-level actions. +- [MessageTemplateUtils & Data Source](https://www.cometchat.com/docs/ui-kit/flutter/customization-datasource.md): Customize how messages are rendered, what options appear on bubbles, and what formatters are used — all through the central MessageTemplateUtils registry. + +#### Advanced + +- [Message Template](https://www.cometchat.com/docs/ui-kit/flutter/message-template.md): Data structure for customizing CometChat Flutter UI Kit message bubbles, including content, header, footer, reply, and status views. +- [Mentions Formatter](https://www.cometchat.com/docs/ui-kit/flutter/mentions-formatter-guide.md): Format @mentions in CometChat Flutter UI Kit message lists, composers, and conversations with custom styles and tap handling. +- [Shortcut Formatter](https://www.cometchat.com/docs/ui-kit/flutter/shortcut-formatter-guide.md): Implement shortcut formatting in CometChat Flutter UI Kit with CometChatTextFormatter, trigger characters, and message shortcuts. +- [Custom Text Formatter Guide](https://www.cometchat.com/docs/ui-kit/flutter/custom-text-formatter-guide.md): Build a CometChat Flutter UI Kit text formatter for hashtags, links, tracked characters, composer suggestions, and message styling. +- [Troubleshooting](https://www.cometchat.com/docs/ui-kit/flutter/troubleshooting.md): Troubleshoot CometChat Flutter UI Kit V6 setup, login, theming, styling, messaging, calling, navigation, and build issues. + +#### Guides + +- [Overview](https://www.cometchat.com/docs/ui-kit/flutter/guide-overview.md): Browse Flutter UI Kit feature guides for blocking users, group chat, private messages, new chat flows, and threaded conversations. +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/flutter/guide-threaded-messages.md): Add threaded messages in CometChat Flutter UI Kit with parent message context, reply lists, and composers for focused conversations. +- [Thread Subscription](https://www.cometchat.com/docs/ui-kit/flutter/guide-thread-subscription.md): Let users subscribe to or unsubscribe from message threads in the CometChat Flutter UI Kit so notifications only reach the people who care. +- [Pin & Save Messages](https://www.cometchat.com/docs/ui-kit/flutter/guide-pin-and-save-messages.md): Add pinned messages, saved messages, and pinned conversations to your Flutter app with the built-in options, indicators, and screens. +- [Implementing Block/Unblock User in Flutter with CometChat UIKit](https://www.cometchat.com/docs/ui-kit/flutter/guide-block-unblock-user.md): Block and unblock users in CometChat Flutter UI Kit with blockUser and unblockUser methods for privacy and moderation. +- [New Chat](https://www.cometchat.com/docs/ui-kit/flutter/guide-new-chat.md): Create a CometChat Flutter UI Kit new chat screen for discovering users and groups and opening one-to-one or group conversations. +- [Message Privately](https://www.cometchat.com/docs/ui-kit/flutter/guide-message-privately.md): Start private one-to-one chats in CometChat Flutter UI Kit from a profile, member list, search result, or custom user context. +- [Call Log Details](https://www.cometchat.com/docs/ui-kit/flutter/guide-call-log-details.md): Show CometChat Flutter UI Kit call log details with participants, duration, timestamps, recordings, and call metadata. +- [Group Chat](https://www.cometchat.com/docs/ui-kit/flutter/guide-group-chat.md): Build CometChat Flutter UI Kit group chats with group lists, members, headers, message lists, and composers. +- [Message Agentic Flow](https://www.cometchat.com/docs/ui-kit/flutter/guide-message-agentic-flow.md): Implement CometChat Flutter UI Kit agentic message flows with AI-powered message handling and custom AI message rendering. +- [Multi Tab Chat UI Guide](https://www.cometchat.com/docs/ui-kit/flutter/multi-tab-chat-ui-guide.md): Build a multi-tab CometChat Flutter UI Kit chat interface with Conversations, Users, Groups, headers, message lists, and composers. + +#### Migration Guide + +- [Upgrading From V5](https://www.cometchat.com/docs/ui-kit/flutter/upgrading-from-v5.md): Upgrade from CometChat Flutter UI Kit V5 to V6 with package changes, initialization updates, BLoC architecture, and migration steps. + +### UI Kits › Angular v5 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/angular/llms-angular-v5.md) + +- [Angular UI Kit](https://www.cometchat.com/docs/ui-kit/angular/overview.md): Use CometChat Angular UI Kit to add standalone chat components, voice and video calling, theming, localization, and customization. + +#### Getting Started + +- [Quickstart](https://www.cometchat.com/docs/ui-kit/angular/quickstart.md): Get started with CometChat UIKit for Angular in minutes +- [Integration](https://www.cometchat.com/docs/ui-kit/angular/integration.md): Add CometChat to an Angular app in 6 steps: create project, install, init, login, add CSS, render. +- [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/angular/angular-conversation.md): Build a two-panel conversation list + message view layout in Angular with CometChat UI Kit. +- [One-to-One / Group Chat](https://www.cometchat.com/docs/ui-kit/angular/angular-one-to-one-chat.md): Build a focused one-to-one or group chat experience in Angular with CometChat UI Kit. +- [Tab-Based Chat](https://www.cometchat.com/docs/ui-kit/angular/angular-tab-based-chat.md): Build a tab-based messaging UI with chats, calls, users, and groups in Angular with CometChat UI Kit. + +#### Features › Chat + +- [Core Features](https://www.cometchat.com/docs/ui-kit/angular/core-features.md): Review CometChat Angular UI Kit core features for messaging, media sharing, receipts, typing indicators, presence, reactions, threads, and search. +- [Offline Support](https://www.cometchat.com/docs/ui-kit/angular/offline-support.md): Show cached chats and messages without a network and queue messages to send on reconnect with the CometChat Angular UI Kit. +- [Extensions](https://www.cometchat.com/docs/ui-kit/angular/extensions.md): Enable CometChat Angular UI Kit extensions for stickers, polls, collaboration tools, reactions, moderation, smart replies, and link previews. +- [AI Smart Chat Features](https://www.cometchat.com/docs/ui-kit/angular/ai-features.md): Enable CometChat Angular UI Kit AI Smart Chat features for conversation starters, smart replies, and conversation summaries. + +#### Features + +- [Call Features](https://www.cometchat.com/docs/ui-kit/angular/call-features.md): Add CometChat Angular UI Kit call features for voice and video calls, call logs, ongoing calls, incoming calls, and call buttons. +- [Campaigns](https://www.cometchat.com/docs/ui-kit/angular/campaigns.md): Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer. +- [RTL Support](https://www.cometchat.com/docs/ui-kit/angular/rtl-support.md): Show CometChat Angular UI Kit components right to left for Arabic and other RTL languages: from your page's direction, for the whole kit, or per component with layoutDirection. + +#### Theming + +- [Theming](https://www.cometchat.com/docs/ui-kit/angular/customization/theming.md): Customize the look and feel of CometChat UIKit using CSS variables +- [Message Bubble Styling](https://www.cometchat.com/docs/ui-kit/angular/message-bubble-styling.md): Style the Angular message bubbles with CSS custom properties and BEM selectors, including the multi-attachment bubbles for images, videos, audio, and files. +- [Localization](https://www.cometchat.com/docs/ui-kit/angular/customization/localization.md): Configure multi-language support, override translations globally, and add custom languages. +- [Global Configuration](https://www.cometchat.com/docs/ui-kit/angular/customization/global-config.md): Centralized configuration for CometChat Angular UIKit components using the COMETCHAT_GLOBAL_CONFIG injection token +- [Date & Time Formatting](https://www.cometchat.com/docs/ui-kit/angular/customization/date-time-formatting.md): Customize date and time display globally or per-component with language-aware defaults. +- [Sound Manager](https://www.cometchat.com/docs/ui-kit/angular/sound-manager.md): Manage and customize audio cues for incoming/outgoing calls and messages in CometChat Angular UIKit. + +#### Components + +- [Overview](https://www.cometchat.com/docs/ui-kit/angular/components/components-overview.md): Overview of all available UI components +- [Message Header](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-message-header.md): A feature-rich Angular component for displaying the header section of a chat conversation with real-time status updates, typing indicators, and action buttons +- [Search](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-search.md): A unified Angular search component for cross-entity search across conversations and messages with filter chips, scoped search, and template customization +- [Message List](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-message-list.md): A comprehensive Angular component for displaying real-time chat messages with extensive customization option and accessibility features +- [Message Composer](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-message-composer.md): A comprehensive Angular component for composing and sending messages with rich text editing, attachments, emoji picker, voice recording, and @mentions +- [Message Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-message-bubble.md): A flexible container component for rendering chat messages with configurable view slots, message options, and support for multiple message types +- [Message Information](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-message-information.md): A panel component for displaying detailed message information including delivery and read receipts +- [Thread Header](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-thread-header.md): A header component for threaded message views displaying the parent message preview, reply count, and close button +- [Pinned Messages](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-pinned-messages.md): A panel component listing the pinned messages of a one-on-one or group conversation +- [Saved Messages](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-saved-messages.md): A panel component listing the messages the logged-in user has saved, across every conversation +- [Notification Feed](https://www.cometchat.com/docs/ui-kit/angular/components/notification-feed.md): Full-screen notification feed component with category filtering, card rendering, real-time updates, and engagement reporting. + +#### Components › Conversations + +- [Conversations](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-conversations.md): A comprehensive Angular component for displaying and managing real-time chat conversations with extensive customization options +- [Conversation Item](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-conversation-item.md): A focused Angular component for rendering a single conversation item with slot-based customization and granular event handling + +#### Components › Users + +- [Users](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-users.md): A comprehensive Angular component for displaying and managing real-time user lists with extensive customization options +- [User Item](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-user-item.md): A standalone Angular component for rendering a single user item with avatar, status indicator, custom templates, and context menu support + +#### Components › Groups + +- [Groups](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-groups.md): A comprehensive Angular component for displaying and managing real-time group lists with extensive customization options +- [Group Item](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-group-item.md): A standalone Angular component for rendering a single group item with avatar, group type indicator, member count, and context menu support + +#### Components › Group Members + +- [Group Members](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-group-members.md): A comprehensive Angular component for displaying and managing group members with search, scope management, and extensive customization options +- [Group Member Item](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-group-member-item.md): A standalone Angular component for rendering a single group member item with avatar, role badge, status indicator, and context menu support + +#### Components › Message Bubbles + +- [Text Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-text-bubble.md): A comprehensive Angular component for rendering text messages with rich formatting, link previews, translations, mentions, and intelligent content truncation +- [Card Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-card-bubble.md): Angular component that renders a developer Card Message inside a message bubble using the prebuilt CometChat Cards renderer, with pure-forwarded card actions. +- [Image Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-image-bubble.md): A comprehensive Angular component for rendering image messages with grid layouts, fullscreen gallery viewer, and caption support +- [Video Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-video-bubble.md): A comprehensive Angular component for rendering video messages with thumbnails, play overlays, duration badges, and fullscreen video player +- [Audio Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-audio-bubble.md): A comprehensive Angular component for rendering audio messages with real-time waveform visualization, playback controls, download functionality, and caption support +- [File Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-file-bubble.md): A comprehensive Angular component for rendering file attachment messages with inline expand/collapse, file type icons, and caption support +- [Action Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-action-bubble.md): A simple Angular component for displaying action/system messages in a chat interface +- [Delete Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-delete-bubble.md): A simple Angular component for displaying deleted message placeholders in a chat interface +- [Call Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-call-bubble.md): An Angular component for displaying call messages in a chat interface with call type, status, duration, and optional action button +- [Poll Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-poll-bubble.md): An Angular component for displaying poll messages with voting functionality in a chat interface +- [Collaborative Document Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-collaborative-document-bubble.md): An Angular component for rendering collaborative document messages with banner images, localized text, and action buttons +- [Collaborative Whiteboard Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-collaborative-whiteboard-bubble.md): An Angular component for rendering collaborative whiteboard messages with banner images, localized text, and action buttons +- [Sticker Bubble](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-sticker-bubble.md): A standalone Angular component for rendering sticker messages with automatic URL extraction and alignment support +- [Stickers Keyboard](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-stickers-keyboard.md): A component for browsing and selecting stickers organized by category tabs with a grid layout + +#### Components › Reactions + +- [Reactions](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-reactions.md): A component that renders emoji reaction pills on a message bubble with overflow handling and popover support +- [Reaction List](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-reaction-list.md): A component for displaying all users who reacted to a message, with emoji filtering and pagination support +- [Reaction Info](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-reaction-info.md): A tooltip component that displays who reacted with a specific emoji on a message + +#### Components › Calls + +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-call-buttons.md): A standalone Angular component that provides voice and video call initiation buttons for user-to-user and group calls +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-incoming-call.md): A standalone Angular component that displays an incoming call notification with accept and decline actions +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-outgoing-call.md): A standalone Angular component that displays an outgoing call overlay with receiver information and a cancel button +- [Call Logs](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-call-logs.md): A comprehensive Angular component for displaying call history with support for audio/video call initiation, custom templates, and real-time call overlays + +#### Components › AI + +- [Smart Replies](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-smart-replies.md): An AI-powered component that displays smart reply suggestions based on the last received message +- [Conversation Starter](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-conversation-starter.md): An AI-powered component that displays conversation starter suggestions for new or empty conversations +- [Conversation Summary](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-conversation-summary.md): An AI-powered component that displays a conversation summary panel with loading, empty, and error states +- [CometChatAIAssistantChat](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-ai-assistant-chat.md): Top-level orchestrator component for the AI assistant chat experience with real-time streaming, tool call dispatch, chat history, and suggestion pills. +- [CometChatMarkdownRenderer](https://www.cometchat.com/docs/ui-kit/angular/components/cometchat-markdown-renderer.md): Zero-dependency Angular component that parses and renders markdown to HTML with streaming support, XSS sanitization, and a copy button per code block. + +#### Reference + +- [Events](https://www.cometchat.com/docs/ui-kit/angular/events.md): Reference for CometChat Angular UIKit events including conversation, user, group, message, call, and UI events. +- [Methods](https://www.cometchat.com/docs/ui-kit/angular/methods.md): Use CometChat Angular UI Kit methods for initialization, login, logout, users, groups, messages, calls, and session handling. +- [Accessibility](https://www.cometchat.com/docs/ui-kit/angular/accessibility.md): Overview of accessibility support in the CometChat Angular UIKit, including WCAG compliance, keyboard navigation, and ARIA attributes. +- [Troubleshooting](https://www.cometchat.com/docs/ui-kit/angular/troubleshooting.md): Common failure modes and fixes for the CometChat Angular UIKit. + +#### Guides + +- [Guides](https://www.cometchat.com/docs/ui-kit/angular/guides/guides-overview.md): Index of task-oriented feature guides for the CometChat Angular UIKit. +- [State Management](https://www.cometchat.com/docs/ui-kit/angular/guides/state-management.md): Understanding the Hybrid Approach architecture for managing chat state in the CometChat Angular UIKit +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/angular/guides/threaded-messages.md): Implement threaded message replies with parent context, reply list, and focused thread composer in CometChat Angular UIKit. +- [Thread Subscription](https://www.cometchat.com/docs/ui-kit/angular/guides/thread-subscription.md): Let users follow and unfollow message threads so they are notified about new replies, using the CometChat Angular UIKit. +- [Pin and Save Messages](https://www.cometchat.com/docs/ui-kit/angular/guides/pin-and-save-messages.md): Pin messages for everyone in a conversation, save messages privately, and pin conversations to the top of the list with the CometChat Angular UIKit. +- [Group Chat](https://www.cometchat.com/docs/ui-kit/angular/guides/group-chat.md): Implement group management including create, join, members, roles, and ownership transfer in CometChat Angular UIKit. +- [New Chat](https://www.cometchat.com/docs/ui-kit/angular/guides/new-chat.md): Build a unified new chat entry point for starting 1:1 or group conversations in CometChat Angular UIKit. +- [Block/Unblock Users](https://www.cometchat.com/docs/ui-kit/angular/guides/block-unblock-user.md): Implement block and unblock user functionality in CometChat Angular UIKit with composer state management. +- [Message Privately](https://www.cometchat.com/docs/ui-kit/angular/guides/message-privately.md): Launch a direct 1:1 chat from a group member profile in CometChat Angular UIKit. +- [Call Log Details](https://www.cometchat.com/docs/ui-kit/angular/guides/call-log-details.md): Build a detailed call insights screen with metadata, participants, and recordings in CometChat Angular UIKit. +- [Search Messages](https://www.cometchat.com/docs/ui-kit/angular/guides/search-messages.md): Add full-text message search across conversations with result routing in CometChat Angular UIKit. +- [Rich Text Formatting](https://www.cometchat.com/docs/ui-kit/angular/guides/rich-text-formatting.md): Apply rich text formatting — bold, italic, links and mentions — in the CometChat Angular UIKit. +- [Custom Message Types](https://www.cometchat.com/docs/ui-kit/angular/guides/custom-message-types.md): Register custom message bubble types, override conversation subtitles, and include custom messages in fetching. +- [Card Messages](https://www.cometchat.com/docs/ui-kit/angular/guides/card-messages.md): How the Angular UIKit renders Card Messages — developer cards, persisted agent cards, and streaming agent cards — and how to handle card actions. +- [Custom Text Formatter](https://www.cometchat.com/docs/ui-kit/angular/guides/custom-text-formatter.md): Build a text color formatter: add a color from the composer toolbar, send it as a token, and render it on every surface that shows the message. +- [Mentions Formatter](https://www.cometchat.com/docs/ui-kit/angular/guides/mentions-formatter.md): Add @mentions with styled tokens, suggestion list, and click handling in CometChat Angular UI Kit. +- [ShortCut Formatter](https://www.cometchat.com/docs/ui-kit/angular/guides/shortcut-formatter.md): Implement !shortcut style text expansions with extension APIs or dialogs in CometChat Angular UI Kit. +- [Hashtag Formatter](https://www.cometchat.com/docs/ui-kit/angular/guides/hashtag-formatter.md): Build a custom hashtag formatter that highlights #tags in the message composer, message bubbles, conversation last message, and edit view. +- [URL Formatter](https://www.cometchat.com/docs/ui-kit/angular/guides/url-formatter.md): Detect and style plain URLs as clickable links with optional tracking logic in CometChat Angular UI Kit. +- [RxJS Subscription Patterns](https://www.cometchat.com/docs/ui-kit/angular/guides/subscription-patterns.md): Approved patterns for managing RxJS subscriptions in the CometChat Angular V5 UIKit to prevent memory leaks. + +#### Services + +- [Services](https://www.cometchat.com/docs/ui-kit/angular/api-reference/introduction.md): Reference for CometChat UIKit Angular injectable services. +- [Chat State Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/chat-state-service.md): Service Reference for the centralized chat state management service in CometChat Angular UIKit +- [Message Bubble Config Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/message-bubble-config-service.md): API reference for the centralized message bubble view configuration service in CometChat Angular UIKit +- [CometChat Templates Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/templates-service.md): SDK-wide template customization service for all list components +- [Search Conversations Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/search-conversations-service.md): Signal-based service for conversation search state, SDK queries, pagination, and real-time listener management. +- [Search Messages Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/search-messages-service.md): Signal-based service for message search state, SDK queries, attachment-type filtering, and pagination. +- [Formatter Config Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/formatter-config-service.md): Service Reference for the centralized text-formatter configuration service in CometChat Angular UIKit +- [Rich Text Editor Service](https://www.cometchat.com/docs/ui-kit/angular/api-reference/rich-text-editor-service.md): Service Reference for the native-API rich text editor service in CometChat Angular UIKit + +#### Other pages + +- [Upgrading From V4](https://www.cometchat.com/docs/ui-kit/angular/customization/migration-guide.md): Upgrading from CometChat Angular UIKit v4 to v5 — architecture changes, theming, properties, and shared dependencies. + +### UI Kits › Vue v4 + +- [Index for this section](https://www.cometchat.com/docs/ui-kit/vue/llms-vue-v4.md) + +- [Overview](https://www.cometchat.com/docs/ui-kit/vue/overview.md): Use CometChat Vue UI Kit to add prebuilt chat components, messaging features, calls, customization, and sample app references. +- [Key Concepts](https://www.cometchat.com/docs/ui-kit/vue/key-concepts.md): Learn CometChat Vue UI Kit concepts for apps, auth keys, REST API keys, users, UIDs, groups, conversations, messages, and calls. + +#### Integration + +- [Integration](https://www.cometchat.com/docs/ui-kit/vue/integration.md): Integrate CometChat Vue UI Kit with App ID, Auth Key, Region, package setup, initialization, login, and chat component rendering. +- [CometChat UI Kit](https://www.cometchat.com/docs/ui-kit/vue/ui-kit-methods.md): Use the Vue UI Kit's CometChatUIKit class to initialise the SDK, log users in and out, create or update users, and send text, media, custom and form messages. +- [Theme](https://www.cometchat.com/docs/ui-kit/vue/theme.md): Customise the look and feel of the Vue UI Kit by providing a Theme object to your app, so the components match your application's branding. + +#### Conversations + +- [Conversations With Messages](https://www.cometchat.com/docs/ui-kit/vue/conversations-with-messages.md): Add the Vue UI Kit Conversations With Messages component, which pairs the recent conversations list with the messages view for 1:1 and group chats. +- [Conversations](https://www.cometchat.com/docs/ui-kit/vue/conversations.md): Use the Vue UI Kit Conversations component to list recent chats with users and groups, and set its properties so users can quickly resume a conversation. +- [Contacts](https://www.cometchat.com/docs/ui-kit/vue/contacts.md): Use the Vue UI Kit Contacts component to show users and groups in tabs with search and selection mode, and customise its tab layout and appearance. + +#### Users + +- [Users With Messages](https://www.cometchat.com/docs/ui-kit/vue/users-with-messages.md): Add the Vue UI Kit Users With Messages component, which pairs the list of all users with the messages view so people can start one-on-one chats. +- [Users](https://www.cometchat.com/docs/ui-kit/vue/users.md): Use the Vue UI Kit Users component to list all registered CometChat users with search and online status, and configure its properties to fit your app. +- [User Details](https://www.cometchat.com/docs/ui-kit/vue/user-details.md): Show a user's profile and settings with the Vue UI Kit Details component, including their picture, name and status, plus actions to block or unblock them. + +#### Groups + +- [Groups With Messages](https://www.cometchat.com/docs/ui-kit/vue/groups-with-messages.md): Add the Vue UI Kit Groups With Messages component, which pairs the list of groups with the messages view so members can chat within a group. +- [Groups](https://www.cometchat.com/docs/ui-kit/vue/groups.md): Use the Vue UI Kit Groups component to list all groups created on CometChat with search, and set its properties to let users find and open a group. +- [Group Members](https://www.cometchat.com/docs/ui-kit/vue/group-members.md): Use the Vue UI Kit Group Members component to list the users in a group with their roles, and let admins and owners manage membership. +- [Add Members](https://www.cometchat.com/docs/ui-kit/vue/group-add-members.md): Use the Vue UI Kit Add Members component so group admins or owners can search for users, select them and add them to a group. +- [Banned Members](https://www.cometchat.com/docs/ui-kit/vue/group-banned-members.md): Use the Vue UI Kit Banned Members component to list users who are barred from a group, so admins and owners can review and manage the bans. +- [Transfer Ownership](https://www.cometchat.com/docs/ui-kit/vue/group-transfer-ownership.md): Use the Vue UI Kit Transfer Ownership component so a group's owner can hand ownership and administrative control to another group member. +- [Group Details](https://www.cometchat.com/docs/ui-kit/vue/group-details.md): Show a group's information and settings with the Vue UI Kit Details component, including managing participants and leaving or deleting the group. + +#### Messages + +- [Messages](https://www.cometchat.com/docs/ui-kit/vue/messages.md): Use the Vue UI Kit Messages component to build the full chat view for a 1:1 or group conversation from the message header, list and composer. +- [Message Header](https://www.cometchat.com/docs/ui-kit/vue/message-header.md): Use the Vue UI Kit Message Header component to show the chat's user or group name, avatar, online status and typing indicator, plus action buttons. +- [Message List](https://www.cometchat.com/docs/ui-kit/vue/message-list.md): Use the Vue UI Kit Message List component to display a conversation's messages in order, with infinite scroll, formatting and actions like reactions and edit. +- [Message Composer](https://www.cometchat.com/docs/ui-kit/vue/message-composer.md): Use the Vue UI Kit Message Composer component to let users type and send text, attach files and media, record voice messages and send live reactions. +- [Message Information](https://www.cometchat.com/docs/ui-kit/vue/message-information.md): Use the Vue UI Kit Message Information component to show a message's content along with its recipients and delivery and read receipts. +- [Threaded Messages](https://www.cometchat.com/docs/ui-kit/vue/threaded-messages.md): Use the Vue UI Kit Threaded Messages component so users can reply to a parent message and keep related discussion in a separate thread. + +#### Calls + +- [Integration](https://www.cometchat.com/docs/ui-kit/vue/calls-integration.md): Add voice and video calling to a Vue UI Kit app by getting your app ID and region, adding the calling SDK files, and launching the component. +- [Incoming Call](https://www.cometchat.com/docs/ui-kit/vue/incoming-call.md): Use the Vue UI Kit Incoming Call component to show a voice or video call received by the user, with options to accept or decline it. +- [Ongoing Call](https://www.cometchat.com/docs/ui-kit/vue/ongoing-call.md): Use the Vue UI Kit Ongoing Call component to show the call screen during a voice or video call, with video streams and call controls. +- [Outgoing Call](https://www.cometchat.com/docs/ui-kit/vue/outgoing-call.md): Use the Vue UI Kit Outgoing Call component to show the call a user has started, with the recipient's details, call status and a button to cancel. +- [Call Buttons](https://www.cometchat.com/docs/ui-kit/vue/call-buttons.md): Use the Vue UI Kit Call Buttons component to add voice and video call buttons that place a call to a user or group. + +#### AI + +- [Integration](https://www.cometchat.com/docs/ui-kit/vue/ai-integration.md): Enable specific AI features such as Smart Replies, or disable them all, in the Vue UI Kit by passing an AIEnabler to UIKitSettings before init. +- [AI Conversation Starter](https://www.cometchat.com/docs/ui-kit/vue/ai-conversation-starter.md): Use the Vue UI Kit AI Conversation Starter, which fetches AI-generated opening messages for a new chat and is configurable once enabled in the Dashboard. +- [AI Smart Replies](https://www.cometchat.com/docs/ui-kit/vue/ai-smart-replies.md): Use the Vue UI Kit AI Smart Replies, which fetches AI-generated replies to a message and is configurable once enabled in the Dashboard. +- [AI Conversation Summary](https://www.cometchat.com/docs/ui-kit/vue/ai-conversation-summary.md): Use the Vue UI Kit AI Conversation Summary, which generates a summary of a conversation and is configurable once enabled in the Dashboard. +- [AI Assist Bot](https://www.cometchat.com/docs/ui-kit/vue/ai-assist-bot.md): Use the Vue UI Kit AI Assist Bot to ask a question to a bot in a conversation; it works once you create and enable an AI bot in the Dashboard. + +#### Views + +- [Message Bubble](https://www.cometchat.com/docs/ui-kit/vue/message-bubble.md): Use the Vue UI Kit Message Bubble component to display each message in a conversation, with its content, sender details and delivery or read status. +- [User Member Wrapper](https://www.cometchat.com/docs/ui-kit/vue/user-member-wrapper.md): Use the Vue UI Kit User Member Wrapper, which combines users and group members lists to show suggestions inside the Message Composer. +- [Tabs](https://www.cometchat.com/docs/ui-kit/vue/tabs.md): Use the Vue UI Kit Tabs component to organise content into tab headers so users can switch between sections and customise the tabs' look. + +#### Other pages + +- [Nuxt.Js Integration](https://www.cometchat.com/docs/ui-kit/vue/nuxtjs-integration.md): Integrate CometChat Vue UI Kit with Nuxt.js using ClientOnly rendering, app credentials, package setup, and chat component configuration. +- [UI Components](https://www.cometchat.com/docs/ui-kit/vue/ui-components-overview.md): Explore CometChat Vue UI Kit components for conversations, users, groups, messages, calls, and shared chat interface modules. +- [Elements](https://www.cometchat.com/docs/ui-kit/vue/web-elements.md): Explore CometChat web elements built with Lit and web components for framework-agnostic React, Angular, and Vue UI Kit building blocks. +- [Shared](https://www.cometchat.com/docs/ui-kit/vue/shared-elements.md): Review shared CometChat web UI Kit components, utilities, constants, and helpers used across React, Angular, and Vue UI Kits. + +### SDKs › JavaScript v4 + +- [Index for this section](https://www.cometchat.com/docs/sdk/javascript/llms-javascript-v4.md) + +- [Overview](https://www.cometchat.com/docs/sdk/javascript/overview.md): Set up the CometChat JavaScript SDK to add real-time chat features to your web app. +- [Setup](https://www.cometchat.com/docs/sdk/javascript/setup-sdk.md): Install, import, and initialize the CometChat JavaScript SDK in your web app. +- [Authentication](https://www.cometchat.com/docs/sdk/javascript/authentication-overview.md): Create users and authenticate them securely with the CometChat JavaScript SDK. +- [PHP Backend + JS SDK: Auth Token Login](https://www.cometchat.com/docs/sdk/javascript/php-auth-token-sample.md): Return a CometChat auth token from your PHP login response and log the JavaScript SDK in with it. No extra endpoints or pages. + +#### Messaging + +- [Send A Message](https://www.cometchat.com/docs/sdk/javascript/send-message.md): Send text, media, custom, and interactive chat messages with the CometChat JavaScript SDK. +- [Upload Files & Send Attachments](https://www.cometchat.com/docs/sdk/javascript/upload-files.md): Upload files directly to storage with per-file progress, remove, and retry through an UploadFileRequest — then send them as one or more media messages with multiple attachments. +- [Receive A Message](https://www.cometchat.com/docs/sdk/javascript/receive-message.md): Receive real-time, unread, and historical messages with the CometChat JavaScript SDK. +- [Card Messages](https://www.cometchat.com/docs/sdk/javascript/card-messages.md): Receive and render rich card messages with the CometChat JavaScript SDK. +- [Additional Message Filtering](https://www.cometchat.com/docs/sdk/javascript/message-filtering.md): Filter and paginate CometChat messages by user, group, type, category, tags, timestamps, and unread status. +- [Retrieve Conversations](https://www.cometchat.com/docs/sdk/javascript/retrieve-conversations.md): Fetch recent CometChat conversations for chat lists, with support for one-on-one and group conversation filters. +- [Threaded Messages](https://www.cometchat.com/docs/sdk/javascript/threaded-messages.md): Send, receive, and fetch threaded messages with the CometChat JavaScript SDK. +- [Thread Subscription](https://www.cometchat.com/docs/sdk/javascript/thread-subscription.md): Subscribe and unsubscribe from message threads, read subscription state off a message, and fetch participated threads with the CometChat JavaScript SDK. +- [Edit A Message](https://www.cometchat.com/docs/sdk/javascript/edit-message.md): Edit text and custom chat messages using the CometChat JavaScript SDK. +- [Delete A Message](https://www.cometchat.com/docs/sdk/javascript/delete-message.md): Delete chat messages and handle delete events with the CometChat JavaScript SDK. +- [Flag Message](https://www.cometchat.com/docs/sdk/javascript/flag-message.md): Flag inappropriate chat messages for moderation with the CometChat JavaScript SDK. +- [Pin A Message](https://www.cometchat.com/docs/sdk/javascript/pin-message.md): Pin and unpin messages in a conversation, fetch the pinned list, and listen for pin events with the CometChat JavaScript SDK. +- [Save A Message](https://www.cometchat.com/docs/sdk/javascript/save-message.md): Save and unsave messages privately, fetch the saved list across conversations, and listen for save events with the CometChat JavaScript SDK. +- [Delete A Conversation](https://www.cometchat.com/docs/sdk/javascript/delete-conversation.md): Delete user and group conversations with the CometChat JavaScript SDK. +- [Pin A Conversation](https://www.cometchat.com/docs/sdk/javascript/pin-conversation.md): Pin and unpin conversations, fetch the pinned conversation list, and listen for conversation pin events with the CometChat JavaScript SDK. +- [Typing Indicators](https://www.cometchat.com/docs/sdk/javascript/typing-indicators.md): Show real-time typing status in chat apps with the CometChat JavaScript SDK. +- [Transient Messages](https://www.cometchat.com/docs/sdk/javascript/transient-messages.md): Send and receive real-time transient messages with the CometChat JavaScript SDK. +- [Delivery & Read Receipts](https://www.cometchat.com/docs/sdk/javascript/delivery-read-receipts.md): Mark messages as delivered or read and handle receipts with the CometChat JavaScript SDK. +- [Mentions](https://www.cometchat.com/docs/sdk/javascript/mentions.md): Add user mentions to CometChat messages in one-on-one and group chats using UID-based mention syntax. +- [Reactions](https://www.cometchat.com/docs/sdk/javascript/reactions.md): Add, remove, fetch, and listen for message reactions with the CometChat JavaScript SDK. + +#### Offline Support + +- [Offline Support](https://www.cometchat.com/docs/sdk/javascript/offline-overview.md): Understand how local caching, the send outbox, and reconnect catch-up keep chat working without a connection with the CometChat JavaScript SDK. +- [Enable Offline Support](https://www.cometchat.com/docs/sdk/javascript/offline-enable.md): Turn on local caching and the durable send outbox, and verify offline support is active with the CometChat JavaScript SDK. +- [Show Cached Data](https://www.cometchat.com/docs/sdk/javascript/offline-cached-data.md): Render cached messages, conversations, and lists instantly and reconcile them against the server with the CometChat JavaScript SDK. +- [Send While Offline](https://www.cometchat.com/docs/sdk/javascript/offline-send.md): Queue messages sent without a connection, track their status, and retry failed sends with the CometChat JavaScript SDK. +- [Stay in Sync](https://www.cometchat.com/docs/sdk/javascript/offline-sync.md): Catch up on everything that changed while offline, observe sync progress, trigger a manual sync, and manage the local cache with the CometChat JavaScript SDK. +- [Media Caching](https://www.cometchat.com/docs/sdk/javascript/offline-media-caching.md): Cache image, video, audio and file attachments on the device so media stays viewable offline with the CometChat JavaScript SDK. +- [Encrypt the Cache](https://www.cometchat.com/docs/sdk/javascript/offline-encryption.md): Encrypt the offline message cache at rest, choose what happens when encryption cannot run, and inspect the live encryption status with the CometChat JavaScript SDK. +- [Offline Configuration & API Reference](https://www.cometchat.com/docs/sdk/javascript/offline-reference.md): Every offline configuration option, method, listener, enum, model field, and error code in the CometChat JavaScript SDK. + +#### Users + +- [Users](https://www.cometchat.com/docs/sdk/javascript/users-overview.md): Learn how users are managed and retrieved with the CometChat JavaScript SDK. +- [Retrieve Users](https://www.cometchat.com/docs/sdk/javascript/retrieve-users.md): Retrieve users, logged-in user details, and online counts with the CometChat JavaScript SDK. +- [User Management](https://www.cometchat.com/docs/sdk/javascript/user-management.md): Create and update CometChat users with the JavaScript SDK and REST API. +- [Block Users](https://www.cometchat.com/docs/sdk/javascript/block-users.md): Block and unblock users in chat apps with the CometChat JavaScript SDK. + +#### Groups + +- [Groups](https://www.cometchat.com/docs/sdk/javascript/groups-overview.md): Learn how groups, group types, and group roles work in the CometChat JavaScript SDK. +- [Retrieve Groups](https://www.cometchat.com/docs/sdk/javascript/retrieve-groups.md): Fetch, search, filter, and paginate groups using the CometChat JavaScript SDK. +- [Create A Group](https://www.cometchat.com/docs/sdk/javascript/create-group.md): Create CometChat public, private, and password-protected groups in JavaScript apps with GUID, name, type, and password. +- [Update A Group](https://www.cometchat.com/docs/sdk/javascript/update-group.md): Update CometChat group name, type, password, icon, description, and metadata from JavaScript apps. +- [Join A Group](https://www.cometchat.com/docs/sdk/javascript/join-group.md): Join CometChat public and password-protected groups in JavaScript apps using group GUID, type, and password. +- [Leave A Group](https://www.cometchat.com/docs/sdk/javascript/leave-group.md): Leave CometChat groups from JavaScript apps by GUID and stop receiving messages and updates for that group. +- [Delete A Group](https://www.cometchat.com/docs/sdk/javascript/delete-group.md): Delete CometChat groups from JavaScript apps by GUID when the logged-in user has permission. +- [Retrieve Group Members](https://www.cometchat.com/docs/sdk/javascript/retrieve-group-members.md): Fetch and paginate group members using the CometChat JavaScript SDK. +- [Add Members To A Group](https://www.cometchat.com/docs/sdk/javascript/group-add-members.md): Add CometChat users to JavaScript group chats with member scopes and optional banned member handling. +- [Ban Or Kick Member From A Group](https://www.cometchat.com/docs/sdk/javascript/group-kick-ban-members.md): Kick, ban, and unban CometChat group members in JavaScript apps when the logged-in user is an admin or moderator. +- [Change Member Scope](https://www.cometchat.com/docs/sdk/javascript/group-change-member-scope.md): Update CometChat group member scopes in JavaScript apps to change participants between admin, moderator, and participant roles. +- [Transfer Group Ownership](https://www.cometchat.com/docs/sdk/javascript/transfer-group-ownership.md): Transfer group ownership to another member using the CometChat JavaScript SDK. + +#### Resources + +- [Key Concepts](https://www.cometchat.com/docs/sdk/javascript/key-concepts.md): Learn key CometChat JavaScript SDK concepts, including apps, users, auth keys, roles, and groups. +- [Message](https://www.cometchat.com/docs/sdk/javascript/message-structure-and-hierarchy.md): Understand CometChat JavaScript SDK message categories, types, and object hierarchy. +- [All Real Time Listeners](https://www.cometchat.com/docs/sdk/javascript/all-real-time-listeners.md): Use CometChat real-time listeners for user presence, groups, messages, calls, AI assistant events, and ongoing calls. +- [Rate Limits](https://www.cometchat.com/docs/sdk/javascript/rate-limits.md): Understand CometChat JavaScript SDK and REST API rate limits, response headers, 429 errors, and retry handling. +- [Connection Status](https://www.cometchat.com/docs/sdk/javascript/connection-status.md): Monitor CometChat WebSocket connection status in JavaScript apps with connecting, connected, and disconnected callbacks. +- [Managing Web Sockets Connections Manually](https://www.cometchat.com/docs/sdk/javascript/managing-web-sockets-connections-manually.md): Manage WebSocket connections manually with the CometChat JavaScript SDK. + +#### Reference + +- [Messages](https://www.cometchat.com/docs/sdk/reference/messages.md): Class reference for message objects returned by CometChat SDK methods. Covers BaseMessage and its subclasses like TextMessage. +- [Entities](https://www.cometchat.com/docs/sdk/reference/entities.md): Class reference for entity objects returned by CometChat SDK methods. Covers User, Group, Conversation, and GroupMember. +- [Auxiliary](https://www.cometchat.com/docs/sdk/reference/auxiliary.md): Class reference for CometChat SDK auxiliary objects, including receipts, reactions, typing indicators, transient messages, attachments, and exceptions. +- [Calls](https://www.cometchat.com/docs/sdk/reference/calls.md): Class reference for CometChat Calls SDK objects, including call logs, users, groups, participants, recordings, listeners, and media devices. + +#### Other pages + +- [Calling](https://www.cometchat.com/docs/sdk/javascript/calling-overview.md): Add CometChat voice and video calling to JavaScript apps with one-on-one calls, group calls, screen sharing, recording, and call logs. +- [User Presence](https://www.cometchat.com/docs/sdk/javascript/user-presence.md): Track online and offline user presence with the CometChat JavaScript SDK. +- [AI Moderation](https://www.cometchat.com/docs/sdk/javascript/ai-moderation.md): Automatically moderate chat messages using AI to detect and block inappropriate content in real-time. +- [AI Agents](https://www.cometchat.com/docs/sdk/javascript/ai-agents.md): Handle CometChat AI Agent events, tool calls, and agent messages in JavaScript apps. +- [Smart Chat Features](https://www.cometchat.com/docs/sdk/javascript/ai-copilot.md): Use AI-powered features like Smart Replies, Conversation Starter, Conversation Summary, and Ask Bot using the CometChat JavaScript SDK. +- [Campaigns](https://www.cometchat.com/docs/sdk/javascript/campaigns.md): Fetch notification feed items, listen for real-time delivery, mark items as read/delivered, report engagement, and track push notifications using the CometChat JavaScript SDK. +- [Webhooks](https://www.cometchat.com/docs/sdk/javascript/webhooks.md): Set up a webhook endpoint on your server, test it locally with ngrok, and configure it in the Dashboard to receive CometChat events from the JavaScript SDK. +- [Best Practices](https://www.cometchat.com/docs/sdk/javascript/best-practices.md): Build reliable CometChat JavaScript SDK apps with secure auth, listener cleanup, pagination, caching, error handling, and performance practices. +- [Error Codes](https://www.cometchat.com/docs/sdk/javascript/error-codes.md): Complete reference for CometChat JavaScript SDK error codes, including client-side validation errors, server-side API errors, and how to handle them. +- [Troubleshooting](https://www.cometchat.com/docs/sdk/javascript/troubleshooting.md): Fix CometChat JavaScript SDK issues with initialization, login, WebSocket events, SSR errors, and SDK method failures. +- [Upgrading From V3](https://www.cometchat.com/docs/sdk/javascript/upgrading-from-v3.md): Upgrade from CometChat JavaScript SDK v3 to v4 with package and import changes. + +### SDKs › React Native v4 + +- [Index for this section](https://www.cometchat.com/docs/sdk/react-native/llms-react-native-v4.md) + +- [React Native SDK](https://www.cometchat.com/docs/sdk/react-native/overview.md): Add real-time chat, voice, video, users, groups, messages, and push notifications to React Native apps with the CometChat SDK. +- [Setup](https://www.cometchat.com/docs/sdk/react-native/setup-sdk.md): Install, configure, initialize, and log in users with the CometChat React Native SDK using app settings and auth keys. +- [Authentication](https://www.cometchat.com/docs/sdk/react-native/authentication-overview.md): Create users, log in with Auth Key or Auth Token, check login status, and log out using the CometChat React Native SDK. + +#### Messaging + +- [Send Messages](https://www.cometchat.com/docs/sdk/react-native/send-message.md): Send CometChat text, media, and custom messages to users and groups in React Native apps with message types and metadata. +- [Upload Files & Send Attachments](https://www.cometchat.com/docs/sdk/react-native/upload-files.md): Upload files directly to storage with per-file progress, remove, and retry through an UploadFileRequest — then send them as one or more media messages with multiple attachments. +- [Receive Messages](https://www.cometchat.com/docs/sdk/react-native/receive-messages.md): Receive real-time messages, fetch unread messages, retrieve message history, search messages, and get unread counts using the CometChat React Native SDK. +- [Message Filtering](https://www.cometchat.com/docs/sdk/react-native/additional-message-filtering.md): Advanced filtering options for fetching messages using MessagesRequestBuilder in the CometChat React Native SDK. +- [Retrieve Conversations](https://www.cometchat.com/docs/sdk/react-native/retrieve-conversations.md): Fetch, filter, tag, and search CometChat conversations in React Native apps, including user and group conversation records. +- [Threaded Messages](https://www.cometchat.com/docs/sdk/react-native/threaded-messages.md): Send, receive, and fetch CometChat threaded messages in React Native apps using parent message IDs and message listeners. +- [Thread Subscription](https://www.cometchat.com/docs/sdk/react-native/thread-subscription.md): Subscribe and unsubscribe from message threads, read subscription state off a message, and fetch participated threads with the CometChat React Native SDK. +- [Edit Message](https://www.cometchat.com/docs/sdk/react-native/edit-message.md): Edit CometChat text and custom messages in React Native apps by message ID and listen for real-time edit events. +- [Delete Message](https://www.cometchat.com/docs/sdk/react-native/delete-message.md): Delete CometChat messages in React Native apps by message ID and listen for real-time deletion events. +- [Flag Message](https://www.cometchat.com/docs/sdk/react-native/flag-message.md): Get flag reasons and flag inappropriate CometChat messages in React Native apps with reason IDs and moderation remarks. +- [Pin A Message](https://www.cometchat.com/docs/sdk/react-native/pin-message.md): Pin and unpin messages in a conversation, fetch the pinned list, and listen for pin events with the CometChat React Native SDK. +- [Save A Message](https://www.cometchat.com/docs/sdk/react-native/save-message.md): Save and unsave messages privately, fetch the saved list across conversations, and listen for save events with the CometChat React Native SDK. +- [Delete Conversation](https://www.cometchat.com/docs/sdk/react-native/delete-conversation.md): Delete one-on-one or group conversations for the logged-in user with the CometChat React Native SDK. +- [Pin A Conversation](https://www.cometchat.com/docs/sdk/react-native/pin-conversation.md): Pin and unpin conversations and fetch the pinned conversation list with the CometChat React Native SDK. +- [Typing Indicators](https://www.cometchat.com/docs/sdk/react-native/typing-indicators.md): Send and receive CometChat typing indicators in React Native apps for user and group conversations with real-time listeners. +- [Transient Messages](https://www.cometchat.com/docs/sdk/react-native/transient-messages.md): Send and receive ephemeral real-time messages with the CometChat React Native SDK for live reactions and temporary indicators. +- [Delivery & Read Receipts](https://www.cometchat.com/docs/sdk/react-native/delivery-read-receipts.md): Mark messages as delivered, read, or unread and receive real-time receipt events using the CometChat React Native SDK. +- [Mentions](https://www.cometchat.com/docs/sdk/react-native/mentions.md): Send messages with user mentions, retrieve mentioned users, and filter messages by mention metadata using the CometChat React Native SDK. +- [Reactions](https://www.cometchat.com/docs/sdk/react-native/reactions.md): Add, remove, and fetch message reactions in real-time using the CometChat React Native SDK. Includes listener events and helper methods for updating UI. + +#### Offline Support + +- [Offline Support](https://www.cometchat.com/docs/sdk/react-native/offline-overview.md): Understand how local caching, the send outbox, and reconnect catch-up keep chat working without a connection with the CometChat React Native Chat SDK. +- [Enable Offline Support](https://www.cometchat.com/docs/sdk/react-native/offline-enable.md): Turn on local caching and the durable send outbox, and verify offline support is active with the CometChat React Native Chat SDK. +- [Show Cached Data](https://www.cometchat.com/docs/sdk/react-native/offline-cached-data.md): Render cached messages, conversations, and lists instantly and reconcile them against the server with the CometChat React Native Chat SDK. +- [Send While Offline](https://www.cometchat.com/docs/sdk/react-native/offline-send.md): Queue messages sent without a connection, track their status, and retry failed sends with the CometChat React Native Chat SDK. +- [Stay in Sync](https://www.cometchat.com/docs/sdk/react-native/offline-sync.md): Catch up on everything that changed while offline, observe sync progress, trigger a manual sync, and manage the local cache with the CometChat React Native Chat SDK. +- [Media Caching](https://www.cometchat.com/docs/sdk/react-native/offline-media-caching.md): Cache image, video, audio and file attachments on the device so media stays viewable offline with the CometChat React Native Chat SDK. +- [Encrypt the Cache](https://www.cometchat.com/docs/sdk/react-native/offline-encryption.md): Encrypt the offline message cache at rest with SQLCipher, choose what happens when encryption cannot run, and inspect the live encryption status with the CometChat React Native Chat SDK. +- [Offline Configuration & API Reference](https://www.cometchat.com/docs/sdk/react-native/offline-reference.md): A complete reference for the offline configuration options, public methods, listeners, enums, model fields, and error codes with the CometChat React Native Chat SDK. + +#### Users + +- [Users](https://www.cometchat.com/docs/sdk/react-native/users-overview.md): Overview of CometChat user functionality including user management, retrieval, and presence tracking in the React Native SDK. +- [Retrieve Users](https://www.cometchat.com/docs/sdk/react-native/retrieve-users.md): Fetch, filter, search, and sort users using the CometChat React Native SDK. Includes pagination, role-based filtering, tag support, and online user counts. +- [User Management](https://www.cometchat.com/docs/sdk/react-native/user-management.md): Create, update, and manage CometChat users programmatically using the React Native SDK. Includes user creation, profile updates, and the User class reference. +- [Block Users](https://www.cometchat.com/docs/sdk/react-native/block-users.md): Block and unblock users, and retrieve the list of blocked users using the CometChat React Native SDK. + +#### Groups + +- [Groups](https://www.cometchat.com/docs/sdk/react-native/groups-overview.md): Overview of group management in the CometChat React Native SDK including group types, member roles, and available operations. +- [Retrieve Groups](https://www.cometchat.com/docs/sdk/react-native/retrieve-groups.md): Fetch, filter, and search groups using the CometChat React Native SDK. Includes pagination, tag-based filtering, joined-only groups, and online member counts. +- [Create A Group](https://www.cometchat.com/docs/sdk/react-native/create-group.md): Create public, private, or password-protected groups and optionally add members during creation using the CometChat React Native SDK. +- [Update A Group](https://www.cometchat.com/docs/sdk/react-native/update-group.md): Update group details such as name, type, icon, and description using the CometChat React Native SDK. +- [Join A Group](https://www.cometchat.com/docs/sdk/react-native/join-group.md): Learn how to join public, password-protected, and private groups, and receive real-time join events using the CometChat React Native SDK. +- [Leave A Group](https://www.cometchat.com/docs/sdk/react-native/leave-group.md): Learn how to leave a group and receive real-time events when members leave using the CometChat React Native SDK. +- [Delete A Group](https://www.cometchat.com/docs/sdk/react-native/delete-group.md): Delete a group permanently using the CometChat React Native SDK. Only group admins can perform this operation. +- [Retrieve Group Members](https://www.cometchat.com/docs/sdk/react-native/retrieve-group-members.md): Fetch and filter group members by scope, status, and search keyword using the CometChat React Native SDK with pagination support. +- [Add Members To A Group](https://www.cometchat.com/docs/sdk/react-native/group-add-members.md): Learn how to add members to a group, receive real-time member added events, and handle missed events using the CometChat React Native SDK. +- [Ban Or Kick Member From A Group](https://www.cometchat.com/docs/sdk/react-native/group-kick-ban-members.md): Learn how to kick, ban, and unban group members, fetch banned member lists, and receive real-time events using the CometChat React Native SDK. +- [Change Member Scope](https://www.cometchat.com/docs/sdk/react-native/group-change-member-scope.md): Learn how to change group member scope (admin, moderator, participant) and receive real-time scope change events using the CometChat React Native SDK. +- [Transfer Group Ownership](https://www.cometchat.com/docs/sdk/react-native/transfer-group-ownership.md): Transfer CometChat group ownership to another member in React Native apps before the current owner leaves the group. + +#### Resources + +- [Key Concepts](https://www.cometchat.com/docs/sdk/react-native/key-concepts.md): Understand the fundamental building blocks of CometChat — users, groups, messaging categories, authentication, and roles. +- [Message Structure and Hierarchy](https://www.cometchat.com/docs/sdk/react-native/message-structure-and-hierarchy.md): Understand the message categories, types, and hierarchy in the CometChat React Native SDK including text, media, custom, card, action, and call messages. +- [All Real Time Listeners](https://www.cometchat.com/docs/sdk/react-native/real-time-listeners.md): Complete reference for all CometChat real-time listeners in the React Native SDK including User, Group, Message, and Call listeners. +- [Rate Limits](https://www.cometchat.com/docs/sdk/react-native/rate-limits.md): Understand CometChat REST API rate limits, response headers, and how to handle rate-limited requests in your React Native application. +- [Connection Status](https://www.cometchat.com/docs/sdk/react-native/connection-status.md): Monitor real-time WebSocket connection status and respond to connectivity changes using the CometChat React Native SDK. +- [Managing Web Sockets Connections Manually](https://www.cometchat.com/docs/sdk/react-native/managing-web-sockets-connections-manually.md): Learn how to manage WebSocket connections in the CometChat React Native SDK, including connect, disconnect, and ping. +- [Push Notification Content Customization](https://www.cometchat.com/docs/sdk/react-native/push-notification-html-stripping.md): Customize CometChat React Native push notification content by stripping HTML tags before Android or iOS notifications display. + +#### Other pages + +- [Calling](https://www.cometchat.com/docs/sdk/react-native/calling-overview.md): Add CometChat voice and video calling to React Native apps with one-on-one calls, group calls, conference sessions, and call logs. +- [User Presence](https://www.cometchat.com/docs/sdk/react-native/user-presence.md): Track real-time user online/offline status and configure presence subscriptions using the CometChat React Native SDK. +- [AI Moderation](https://www.cometchat.com/docs/sdk/react-native/ai-moderation.md): Automatically moderate chat messages using AI to detect and block inappropriate content in real-time. +- [AI Agents](https://www.cometchat.com/docs/sdk/react-native/ai-agents.md): Integrate AI Agents into your React Native app using the CometChat SDK, including real-time event streaming and agentic message handling. +- [Campaigns](https://www.cometchat.com/docs/sdk/react-native/campaigns.md): Fetch notification feed items, listen for real-time delivery, mark items as read/delivered, report engagement, and track push notifications using the CometChat React Native SDK. +- [Upgrading From V3](https://www.cometchat.com/docs/sdk/react-native/upgrading-from-v3.md): Migrate your CometChat React Native SDK integration from v3 to v4 with updated dependencies and import statements. + +### SDKs › iOS v4 + +- [Index for this section](https://www.cometchat.com/docs/sdk/ios/llms-ios-v4.md) + +- [iOS SDK](https://www.cometchat.com/docs/sdk/ios/overview.md): Add real-time chat, voice, and video to iOS apps with the CometChat SDK, including users, groups, messages, and calls. +- [Setup](https://www.cometchat.com/docs/sdk/ios/setup.md): Install, configure, and initialize the CometChat iOS SDK with app credentials, region, dependencies, and setup steps. +- [Authentication](https://www.cometchat.com/docs/sdk/ios/authentication-overview.md): Create users, log in with Auth Key or Auth Token, check login status, and log out using the CometChat iOS SDK. + +#### Messaging + +- [Send Messages](https://www.cometchat.com/docs/sdk/ios/send-message.md): Send CometChat text, media, and custom messages to users and groups with the iOS SDK using success and error callbacks. +- [Upload Files & Send Attachments](https://www.cometchat.com/docs/sdk/ios/upload-files.md): Upload files directly to storage with per-file progress, remove, and retry through an UploadFileRequest — then send them as one or more media messages with multiple attachments. +- [Receive Messages](https://www.cometchat.com/docs/sdk/ios/receive-message.md): Receive real-time messages, fetch unread messages, and retrieve message history using the CometChat iOS SDK. +- [Message Filtering](https://www.cometchat.com/docs/sdk/ios/additional-message-filtering.md): Advanced filtering options for fetching messages using MessagesRequestBuilder in the CometChat iOS SDK. +- [Retrieve Conversations](https://www.cometchat.com/docs/sdk/ios/retrieve-conversations.md): Fetch, filter, tag, and search CometChat conversations with the iOS SDK for one-on-one and group chats. +- [Threaded Messages](https://www.cometchat.com/docs/sdk/ios/threaded-messages.md): Send, receive, and fetch CometChat threaded messages in iOS conversations using parent message IDs. +- [Thread Subscription](https://www.cometchat.com/docs/sdk/ios/thread-subscription.md): Subscribe to or mute message threads, and pull a user's thread list to build an inbox-style view. +- [Edit Message](https://www.cometchat.com/docs/sdk/ios/edit-message.md): Edit CometChat text and custom messages after sending them with the iOS SDK and update message state in chats. +- [Delete Message](https://www.cometchat.com/docs/sdk/ios/delete-message.md): Delete sent messages in one-on-one or group conversations with the CometChat iOS SDK and handle deletion events. +- [Delete Conversation](https://www.cometchat.com/docs/sdk/ios/delete-conversation.md): Delete one-on-one or group conversations for the logged-in user using the CometChat iOS SDK. +- [Flag Message](https://www.cometchat.com/docs/sdk/ios/flag-message.md): Flag inappropriate CometChat messages for moderation review with the iOS SDK and support user reporting flows. +- [Typing Indicators](https://www.cometchat.com/docs/sdk/ios/typing-indicators.md): Send and receive real-time typing indicators in conversations using the CometChat iOS SDK. +- [Transient Messages](https://www.cometchat.com/docs/sdk/ios/transient-messages.md): Send and receive ephemeral real-time messages that are not stored on the server using the CometChat iOS SDK. +- [Delivery & Read Receipts](https://www.cometchat.com/docs/sdk/ios/delivery-read-receipts.md): Mark messages as delivered, read, or unread and receive real-time receipt events using the CometChat iOS SDK. +- [Mentions](https://www.cometchat.com/docs/sdk/ios/mentions.md): Send messages with user mentions, retrieve mentioned users, and filter messages by mention metadata using the CometChat iOS SDK. +- [Reactions](https://www.cometchat.com/docs/sdk/ios/reactions.md): Add, remove, and fetch message reactions in real-time using the CometChat iOS SDK. Includes listener events and helper methods for updating UI. +- [Pin & Save Messages](https://www.cometchat.com/docs/sdk/ios/pin-save-message.md): Pin messages for everyone in a conversation and save messages privately using the CometChat iOS SDK, including message fields, fetching, and listener events. + +#### Offline Support + +- [Offline Support](https://www.cometchat.com/docs/sdk/ios/offline-overview.md): Understand how local caching, the send outbox, and reconnect catch-up keep chat working without a connection with the CometChat iOS SDK. +- [Enable Offline Support](https://www.cometchat.com/docs/sdk/ios/offline-enable.md): Turn on local caching and the durable send outbox, and verify offline support is active with the CometChat iOS SDK. +- [Show Cached Data](https://www.cometchat.com/docs/sdk/ios/offline-cached-data.md): Render cached messages, conversations, and lists instantly and reconcile them against the server with the CometChat iOS SDK. +- [Send While Offline](https://www.cometchat.com/docs/sdk/ios/offline-send.md): Queue messages sent without a connection, track their status, and retry failed sends with the CometChat iOS SDK. +- [Stay in Sync](https://www.cometchat.com/docs/sdk/ios/offline-sync.md): Catch up on everything that changed while offline, observe sync progress, trigger a manual sync, and manage the local cache with the CometChat iOS SDK. +- [Media Caching](https://www.cometchat.com/docs/sdk/ios/offline-media-caching.md): Cache image, video, audio and file attachments on the device so media stays viewable offline with the CometChat iOS SDK. +- [Encrypt the Cache](https://www.cometchat.com/docs/sdk/ios/offline-encryption.md): Encrypt the offline message cache at rest with SQLCipher, choose what happens when encryption cannot run, and inspect the live encryption status with the CometChat iOS SDK. +- [Offline Configuration & API Reference](https://www.cometchat.com/docs/sdk/ios/offline-reference.md): A complete reference for the offline configuration options, public methods, listeners, enums, model fields, and error codes with the CometChat iOS SDK. + +#### Users + +- [Users](https://www.cometchat.com/docs/sdk/ios/users-overview.md): Overview of CometChat iOS SDK user functionality including user management, retrieval, and presence tracking. +- [Retrieve Users](https://www.cometchat.com/docs/sdk/ios/retrieve-users.md): Fetch, filter, search, and sort users using the CometChat iOS SDK. Includes pagination, role-based filtering, tag support, and online status filtering. +- [User Management](https://www.cometchat.com/docs/sdk/ios/user-management.md): Create, update, and manage CometChat users programmatically using the iOS SDK. Includes user creation, profile updates, and the User class reference. +- [Block Users](https://www.cometchat.com/docs/sdk/ios/block-users.md): Block and unblock users, and retrieve the list of blocked users using the CometChat iOS SDK. + +#### Groups + +- [Groups](https://www.cometchat.com/docs/sdk/ios/groups-overview.md): Manage CometChat group creation, membership, permissions, and group types in the iOS SDK. +- [Retrieve Groups](https://www.cometchat.com/docs/sdk/ios/retrieve-groups.md): Fetch, filter, and search groups using the CometChat iOS SDK. Includes pagination, tag-based filtering, joined-only groups, and online member counts. +- [Create A Group](https://www.cometchat.com/docs/sdk/ios/create-group.md): Create public, private, or password-protected groups and optionally add members during creation using the CometChat iOS SDK. +- [Update A Group](https://www.cometchat.com/docs/sdk/ios/update-group.md): Update group details such as name, type, icon, and description using the CometChat iOS SDK. +- [Join A Group](https://www.cometchat.com/docs/sdk/ios/join-group.md): Learn how to join public, password-protected, and private groups, and receive real-time join events using the CometChat iOS SDK. +- [Leave A Group](https://www.cometchat.com/docs/sdk/ios/leave-group.md): Learn how to leave a group and receive real-time events when members leave using the CometChat iOS SDK. +- [Delete A Group](https://www.cometchat.com/docs/sdk/ios/delete-group.md): Delete a group permanently using the CometChat iOS SDK. Only group admins can perform this operation. +- [Add Members To A Group](https://www.cometchat.com/docs/sdk/ios/group-add-members.md): Learn how to add members to a group, receive real-time member added events, and handle missed events using the CometChat iOS SDK. +- [Retrieve Group Members](https://www.cometchat.com/docs/sdk/ios/retrieve-group-members.md): Fetch and filter group members by scope, status, and search keyword using the CometChat iOS SDK with pagination support. +- [Kick Member From A Group](https://www.cometchat.com/docs/sdk/ios/group-kick-member.md): Learn how to kick, ban, and unban group members, fetch banned member lists, and receive real-time events using the CometChat iOS SDK. +- [Change Member Scope](https://www.cometchat.com/docs/sdk/ios/group-change-member-scope.md): Learn how to change group member scope (admin, moderator, participant) and receive real-time scope change events using the CometChat iOS SDK. +- [Transfer Group Ownership](https://www.cometchat.com/docs/sdk/ios/transfer-group-ownership.md): Transfer CometChat group ownership to another member with the iOS SDK using GUID and target member UID. + +#### Resources + +- [Key Concepts](https://www.cometchat.com/docs/sdk/ios/key-concepts.md): Understand core CometChat iOS SDK concepts including users, groups, authentication, messaging, and real-time events. +- [Message Structure And Hierarchy](https://www.cometchat.com/docs/sdk/ios/message-structure-and-hierarchy.md): Understand CometChat iOS SDK message categories, message types, base messages, and message hierarchy for chat apps. +- [All Real Time Delegates (Listeners)](https://www.cometchat.com/docs/sdk/ios/all-real-time-delegates-listeners.md): Complete reference for all CometChat iOS SDK real-time delegates including User, Group, Message, and Call listeners. +- [Rate Limits](https://www.cometchat.com/docs/sdk/ios/rate-limits.md): Review CometChat's REST API rate limits for iOS apps, including core and standard operation limits, 429 responses and the headers for monitoring usage. +- [Connection Status](https://www.cometchat.com/docs/sdk/ios/connection-status.md): Monitor real-time WebSocket connection status and respond to connectivity changes using the CometChat iOS SDK. +- [Managing Web Socket Connections Manually](https://www.cometchat.com/docs/sdk/ios/managing-web-socket-connections-manually.md): Guide to manually controlling WebSocket connections in the CometChat iOS SDK for advanced use cases. +- [Connection Behaviour](https://www.cometchat.com/docs/sdk/ios/web-socket-connection-behaviour.md): Understanding the default WebSocket connection behavior of the CometChat iOS SDK during login and app lifecycle. +- [Marking Delivered From Push Notification](https://www.cometchat.com/docs/sdk/ios/marking-delivered-with-push-notification.md): Guide to marking messages as delivered using push notification payload with Notification Service Extension. +- [Increment App Icon Badge Count](https://www.cometchat.com/docs/sdk/ios/increment-app-icon-badge-count.md): Guide to implementing app icon badge count updates using Notification Service Extension in iOS. +- [Remove Delivered Notifications](https://www.cometchat.com/docs/sdk/ios/remove-delivered-notifications.md): Guide to removing delivered push notifications programmatically using Notification Service Extension. +- [Launch Call Screen On Tap Of Push Notification](https://www.cometchat.com/docs/sdk/ios/launch-call-screen-on-tap-of-push-notification.md): Guide to launching the incoming call screen from UI Kit when user taps a call push notification. +- [Launch Chat Window On Tap Of Push Notification](https://www.cometchat.com/docs/sdk/ios/launch-chat-window-on-tap-of-push-notification.md): Guide to launching the chat window from UI Kit when user taps a message push notification. +- [Prepare Your App For Background Updates](https://www.cometchat.com/docs/sdk/ios/prepare-your-app-for-background-updates.md): Guide to maintaining real-time connection in background state for iOS apps using CometChat SDK. +- [Publishing App On App Store](https://www.cometchat.com/docs/sdk/ios/publishing-app-on-appstore.md): Prepare and publish your CometChat iOS app on the App Store with required capabilities and release checks. + +#### Other pages + +- [Calling](https://www.cometchat.com/docs/sdk/ios/calling-overview.md): Voice and video calling for iOS: the Calls SDK owns calls and ringing, the Push Notifications SDK rings the device through CallKit, and the Chat SDK's calling methods are superseded. +- [User Presence](https://www.cometchat.com/docs/sdk/ios/user-presence.md): Track real-time user online/offline status and configure presence subscriptions using the CometChat iOS SDK. +- [AI Moderation](https://www.cometchat.com/docs/sdk/ios/ai-moderation.md): Automatically moderate chat messages using AI to detect and block inappropriate content in real-time with the CometChat iOS SDK. +- [AI Agents](https://www.cometchat.com/docs/sdk/ios/ai-agents.md): Integrate AI Agents for intelligent automated interactions using the CometChat iOS SDK with real-time streaming events. +- [Campaigns](https://www.cometchat.com/docs/sdk/ios/campaigns.md): CometChat Campaigns SDK APIs — fetching feed items, managing engagement state, reporting interactions, and receiving real-time notifications. +- [Upgrading From V3](https://www.cometchat.com/docs/sdk/ios/upgrading-from-v3-to-v4.md): Migrate from CometChat iOS SDK v3 to v4 with updated setup, APIs, dependencies, and behavior changes. + +### SDKs › Android v5 + +- [Index for this section](https://www.cometchat.com/docs/sdk/android/llms-android-v5.md) + +#### Overview + +- [Overview](https://www.cometchat.com/docs/sdk/android/overview.md): Build Android chat apps with CometChat SDK v5, including real-time messaging, users, groups, and calling support. +- [Key Concepts](https://www.cometchat.com/docs/sdk/android/key-concepts.md): The CometChat Dashboard enables you to create new apps (projects) and manage your existing apps. +- [Message Structure And Hierarchy](https://www.cometchat.com/docs/sdk/android/message-structure-and-hierarchy.md): The below diagram helps you better understand the various message categories and types that a CometChat message can belong to. +- [Rate Limits](https://www.cometchat.com/docs/sdk/android/rate-limits.md): Shows the request caps, what triggers a 429, and where to find exact limits for each endpoint. + +#### Authentication + +- [Authentication](https://www.cometchat.com/docs/sdk/android/authentication-overview.md): Before you log in a user, you must add the user to CometChat. +- [Login Listeners](https://www.cometchat.com/docs/sdk/android/login-listeners.md): Shows how to catch login and logout results and handle success or failure for each one. + +#### Messaging + +- [Messaging](https://www.cometchat.com/docs/sdk/android/messaging-overview.md): Messaging is one of the core features of CometChat. We've thoughtfully created methods to help you send, receive and fetch message history. +- [Send A Message](https://www.cometchat.com/docs/sdk/android/send-message.md): Send text, media, and custom messages from Android, add metadata or tags, and receive interactive card messages. +- [Upload Files & Send Attachments](https://www.cometchat.com/docs/sdk/android/upload-files.md): Upload files directly to storage with per-file progress, remove, and retry through an UploadFileRequest — then send them as one or more media messages with multiple attachments. +- [Receive A Message](https://www.cometchat.com/docs/sdk/android/receive-messages.md): Covers listening for live messages while the app is active and fetching the ones missed while it was closed. +- [Additional Message Filtering](https://www.cometchat.com/docs/sdk/android/additional-message-filtering.md): Set up filters by sender, date, or type so chat histories return exactly the messages you need. +- [Retrieve Conversations](https://www.cometchat.com/docs/sdk/android/retrieve-conversations.md): Conversations provide the last messages for every one-on-one and group conversation the logged-in user is a part of. +- [Threaded Messages](https://www.cometchat.com/docs/sdk/android/threaded-messages.md): Messages that are started from a particular message are called Threaded messages or simply threads. +- [Thread Subscription](https://www.cometchat.com/docs/sdk/android/thread-subscription.md): Subscribe and unsubscribe from message threads, read subscription state off a message, and fetch participated threads with the CometChat Android SDK. +- [Edit A Message](https://www.cometchat.com/docs/sdk/android/edit-message.md): Shows how to edit a text or custom message in Android and catch both live and missed edit notifications. +- [Delete A Message](https://www.cometchat.com/docs/sdk/android/delete-message.md): Send and receive delete confirmations for Android messages, plus the role rules that govern who can delete what. +- [Flag Message](https://www.cometchat.com/docs/sdk/android/flag-message.md): Flagging messages allows users to report inappropriate content to moderators or administrators. +- [Pin A Message](https://www.cometchat.com/docs/sdk/android/pin-message.md): Pin and unpin messages in a conversation, fetch the pinned list, and listen for pin events with the CometChat Android SDK. +- [Save A Message](https://www.cometchat.com/docs/sdk/android/save-message.md): Save and unsave messages privately, fetch the cross-conversation saved list, and listen for save events with the CometChat Android SDK. +- [Delete A Conversation](https://www.cometchat.com/docs/sdk/android/delete-conversation.md): Remove a single conversation for the current user on Android, with the required UID or GUID and type, plus a link to delete it for everyone via the REST API. +- [Pin A Conversation](https://www.cometchat.com/docs/sdk/android/pin-conversation.md): Pin and unpin conversations, fetch the pinned conversation list, and keep it in sync with the CometChat Android SDK. +- [Typing Indicators](https://www.cometchat.com/docs/sdk/android/typing-indicators.md): Tell others when a user starts or stops typing in a one-to-one or group chat, and show that typing status to them in real time. +- [Delivery & Read Receipts](https://www.cometchat.com/docs/sdk/android/delivery-read-receipts.md): Mark messages as delivered, read or unread, and listen for receipts so senders can see when each message arrives and when it is read. +- [Transient Messages](https://www.cometchat.com/docs/sdk/android/transient-messages.md): Transient messages are messages that are sent in real-time only and are not saved or tracked anywhere. +- [Mentions](https://www.cometchat.com/docs/sdk/android/mentions.md): Mentions are a powerful tool for enhancing communication in messaging platforms. +- [Reactions](https://www.cometchat.com/docs/sdk/android/reactions.md): Enhance user engagement in your chat application with message reactions. + +#### Offline Support + +- [Offline Support](https://www.cometchat.com/docs/sdk/android/offline-overview.md): Understand how local caching, the send outbox, and reconnect catch-up keep chat working without a connection with the CometChat Android SDK. +- [Enable Offline Support](https://www.cometchat.com/docs/sdk/android/offline-enable.md): Turn on local caching and the durable send outbox, and verify offline support is active with the CometChat Android SDK. +- [Show Cached Data](https://www.cometchat.com/docs/sdk/android/offline-cached-data.md): Render cached messages, conversations, and lists instantly and reconcile them against the server with the CometChat Android SDK. +- [Send While Offline](https://www.cometchat.com/docs/sdk/android/offline-send.md): Queue messages sent without a connection, track their status, and retry failed sends with the CometChat Android SDK. +- [Stay in Sync](https://www.cometchat.com/docs/sdk/android/offline-sync.md): Catch up on everything that changed while offline, observe sync progress, trigger a manual sync, and manage the local cache with the CometChat Android SDK. +- [Media Caching](https://www.cometchat.com/docs/sdk/android/offline-media-caching.md): Cache image, video, audio and file attachments on the device so media stays viewable offline with the CometChat Android SDK. +- [Encrypt the Cache](https://www.cometchat.com/docs/sdk/android/offline-encryption.md): Encrypt the offline message cache at rest with SQLCipher, choose what happens when encryption cannot run, and inspect the live encryption status with the CometChat Android SDK. +- [Offline Configuration & API Reference](https://www.cometchat.com/docs/sdk/android/offline-reference.md): A complete reference for the offline configuration options, public methods, listeners, enums, model fields, and error codes with the CometChat Android SDK. + +#### Users + +- [Users](https://www.cometchat.com/docs/sdk/android/users-overview.md): The primary aim for our users' functionality is to allow you to quickly retrieve and add users to CometChat. +- [Retrieve Users](https://www.cometchat.com/docs/sdk/android/retrieve-users.md): Fetch the logged-in user's details and search or page through the full Android user directory with custom filters. +- [User Management](https://www.cometchat.com/docs/sdk/android/user-management.md): When a user logs into your app, you need to programmatically login the user into CometChat. +- [Block Users](https://www.cometchat.com/docs/sdk/android/block-users.md): Block or unblock users in your Android app so all messages to and from them stop, and fetch the list of everyone you have blocked. + +#### Groups + +- [Groups](https://www.cometchat.com/docs/sdk/android/groups-overview.md): Groups help your users to converse together in a single space. You can have three types of groups- private, public and password protected. +- [Retrieve Groups](https://www.cometchat.com/docs/sdk/android/retrieve-groups.md): Fetch the groups a user has joined or can join, filter them by keyword or tag, and get one group's details and online member count. +- [Create A Group](https://www.cometchat.com/docs/sdk/android/create-group.md): Create a public, private or password-protected group from your Android app, and add its first members in the same step. +- [Update A Group](https://www.cometchat.com/docs/sdk/android/update-group.md): Change a group's name, type, password or other details, then fetch the group again, since no real-time event announces the update. +- [Join A Group](https://www.cometchat.com/docs/sdk/android/join-group.md): Join an Android group chat with public, password, or private access, then track which groups a user has already joined. +- [Leave A Group](https://www.cometchat.com/docs/sdk/android/leave-group.md): Removing a group member or leaving a group yourself triggers events apps can catch live or catch up on later from message history. +- [Delete A Group](https://www.cometchat.com/docs/sdk/android/delete-group.md): Only a group admin can remove it, and this page shows the single parameter needed to complete the deletion. +- [Retrieve Group Members](https://www.cometchat.com/docs/sdk/android/retrieve-group-members.md): Shows how to fetch a group's member list with adjustable limits, search terms, and scope filters before loading more results. +- [Add Members To A Group](https://www.cometchat.com/docs/sdk/android/group-add-members.md): Add members to an Android group, ban users during the process, and listen for real-time events when someone joins. +- [Ban/Kick Member From A Group](https://www.cometchat.com/docs/sdk/android/group-kick-member.md): Shows the full set of group member actions, kicking, banning, unbanning, and scope updates, and who is allowed to perform each one. +- [Change Member Scope](https://www.cometchat.com/docs/sdk/android/group-change-member-scope.md): Lets group admins update a member's role to admin, moderator, or participant, and get notified in real time when scopes change. +- [Transfer Group Ownership](https://www.cometchat.com/docs/sdk/android/transfer-group-ownership.md): Hand ownership of a group to another member, which an owner has to do before they are allowed to leave the group. + +#### Resources + +- [Resources](https://www.cometchat.com/docs/sdk/android/resources-overview.md): We have a number of resources that will help you while integrating CometChat in your app. +- [All Real Time Listeners](https://www.cometchat.com/docs/sdk/android/real-time-listeners.md): Covers the SDK listeners for users, groups, messages, conversations, AI assistant and calls, plus the offline listeners, so readers can wire up callbacks for each one. +- [Upgrading from v4](https://www.cometchat.com/docs/sdk/android/upgrading-from-v4.md): Migration guide for upgrading from CometChat Android SDK v4 to v5. Covers breaking changes to Gson removal, equals/hashCode behavior, and Parcelable support. + +#### Advanced + +- [Advanced](https://www.cometchat.com/docs/sdk/android/advanced-overview.md): Covers error handling, logging, and extension setup so Android developers can harden and extend their chat integration. +- [Connection Status](https://www.cometchat.com/docs/sdk/android/connection-status.md): Track whether your Android app is connecting, connected or disconnected from the real-time server, and know when the SDK reconnects on its own. +- [Publishing App On PlayStore](https://www.cometchat.com/docs/sdk/android/publishing-app-on-playstore.md): Publishing an App on PlayStore is an easy task once you are done with your development. +- [Connection Behaviour](https://www.cometchat.com/docs/sdk/android/connection-behaviour.md): Set up automatic WebSocket connections and switch between auto and manual connection modes for real-time messaging. + +#### Other pages + +- [Setup](https://www.cometchat.com/docs/sdk/android/setup.md): Set up the Android v5 SDK with app keys, Gradle dependencies, and initialization before building chat features. +- [Calling](https://www.cometchat.com/docs/sdk/android/calling-overview.md): Voice and video calling for Android: the Calls SDK owns calls and ringing, the Push Notifications SDK rings the device, and the Chat SDK's calling methods are superseded. +- [User Presence](https://www.cometchat.com/docs/sdk/android/user-presence.md): User Presence helps us understand if a user is available to chat or not. +- [AI Moderation](https://www.cometchat.com/docs/sdk/android/ai-moderation.md): Screen text, image and video messages for unsafe content automatically in your Android app, and respond when each one is approved or rejected. +- [AI Agents](https://www.cometchat.com/docs/sdk/android/ai-agents.md): AI Agents enable intelligent, automated interactions within your application. +- [Campaigns](https://www.cometchat.com/docs/sdk/android/campaigns.md): CometChat Campaigns lets you deliver targeted, rich notifications to users via an in-app notification feed. + +### SDKs › Flutter v5 + +- [Index for this section](https://www.cometchat.com/docs/sdk/flutter/llms-flutter-v5.md) + +- [Chat SDK](https://www.cometchat.com/docs/sdk/flutter/overview.md): Add CometChat Chat SDK to Flutter apps with real-time messaging, users, groups, conversations, and cross-platform support. +- [Setup](https://www.cometchat.com/docs/sdk/flutter/setup.md): Install, configure, initialize, and log in users with the CometChat Flutter SDK using app keys and region. + +#### Authentication + +- [Authentication](https://www.cometchat.com/docs/sdk/flutter/authentication-overview.md): Authenticate Flutter app users with CometChat using UID login, auth tokens, session checks, logout, and backend user management. +- [Login Listeners](https://www.cometchat.com/docs/sdk/flutter/login-listeners.md): Listen for CometChat login and logout success or failure events in Flutter apps using LoginListener callbacks. + +#### Messaging + +- [Messaging](https://www.cometchat.com/docs/sdk/flutter/messaging-overview.md): Understand CometChat Flutter messaging, including text, media, custom, card, action, and call message structures. +- [Send A Message](https://www.cometchat.com/docs/sdk/flutter/send-message.md): Send CometChat text, media, and custom messages to users and groups from Flutter apps, and handle receive-only card messages. +- [Upload Files & Send Attachments](https://www.cometchat.com/docs/sdk/flutter/upload-files.md): Upload files directly to storage with per-file progress, remove, and retry through an UploadFileRequest — then send them as one or more media messages with multiple attachments. +- [Receive A Message](https://www.cometchat.com/docs/sdk/flutter/receive-messages.md): Receive CometChat messages in Flutter apps with real-time MessageListener callbacks and missed message retrieval. +- [Additional Message Filtering](https://www.cometchat.com/docs/sdk/flutter/additional-message-filtering.md): Filter CometChat messages in Flutter apps by limit, message ID, timestamp, user, group, category, type, and other request options. +- [Retrieve Conversations](https://www.cometchat.com/docs/sdk/flutter/retrieve-conversations.md): Fetch, filter, tag, and search CometChat conversations in Flutter apps using conversation request builders. +- [Threaded Messages](https://www.cometchat.com/docs/sdk/flutter/threaded-messages.md): Send, receive, and fetch CometChat threaded messages in Flutter apps using parent message IDs. +- [Thread Subscription](https://www.cometchat.com/docs/sdk/flutter/thread-subscription.md): Subscribe to and unsubscribe from message threads, read subscription state off a message, and fetch participated threads with the CometChat Flutter SDK. +- [Edit A Message](https://www.cometchat.com/docs/sdk/flutter/edit-message.md): Edit CometChat text and custom messages in Flutter apps and handle real-time or missed edit events. +- [Flag Message](https://www.cometchat.com/docs/sdk/flutter/flag-message.md): Get flag reasons and report inappropriate CometChat messages in Flutter apps for moderation review in the dashboard. +- [Delete A Message](https://www.cometchat.com/docs/sdk/flutter/delete-message.md): Delete CometChat messages in Flutter apps and handle real-time or missed message deletion events. +- [Pin A Message](https://www.cometchat.com/docs/sdk/flutter/pin-message.md): Pin and unpin messages in a conversation, fetch the pinned list, and listen for pin events with the CometChat Flutter SDK. +- [Save A Message](https://www.cometchat.com/docs/sdk/flutter/save-message.md): Save and unsave messages privately, fetch the saved list across conversations, and listen for save events with the CometChat Flutter SDK. +- [Delete A Conversation](https://www.cometchat.com/docs/sdk/flutter/delete-conversation.md): Delete one-on-one or group conversations for the logged-in user in Flutter apps using conversation ID and type. +- [Pin A Conversation](https://www.cometchat.com/docs/sdk/flutter/pin-conversation.md): Pin and unpin conversations, read the pin-ordered conversation list, and listen for conversation pin events with the CometChat Flutter SDK. +- [Typing Indicators](https://www.cometchat.com/docs/sdk/flutter/typing-indicators.md): Send and receive CometChat typing indicators in Flutter apps for one-on-one and group conversations. +- [Transient Messages](https://www.cometchat.com/docs/sdk/flutter/transient-messages.md): Send and receive ephemeral real-time messages with the CometChat Flutter SDK for live reactions and temporary indicators. +- [Delivery & Read Receipts](https://www.cometchat.com/docs/sdk/flutter/delivery-read-receipts.md): Mark CometChat messages as delivered or read in Flutter apps and listen for real-time receipt events. +- [Mentions](https://www.cometchat.com/docs/sdk/flutter/mentions.md): Send, receive, and inspect CometChat mentioned messages in Flutter apps using user UIDs in one-on-one and group conversations. +- [Reactions](https://www.cometchat.com/docs/sdk/flutter/reactions.md): Add, remove, fetch, and listen for CometChat message reactions in Flutter apps for text, media, and custom messages. + +#### Offline Support + +- [Offline Support](https://www.cometchat.com/docs/sdk/flutter/offline-overview.md): Understand how local caching, the send outbox, and reconnect catch-up keep chat working without a connection with the CometChat Flutter SDK. +- [Enable Offline Support](https://www.cometchat.com/docs/sdk/flutter/offline-enable.md): Turn on local caching and the durable send outbox, and verify offline support is active with the CometChat Flutter SDK. +- [Show Cached Data](https://www.cometchat.com/docs/sdk/flutter/offline-cached-data.md): Render cached messages, conversations, and lists instantly and reconcile them against the server with the CometChat Flutter SDK. +- [Send While Offline](https://www.cometchat.com/docs/sdk/flutter/offline-send.md): Queue messages sent without a connection, track their status, and retry failed sends with the CometChat Flutter SDK. +- [Stay in Sync](https://www.cometchat.com/docs/sdk/flutter/offline-sync.md): Catch up on everything that changed while offline, observe sync progress, trigger a manual sync, and manage the local cache with the CometChat Flutter SDK. +- [Media Caching](https://www.cometchat.com/docs/sdk/flutter/offline-media-caching.md): Cache image, video, audio and file attachments on the device so media stays viewable offline with the CometChat Flutter SDK. +- [Encrypt the Cache](https://www.cometchat.com/docs/sdk/flutter/offline-encryption.md): Encrypt the offline message cache at rest, choose what happens when encryption cannot run, and inspect the live encryption status with the CometChat Flutter SDK. +- [Offline Configuration & API Reference](https://www.cometchat.com/docs/sdk/flutter/offline-reference.md): A complete reference for the offline configuration options, public methods, listeners, enums, model fields, and error codes with the CometChat Flutter SDK. + +#### Users + +- [Users](https://www.cometchat.com/docs/sdk/flutter/users-overview.md): Understand CometChat users in Flutter apps, including UIDs, auth tokens, roles, user lists, friends, and user management. +- [Retrieve Users](https://www.cometchat.com/docs/sdk/flutter/retrieve-users.md): Fetch CometChat users in Flutter apps, get logged-in user details, and filter user lists with request builder options. +- [User Management](https://www.cometchat.com/docs/sdk/flutter/user-management.md): Create, update, and manage CometChat users in Flutter apps before login using user objects, auth keys, and REST API workflows. +- [Block Users](https://www.cometchat.com/docs/sdk/flutter/block-users.md): Block and unblock CometChat users in Flutter apps to stop direct communication and manage blocked user lists. + +#### Groups + +- [Groups](https://www.cometchat.com/docs/sdk/flutter/groups-overview.md): Understand CometChat groups in Flutter apps, including GUIDs, public groups, private groups, password-protected groups, and roles. +- [Retrieve Groups](https://www.cometchat.com/docs/sdk/flutter/retrieve-groups.md): Fetch CometChat groups in Flutter apps with pagination, search keywords, joined-only filters, tags, and group request builders. +- [Create A Group](https://www.cometchat.com/docs/sdk/flutter/create-group.md): Create CometChat public, private, and password-protected groups in Flutter apps with group GUID, name, type, and password. +- [Update A Group](https://www.cometchat.com/docs/sdk/flutter/update-group.md): Update CometChat group details from Flutter apps with updateGroup and a Group object containing changed fields. +- [Join A Group](https://www.cometchat.com/docs/sdk/flutter/join-group.md): Join CometChat public and password-protected groups in Flutter apps using group GUIDs and password validation. +- [Leave A Group](https://www.cometchat.com/docs/sdk/flutter/leave-group.md): Leave CometChat groups from Flutter apps by GUID and listen for real-time group member left events. +- [Delete A Group](https://www.cometchat.com/docs/sdk/flutter/delete-group.md): Delete CometChat groups from Flutter apps by GUID when the logged-in user has admin permissions. +- [Retrieve Group Members](https://www.cometchat.com/docs/sdk/flutter/retrieve-group-members.md): Fetch CometChat group members in Flutter apps with group GUID, pagination limits, search keywords, and member scopes. +- [Add Members To A Group](https://www.cometchat.com/docs/sdk/flutter/group-add-members.md): Add CometChat users to Flutter group chats with member scopes and optional banned member handling. +- [Ban/Kick Member From A Group](https://www.cometchat.com/docs/sdk/flutter/group-kick-member.md): Kick, ban, and unban CometChat group members in Flutter apps when the logged-in user is an admin or moderator. +- [Change Member Scope](https://www.cometchat.com/docs/sdk/flutter/group-change-member-scope.md): Update CometChat group member scopes in Flutter apps to change participants between admin, moderator, and participant roles. +- [Transfer Group Ownership](https://www.cometchat.com/docs/sdk/flutter/transfer-group-ownership.md): Transfer CometChat group ownership to another member in Flutter apps before the current owner leaves the group. + +#### Resources + +- [Resources](https://www.cometchat.com/docs/sdk/flutter/resources-overview.md): Find CometChat Flutter SDK resources for listeners, message structure, errors, rate limits, troubleshooting, and integration support. +- [All Real Time Listeners](https://www.cometchat.com/docs/sdk/flutter/real-time-listeners.md): Handle CometChat real-time events in Flutter apps with user, group, and message listeners for presence, membership, and messages. + +#### Advanced + +- [Advanced](https://www.cometchat.com/docs/sdk/flutter/advanced-overview.md): Explore advanced CometChat Flutter SDK topics such as connection listeners, login listeners, webhooks, and integration resources. +- [Connection Status](https://www.cometchat.com/docs/sdk/flutter/connection-status.md): Monitor CometChat WebSocket connection status in Flutter apps with callbacks for connecting, connected, disconnected, and errors. +- [Connection Behaviour](https://www.cometchat.com/docs/sdk/flutter/connection-behaviour.md): Manage CometChat Flutter SDK WebSocket behavior with automatic connection handling, background disconnects, and manual connection mode. + +#### Other pages + +- [User Presence](https://www.cometchat.com/docs/sdk/flutter/user-presence.md): Track CometChat user presence in Flutter apps with subscriptions for all users, roles, friends, and real-time user listeners. +- [AI Moderation](https://www.cometchat.com/docs/sdk/flutter/ai-moderation.md): Automatically review CometChat messages for inappropriate content in Flutter apps using AI moderation rules and message status updates. +- [AI Agents](https://www.cometchat.com/docs/sdk/flutter/ai-agents.md): Learn how to integrate AI Agents in your Flutter app to process messages, trigger tools, and respond with context. +- [Campaigns](https://www.cometchat.com/docs/sdk/flutter/campaigns.md): Fetch notification feed items, listen for real-time delivery, mark items as read/delivered, report engagement, and retrieve unread counts in Flutter. +- [Upgrading from v4](https://www.cometchat.com/docs/sdk/flutter/upgrading-from-v4-guide.md): Upgrade Flutter apps from CometChat SDK v4 to v5 with new Dart implementation, dependency changes, and breaking API updates. + +### SDKs › Unreal Engine + +- [Overview](https://www.cometchat.com/docs/sdk/unreal/overview.md): Add in-app chat to your Unreal Engine game using the CometChat SDK plugin. +- [Setup](https://www.cometchat.com/docs/sdk/unreal/setup.md): Install the CometChat plugin in your Unreal Engine project. +- [Key Concepts](https://www.cometchat.com/docs/sdk/unreal/key-concepts.md): Understand the architecture, patterns, and data types used by the CometChat Unreal SDK. + +#### Authentication + +- [Overview](https://www.cometchat.com/docs/sdk/unreal/authentication.md): Log users in and out of CometChat in your Unreal Engine project. + +#### Messaging + +- [Send a Message](https://www.cometchat.com/docs/sdk/unreal/send-message.md): Send text messages to users and groups from your Unreal Engine game. +- [Receive Messages](https://www.cometchat.com/docs/sdk/unreal/receive-messages.md): Fetch message history and listen for incoming messages in real time. +- [Real-Time Events](https://www.cometchat.com/docs/sdk/unreal/real-time-events.md): Listen for incoming messages, presence changes, typing indicators, receipts, group events, and connection state. +- [Typing Indicators](https://www.cometchat.com/docs/sdk/unreal/typing-indicators.md): Show real-time typing indicators when users are composing messages. +- [Delivery & Read Receipts](https://www.cometchat.com/docs/sdk/unreal/delivery-read-receipts.md): Track when messages are delivered to and read by recipients. +- [Connection Status](https://www.cometchat.com/docs/sdk/unreal/connection-status.md): Monitor the WebSocket connection state and handle reconnection. + +#### Users & Groups + +- [Users](https://www.cometchat.com/docs/sdk/unreal/users.md): Fetch user profiles and track user presence in real time. +- [Groups](https://www.cometchat.com/docs/sdk/unreal/groups.md): Create, join, leave, and message groups in your Unreal Engine game. + +#### Reference + +- [API Reference](https://www.cometchat.com/docs/sdk/unreal/reference.md): Complete reference of all Blueprint nodes, structs, enums, and delegates in the CometChat Unreal SDK. + +### SDKs › Ionic (Legacy) + +- [Ionic SDK (Legacy)](https://www.cometchat.com/docs/sdk/ionic-legacy/overview.md): The Ionic/Cordova SDK documentation has moved to the legacy archive. + +### APIs + +- [Index for this section](https://www.cometchat.com/docs/rest-api/llms-chat-rest.md) + +#### Chat APIs + +- [Overview](https://www.cometchat.com/docs/rest-api/chat-apis.md): CometChat REST API documentation for integrating chat functionality into your server-side applications. +- [Calls APIs Overview](https://www.cometchat.com/docs/rest-api/calls-apis/overview.md): Retrieve CometChat call logs, session details, participant metrics, durations, recordings, and transcriptions with Calls REST APIs. + +#### Chat APIs › Setup & Authentication + +- [Authentication](https://www.cometchat.com/docs/rest-api/authentication.md): Authenticate CometChat REST API requests with API keys, required headers, and app credentials before calling platform endpoints. + +#### Chat APIs › Setup & Authentication › API Keys + +- [Overview](https://www.cometchat.com/docs/rest-api/api-keys.md): Manage CometChat REST API keys for authenticating app-level requests, rotating credentials, and securing server integrations. +- [List](https://www.cometchat.com/docs/rest-api/api-keys/list.md): Find and review every API key for an app, including its scopes and creation date, to manage access correctly. +- [Create](https://www.cometchat.com/docs/rest-api/api-keys/create.md): Create a new API key for your app using an existing full-access key, within the limits of 25 keys per app and a 100-character name. +- [Get](https://www.cometchat.com/docs/rest-api/api-keys/get.md): Retrieve API key details to check permissions and settings tied to a specific app key. +- [Update](https://www.cometchat.com/docs/rest-api/api-keys/update.md): Updating an API key changes its scope and permissions, and this page lists the exact error codes to check when a request fails. +- [Delete](https://www.cometchat.com/docs/rest-api/api-keys/delete.md): Delete an API key permanently through the REST API, with error codes for failed attempts handled separately. + +#### Chat APIs › Setup & Authentication › Auth Tokens + +- [Overview](https://www.cometchat.com/docs/rest-api/auth-tokens.md): Manage CometChat auth tokens for user login through SDKs, including token creation, validation, and client session access. +- [List](https://www.cometchat.com/docs/rest-api/auth-tokens/list.md): Lists auth tokens for a user with the specified UID. +- [Create](https://www.cometchat.com/docs/rest-api/auth-tokens/create.md): Create a CometChat auth token for a user UID so client apps can log users in through SDKs without exposing credentials. +- [Flush](https://www.cometchat.com/docs/rest-api/auth-tokens/flush.md): Deletes all the auth tokens for the specified UID. +- [Get](https://www.cometchat.com/docs/rest-api/auth-tokens/get.md): Retrieves details of an auth token for the specified UID andauth token. +- [Update](https://www.cometchat.com/docs/rest-api/auth-tokens/update.md): Updates the details of an auth token for the specified UID andauth token. +- [Delete](https://www.cometchat.com/docs/rest-api/auth-tokens/delete.md): Deletes an auth token for the specified UID. + +#### Chat APIs › Users & Groups › User Roles + +- [Overview](https://www.cometchat.com/docs/rest-api/roles.md): Define and manage CometChat user roles with REST APIs to control permissions and feature access across your app. +- [List](https://www.cometchat.com/docs/rest-api/roles/list.md): Retrieve a paginated list of all roles in a CometChat app using the REST API, with limits and error handling. +- [Create](https://www.cometchat.com/docs/rest-api/roles/create.md): Create a CometChat user role with REST API to define permissions for app users and role-based feature access. +- [Get](https://www.cometchat.com/docs/rest-api/roles/get.md): Retrieves role details for a given role. +- [Update](https://www.cometchat.com/docs/rest-api/roles/update.md): Update a user's role assignment and confirm the changes using the CometChat REST API. +- [Delete](https://www.cometchat.com/docs/rest-api/roles/delete.md): Delete a role through the API and confirm the response once the removal succeeds. + +#### Chat APIs › Users & Groups › User Roles › Restrict Features + +- [Overview](https://www.cometchat.com/docs/rest-api/restrict-features.md): Restrict CometChat features by user role with REST API controls, and migrate to RBAC for current permission management. +- [List Restricted Features](https://www.cometchat.com/docs/rest-api/restrict-features/list-restricted-features.md): List all restricted features for a given role. +- [Restrict Features](https://www.cometchat.com/docs/rest-api/restrict-features/restrict-features.md): Restrict Features for a given role. +- [Allow Features](https://www.cometchat.com/docs/rest-api/restrict-features/allow-features.md): Allow features access for a given role. + +#### Chat APIs › Users & Groups › User Roles › Role Based Access Control + +- [Overview](https://www.cometchat.com/docs/rest-api/rbac-overview.md): Configure role-based (RBAC) and scope-based (SBAC) access control permissions for your CometChat app. +- [List Role Permissions](https://www.cometchat.com/docs/rest-api/rbac/list-role-permissions.md): See exactly which role permissions exist and check the full error list for this REST API endpoint. +- [Set Role Permissions](https://www.cometchat.com/docs/rest-api/rbac/set-role-permissions.md): Sets or updates permissions for a specific role +- [Unset Role Permissions](https://www.cometchat.com/docs/rest-api/rbac/unset-role-permissions.md): Removes a specific permission from a role +- [List Scope Permissions](https://www.cometchat.com/docs/rest-api/rbac/list-scope-permissions.md): See which roles can list scope-based permissions and where to go for related API errors. +- [Set Scope Permissions](https://www.cometchat.com/docs/rest-api/rbac/set-scope-permissions.md): Sets or updates permissions for a specific group scope +- [Unset Scope Permissions](https://www.cometchat.com/docs/rest-api/rbac/unset-scope-permissions.md): Remove a permission from a CometChat group scope with REST API to update role-based access control for group actions. + +#### Chat APIs › Users & Groups › Users + +- [Overview](https://www.cometchat.com/docs/rest-api/users.md): Manage users in your CometChat app — create, retrieve, update, and delete user accounts that power messaging and calling. +- [List](https://www.cometchat.com/docs/rest-api/users/list.md): List CometChat app users with REST API using pagination and filters for roles, tags, status, and search keywords. +- [Reactivate](https://www.cometchat.com/docs/rest-api/users/reactivate.md): Reactivate CometChat users by UID with REST API to restore access for previously deactivated accounts. +- [Create](https://www.cometchat.com/docs/rest-api/users/create.md): Create a CometChat user with REST API by setting UID, name, avatar, role, metadata, and other profile fields. +- [Deactivate](https://www.cometchat.com/docs/rest-api/users/deactivate.md): Deactivate CometChat users by UID with REST API to suspend user access without deleting their account data. +- [Get](https://www.cometchat.com/docs/rest-api/users/get.md): Get CometChat user details by UID with REST API, including profile fields, status, role, metadata, and tags. +- [Update](https://www.cometchat.com/docs/rest-api/users/update.md): Update a CometChat user by UID with REST API to change profile fields, role, metadata, tags, avatar, or status. +- [Delete](https://www.cometchat.com/docs/rest-api/users/delete.md): Deactivate a CometChat user by UID with REST API, or permanently delete the user and related data with permanent: true. + +#### Chat APIs › Users & Groups › Bots + +- [Overview](https://www.cometchat.com/docs/rest-api/bots.md): Create and manage CometChat bots with REST APIs to relay user and group messages to your own webhook. +- [List](https://www.cometchat.com/docs/rest-api/bots/list.md): Retrieve a paginated list of the bots in a CometChat app using the REST API, with search and AI bot filtering. +- [Create](https://www.cometchat.com/docs/rest-api/bots/create.md): Create a CometChat bot for an existing user with the REST API and relay its messages to your own webhook. +- [Get](https://www.cometchat.com/docs/rest-api/bots/get.md): Retrieve the details of a single CometChat bot by UID using the REST API. +- [Update](https://www.cometchat.com/docs/rest-api/bots/update.md): Update a CometChat bot's webhook, group chat setting, basic auth credentials or enabled state with the REST API. +- [Delete](https://www.cometchat.com/docs/rest-api/bots/delete.md): Delete a CometChat bot by UID with the REST API and confirm the removal from the response. + +#### Chat APIs › Users & Groups › Blocked Users + +- [Overview](https://www.cometchat.com/docs/rest-api/blocked-users.md): Block, unblock, and list CometChat users with REST APIs to control direct messaging access between users. +- [List Blocked Users](https://www.cometchat.com/docs/rest-api/blocked-users/list-blocked-users.md): List blocked users for a CometChat user UID with REST API to review accounts restricted from direct messaging. +- [Block User](https://www.cometchat.com/docs/rest-api/blocked-users/block-user.md): Block a user by UID with CometChat REST API to prevent direct messages and interactions from the blocked account. +- [Unblock User](https://www.cometchat.com/docs/rest-api/blocked-users/unblock-user.md): Unblock a user by UID with CometChat REST API to restore direct messaging access between user accounts. + +#### Chat APIs › Users & Groups › Friends + +- [Overview](https://www.cometchat.com/docs/rest-api/friends.md): Manage CometChat friend relationships with REST APIs to associate accepted app friendships between users. +- [List Friends](https://www.cometchat.com/docs/rest-api/friends/list-friends.md): The API allows to fetch friends for a given UID. +- [Add Friends](https://www.cometchat.com/docs/rest-api/friends/add-friends.md): The API allows to add multiple friends for a given UID. +- [Remove Friends](https://www.cometchat.com/docs/rest-api/friends/remove-friends.md): The API removes friends for a given UID. + +#### Chat APIs › Users & Groups › Groups + +- [Overview](https://www.cometchat.com/docs/rest-api/groups.md): Create and manage CometChat groups with REST APIs for public, private, and password-protected conversations. +- [List](https://www.cometchat.com/docs/rest-api/groups/list.md): Fetch and filter group lists, then use the error guide to handle request failures correctly. +- [Create](https://www.cometchat.com/docs/rest-api/groups/create.md): Create a group and check its limits, such as 300 members with every feature, or up to 100,000 once receipts and typing indicators switch off. +- [Get](https://www.cometchat.com/docs/rest-api/groups/get.md): Retrieves details of a group for a given GUID. +- [Update](https://www.cometchat.com/docs/rest-api/groups/update.md): Updates the group details for a given GUID. +- [Delete](https://www.cometchat.com/docs/rest-api/groups/delete.md): Delete a CometChat group by GUID with REST API to remove a multi-user conversation and its group resource. + +#### Chat APIs › Users & Groups › Group Members + +- [Overview](https://www.cometchat.com/docs/rest-api/group-members.md): Add, remove, list, and update CometChat group members with REST APIs, including member scopes and group permissions. +- [List](https://www.cometchat.com/docs/rest-api/group-members/list.md): List members of a CometChat group by GUID with REST API to retrieve users, scopes, and membership details. +- [Add members](https://www.cometchat.com/docs/rest-api/group-members/add-members.md): Add multiple users to a CometChat group by GUID with REST API and assign member scopes during group membership setup. +- [Change Scope](https://www.cometchat.com/docs/rest-api/group-members/change-scope.md): Change a CometChat group member scope using GUID and UID parameters to update permissions through the REST API. +- [Kick](https://www.cometchat.com/docs/rest-api/group-members/kick.md): Remove a CometChat group member using GUID and UID parameters to manage membership through the REST API. + +#### Chat APIs › Users & Groups › Banned Users + +- [Overview](https://www.cometchat.com/docs/rest-api/banned-users.md): Ban, list, and unban CometChat group members with REST APIs to manage group access and moderation. +- [Ban](https://www.cometchat.com/docs/rest-api/banned-users/ban.md): Ban a CometChat user from a group using GUID and UID parameters to restrict group access through the REST API. +- [Unban](https://www.cometchat.com/docs/rest-api/banned-users/unban.md): Unban a CometChat user from a group using GUID and UID parameters to restore group access through the REST API. +- [List](https://www.cometchat.com/docs/rest-api/banned-users/list.md): List banned users in a CometChat group by GUID to review restricted members through the REST API. + +#### Chat APIs › Chat & Messaging › Messages + +- [Overview](https://www.cometchat.com/docs/rest-api/messages.md): Send, retrieve, and manage CometChat messages with REST APIs for user and group chats, including text, media, threads, and reactions. +- [List Messages](https://www.cometchat.com/docs/rest-api/messages/list-messages.md): List CometChat messages with REST API using filters for users, groups, categories, types, timestamps, and threads. +- [Send Message](https://www.cometchat.com/docs/rest-api/messages/send-message.md): Send a CometChat message on behalf of a user with REST API for one-on-one or group conversations. +- [Get Message](https://www.cometchat.com/docs/rest-api/messages/get-message.md): Get CometChat message details by message ID with REST API, including sender, receiver, category, type, and metadata. +- [Update Message](https://www.cometchat.com/docs/rest-api/messages/update-message.md): Update a CometChat message by message ID with REST API to edit message content on behalf of a user. +- [Delete Message](https://www.cometchat.com/docs/rest-api/messages/delete-message.md): Delete a CometChat message by message ID with REST API to remove it from a user or group conversation. +- [Pin Message](https://www.cometchat.com/docs/rest-api/messages/pin-message.md): Pin a CometChat message in a one-on-one or group conversation with REST API, as the app or on behalf of a user. +- [Unpin Message](https://www.cometchat.com/docs/rest-api/messages/unpin-message.md): Unpin a pinned CometChat message with REST API. Any user with unpin permission can unpin, not only the user who pinned it. +- [Save Message](https://www.cometchat.com/docs/rest-api/messages/save-message.md): Save a CometChat message to a user's private saved list with REST API on behalf of that user. +- [Unsave Message](https://www.cometchat.com/docs/rest-api/messages/unsave-message.md): Remove a CometChat message from a user's saved list with REST API on behalf of that user. +- [Mark Message As Interacted](https://www.cometchat.com/docs/rest-api/messages/mark-message-as-interacted.md): Mark a CometChat message as interacted with REST API on behalf of a user. +- [List all reactions](https://www.cometchat.com/docs/rest-api/messages/list-all-reactions.md): List all reactions for a CometChat message by message ID with REST API to review emoji reactions and reacting users. +- [List reactions with a specific emoji/unicodes](https://www.cometchat.com/docs/rest-api/messages/list-reactions-with-a-specific-emoji-unicode.md): List reactions for a specific emoji on a CometChat message by message ID and reaction value with REST API. +- [Add reaction](https://www.cometchat.com/docs/rest-api/messages/add-reaction.md): Add a reaction to a CometChat message by message ID and emoji using the REST API for user or group conversations. +- [Remove reaction](https://www.cometchat.com/docs/rest-api/messages/remove-reaction.md): Remove a reaction from a CometChat message by message ID and emoji using the REST API for user or group conversations. +- [List Threaded Messages](https://www.cometchat.com/docs/rest-api/messages/list-threaded-messages.md): List threaded replies for a CometChat message by parent message ID with REST API to fetch thread conversations. +- [Send Threaded Message](https://www.cometchat.com/docs/rest-api/messages/send-threaded-message.md): Send a threaded CometChat message by parent message ID with REST API to reply inside an existing thread. +- [List Threads](https://www.cometchat.com/docs/rest-api/messages/list-threads.md): List CometChat message threads with REST API to fetch thread conversations across your app. +- [Subscribe Thread](https://www.cometchat.com/docs/rest-api/messages/subscribe-thread.md): Subscribe a CometChat user to a message thread with REST API to receive updates on threaded replies. +- [Unsubscribe Thread](https://www.cometchat.com/docs/rest-api/messages/unsubscribe-thread.md): Unsubscribe a CometChat user from a message thread with REST API to stop receiving threaded reply updates. +- [List User Messages](https://www.cometchat.com/docs/rest-api/messages/list-user-messages.md): List messages between CometChat users with REST API using the target UID and onBehalfOf user context. +- [List Group Messages](https://www.cometchat.com/docs/rest-api/messages/list-group-messages.md): List CometChat group messages by GUID with REST API to fetch conversation history for a specific group. +- [Send Bot Message](https://www.cometchat.com/docs/rest-api/messages/send-bot-message.md): Send a CometChat message from a bot UID with REST API to post bot-authored text, media, or custom content. + +#### Chat APIs › Chat & Messaging › Conversations + +- [Overview](https://www.cometchat.com/docs/rest-api/conversations.md): Retrieve and manage CometChat conversations with REST APIs, including recent chats, last messages, unread counts, and metadata. +- [List conversations](https://www.cometchat.com/docs/rest-api/conversations/list-conversations.md): Fetching all the conversations +- [Get conversation](https://www.cometchat.com/docs/rest-api/conversations/get-conversation.md): This API is deprecated please use Get User/Group ConversationAPI +- [Delete Conversation](https://www.cometchat.com/docs/rest-api/conversations/delete-conversation.md): This API is deprecated please use Reset User/GroupConversation API +- [List Global Pinned Conversations](https://www.cometchat.com/docs/rest-api/conversations/list-global-pinned-conversations.md): List the CometChat global pinned conversations with REST API - the conversations pinned at the top for every end user, in display order. +- [Replace Global Pinned Conversations](https://www.cometchat.com/docs/rest-api/conversations/replace-global-pinned-conversations.md): Replace the full CometChat global pinned conversation list with REST API - the conversations pinned at the top for every end user. +- [Get User Conversation](https://www.cometchat.com/docs/rest-api/conversations/get-user-conversation.md): Fetch and filter conversation data by user to check unread counts, participants, and message history in one request. +- [Update User Conversation](https://www.cometchat.com/docs/rest-api/conversations/update-user-conversation.md): Update a user's conversation record through the REST API and know where to find full error code details. +- [Reset User Conversation](https://www.cometchat.com/docs/rest-api/conversations/reset-user-conversation.md): Reset a user's conversation state through this endpoint, then verify the change with the linked error reference. +- [Mark User Conversation As Delivered](https://www.cometchat.com/docs/rest-api/conversations/mark-user-conversation-as-delivered.md): This API will mark the user conversation as delivered. +- [Mark User Conversation As Read](https://www.cometchat.com/docs/rest-api/conversations/mark-user-conversation-as-read.md): This API will mark the user conversation as read. +- [Mark Conversation Messages As Unread](https://www.cometchat.com/docs/rest-api/conversations/mark-conversation-messages-as-unread.md): Allows you to mark messages within a conversation as unread +- [Pin User Conversation](https://www.cometchat.com/docs/rest-api/conversations/pin-user-conversation.md): Pin a CometChat one-on-one conversation for a user with REST API so it appears at the top of their conversation list. +- [Unpin User Conversation](https://www.cometchat.com/docs/rest-api/conversations/unpin-user-conversation.md): Unpin a CometChat one-on-one conversation for a user with REST API, removing that user's own pin. +- [Get Group Conversation](https://www.cometchat.com/docs/rest-api/conversations/get-group-conversation.md): Find and review group conversation details through the REST API in one plain, actionable step. +- [Update Group Conversation](https://www.cometchat.com/docs/rest-api/conversations/update-group-conversation.md): Update group details, members, and settings for an existing conversation using the REST API, with linked error codes. +- [Reset Group Conversation](https://www.cometchat.com/docs/rest-api/conversations/reset-group-conversation.md): Reset a group's conversation data through the REST API, then confirm the result using CometChat's error guide. +- [Mark Group Conversation As Delivered](https://www.cometchat.com/docs/rest-api/conversations/mark-group-conversation-as-delivered.md): This API will mark the group conversation as delivered. +- [Mark Group Conversation As Read](https://www.cometchat.com/docs/rest-api/conversations/mark-group-conversation-as-read.md): This API will mark the group conversation as read. +- [Mark Group Conversation As Unread](https://www.cometchat.com/docs/rest-api/conversations/mark-group-conversation-as-unread.md): This API will mark the group conversation as unread. +- [Pin Group Conversation](https://www.cometchat.com/docs/rest-api/conversations/pin-group-conversation.md): Pin a CometChat group conversation for a user with REST API so it appears at the top of their conversation list. +- [Unpin Group Conversation](https://www.cometchat.com/docs/rest-api/conversations/unpin-group-conversation.md): Unpin a CometChat group conversation for a user with REST API, removing that user's own pin. + +#### Chat APIs › Platform Features › Metrics + +- [Usage Metrics](https://www.cometchat.com/docs/rest-api/metrics/usage-metrics.md): Get CometChat app usage metrics with REST API to review message, user, group, and app activity statistics. +- [Message Metrics](https://www.cometchat.com/docs/rest-api/metrics/message-metrics.md): Gives the number of messages sent and receipts received in an interval of five minutes. + +#### Chat APIs › Platform Features + +- [AI Moderation APIs](https://www.cometchat.com/docs/rest-api/moderation-apis/overview.md): Create and manage content moderation rules to maintain a safe environment across your CometChat app. +- [Notification APIs Overview](https://www.cometchat.com/docs/rest-api/notifications-apis/overview.md): Manage push, email, and SMS notification providers and preferences for your CometChat app. + +#### Chat APIs › Data Import + +- [Overview](https://www.cometchat.com/docs/rest-api/data-import.md): Import users, groups, members, and message history into CometChat with REST APIs for bulk migration from another chat system. + +#### Chat APIs › Data Import › Messages + +- [Import Messages](https://www.cometchat.com/docs/rest-api/data-import-apis/messages/import-messages.md): The CometChat message import API allows customers to import their messages’ data into the CometChat systems. + +#### Chat APIs › Data Import › Users + +- [Import Users](https://www.cometchat.com/docs/rest-api/data-import-apis/users/import-users.md): The CometChat user import API allows customers to import their users’ data into the CometChat systems. + +#### Chat APIs › Data Import › Groups + +- [Import Groups](https://www.cometchat.com/docs/rest-api/data-import-apis/groups/import-groups.md): The CometChat group import API allows customers to import their groups’ data into the CometChat systems. +- [Import Group Members](https://www.cometchat.com/docs/rest-api/data-import-apis/groups/import-group-members.md): The CometChat group member import API allows customers to import their group members’ data into the CometChat systems. + +#### Chat APIs › Troubleshoot + +- [Error Guide](https://www.cometchat.com/docs/articles/error-guide.md): Common error codes and their descriptions for CometChat REST APIs. +- [Properties and Constraints](https://www.cometchat.com/docs/articles/properties-and-constraints.md): Review CometChat properties and constraints for API keys, users, groups, metadata, tags, limits, and supported values. +- [Rate Limits](https://www.cometchat.com/docs/rest-api/rate-limits.md): Understand the API rate limits enforced by CometChat to ensure fair usage and service quality. + +#### Management APIs (Multi-Tenancy) + +- [Overview](https://www.cometchat.com/docs/rest-api/management-apis.md): Manage CometChat applications with Multi-Tenancy REST APIs for account-level app operations and dashboard-free control. + +#### Management APIs (Multi-Tenancy) › App Management › App + +- [List](https://www.cometchat.com/docs/rest-api/management-apis/app/list.md): Lists all the apps for an account. +- [Create](https://www.cometchat.com/docs/rest-api/management-apis/app/create.md): Creates an app in the account. It returns all the app related information. +- [Delete](https://www.cometchat.com/docs/rest-api/management-apis/app/delete.md): Schedule a specific app for deletion. +- [Fetch usage](https://www.cometchat.com/docs/rest-api/management-apis/app/fetch-usage.md): Retrieves usage data for multi-tenant apps. + +#### Management APIs (Multi-Tenancy) › App Management › Extensions + +- [Overview](https://www.cometchat.com/docs/rest-api/extensions-overview.md): Browse available CometChat extensions for enhanced chat functionality. +- [List Extensions](https://www.cometchat.com/docs/rest-api/management-apis/extensions/list-extensions.md): Check installed extensions and their status, then pull up error codes if something fails to load. +- [Enable/Disable](https://www.cometchat.com/docs/rest-api/management-apis/extensions/enabledisable.md): Enables or disables the extension for an app. +- [Chat Widgets List](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chat-widgets-list.md): Chat Widgets List all the Chat Widgets for an app. +- [Chat Widgets Update](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chat-widgets-update.md): Chat Widgets Update an existing Chat Widget. +- [Chat Widgets Create](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chat-widgets-create.md): Chat Widgets Create a new Chat Widget. +- [Giphy Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/giphy-get-settings.md): Giphy : Returns the settings for Giphy extension +- [Giphy Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/giphy-update-settings.md): Giphy : Update the settings for Giphy extension +- [Giphy Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/giphy-store-settings.md): Giphy : Saving the settings for Giphy extensions for the first time +- [Giphy Delete settings for Giphy](https://www.cometchat.com/docs/rest-api/management-apis/extensions/giphy-delete-settings-for-giphy.md): Giphy : Deletes the settings for Giphy extension +- [XSS Filter Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/xss-filter-get-settings.md): XSS Filter : Get settings for XSS Filter extension +- [XSS Filter Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/xss-filter-update-settings.md): XSS Filter : Update the settings for XSS Filter extension +- [XSS Filter Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/xss-filter-store-settings.md): XSS Filter : Store new settings for XSS Filter extension +- [XSS Filter Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/xss-filter-delete-settings.md): XSS Filter : Delete the settings for XSS Filter extension +- [Image Moderation Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/image-moderation-get-settings.md): Image Moderation : Get settings for Image moderation extension +- [Image Moderation Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/image-moderation-update-settings.md): Image Moderation : Update the settings for Image moderation extension +- [Image Moderation Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/image-moderation-store-settings.md): Image Moderation : Store new settings for Image moderation extension +- [Image Moderation Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/image-moderation-delete-settings.md): Image Moderation : Delete the settings for Image moderation extension +- [Report user Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-user-get-settings.md): Report user : Get settings for Report user extension +- [Report user Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-user-update-settings.md): Report user : Update the settings for Report user extension +- [Report user Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-user-store-settings.md): Report user : Store new settings for Report user extension +- [Report user Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-user-delete-settings.md): Report user : Delete the settings for Report user extension +- [Report message Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-message-get-settings.md): Report message : Get settings for Report message extension +- [Report message Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-message-update-settings.md): Report message : Update the settings for Report message extension +- [Report message Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-message-store-settings.md): Report message : Store new settings for Report message extension +- [Report message Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/report-message-delete-settings.md): Report message : Delete the settings for Report message extension +- [Voice transcription Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/voice-transcription-get-settings.md): Voice transcription : Get settings for Voice transcription extension +- [Voice transcription Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/voice-transcription-update-settings.md): Voice transcription : Update the settings for Voice transcription extension +- [Voice transcription Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/voice-transcription-store-settings.md): Voice transcription : Store new settings for Voice transcription extension +- [Voice transcription Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/voice-transcription-delete-settings.md): Voice transcription : Delete the settings for Voice transcription extension +- [Stipop Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stipop-get-settings.md): Stipop : Get settings for Stipop extension +- [Stipop Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stipop-update-settings.md): Stipop : Update the settings for Stipop extension +- [Stipop Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stipop-store-settings.md): Stipop : Store new settings for Stipop extension +- [Stipop Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stipop-delete-settings.md): Stipop : Delete the settings for Stipop extension +- [Sentiment analysis Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sentiment-analysis-get-settings.md): Sentiment analysis : Get settings for Sentiment analysis extension +- [Sentiment analysis Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sentiment-analysis-update-settings.md): Sentiment analysis : Update the settings for Sentiment analysis extension +- [Sentiment analysis Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sentiment-analysis-store-settings.md): Sentiment analysis : Store new settings for Sentiment analysis extension +- [Sentiment analysis Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sentiment-analysis-delete-settings.md): Sentiment analysis : Delete the settings for Sentiment analysis extension +- [TinyURL Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tinyurl-get-settings.md): TinyURL : Get settings for TinyURL extension. +- [TinyURL Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tinyurl-update-settings.md): TinyURL : Update the settings for TinyURL extension. +- [TinyURL Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tinyurl-store-settings.md): TinyURL : Store new settings for TinyURL extension +- [TinyURL Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tinyurl-delete-settings.md): TinyURL : Delete the settings for TinyURL extension. +- [Intercom Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/intercom-get-settings.md): Intercom : Get settings for Intercom extension +- [Intercom Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/intercom-update-settings.md): Intercom : Update the settings for Intercom extension +- [Intercom Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/intercom-store-settings.md): Intercom : Store new settings for Intercom extension +- [Intercom Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/intercom-delete-settings.md): Intercom : Delete the settings for Intercom extension +- [Bitly Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/bitly-get-settings.md): Bitly : Get settings for Bitly extension +- [Bitly Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/bitly-update-settings.md): Bitly : Update the settings for Bitly extension +- [Bitly Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/bitly-store-settings.md): Bitly : Store new settings for Bitly extension +- [Bitly Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/bitly-delete-settings.md): Bitly : Delete the settings for Bitly extension +- [Rich media preview Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/rich-media-preview-get-settings.md): Rich media preview : Get settings for Rich media preview extension. +- [Rich media preview Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/rich-media-preview-update-settings.md): Rich media preview : Update the settings for Rich media preview extension. +- [Rich media preview Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/rich-media-preview-store-settings.md): Rich media preview : Store new settings for Rich media preview extension +- [Rich media preview Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/rich-media-preview-delete-settings.md): Rich media preview : Delete the settings for Rich media preview extension. +- [Virus Malware Scanner Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/virus-malware-scanner-get-settings.md): Virus Malware Scanner : Get settings for Virus malware scanner extension. +- [Virus Malware Scanner Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/virus-malware-scanner-update-settings.md): Virus Malware Scanner : Update the settings for Virus malware scanner extension. +- [Virus Malware Scanner Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/virus-malware-scanner-store-settings.md): Virus Malware Scanner : Store new settings for Virus malware scanner extension +- [Virus Malware Scanner Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/virus-malware-scanner-delete-settings.md): Virus Malware Scanner : Delete the settings for Virus malware scanner extension. +- [Video Broadcasting Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/video-broadcasting-get-settings.md): Video Broadcasting : Get settings for Video Broadcasting extension. +- [Video Broadcasting Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/video-broadcasting-update-settings.md): Video Broadcasting : Update the settings for Video Broadcasting extension. +- [Video Broadcasting Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/video-broadcasting-store-settings.md): Video Broadcasting : Store new settings for Video Broadcasting extension +- [Video Broadcasting Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/video-broadcasting-delete-settings.md): Video Broadcasting : Delete the settings for Video Broadcasting extension. +- [Tenor gifs Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tenor-gifs-get-settings.md): Tenor gifs : Get settings for Tenor gifs extension. +- [Tenor gifs Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tenor-gifs-update-settings.md): Tenor gifs : Update the settings for Tenor gifs extension. +- [Tenor gifs Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tenor-gifs-store-settings.md): Tenor gifs : Store new settings for Tenor gifs extension +- [Tenor gifs Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/tenor-gifs-delete-settings.md): Tenor gifs : Delete the settings for Tenor gifs extension. +- [In-flight message moderation Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/in-flight-message-moderation-get-settings.md): In-flight message moderation : Get settings for In-flight message moderation extension. +- [In-flight message moderation Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/in-flight-message-moderation-update-settings.md): In-flight message moderation : Update the settings for In-flight message moderation extension. +- [In-flight message moderation Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/in-flight-message-moderation-store-settings.md): In-flight message moderation : Store new settings for In-flight message moderation extension +- [In-flight message moderation Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/in-flight-message-moderation-delete-settings.md): In-flight message moderation : Delete the settings for In-flight message moderation extension. +- [End-to-end encryption Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/end-to-end-encryption-get-settings.md): End-to-end encryption : Get settings for End-to-end encryption extension. +- [End-to-end encryption Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/end-to-end-encryption-update-settings.md): End-to-end encryption : Update the settings for End-to-end encryption extension. +- [End-to-end encryption Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/end-to-end-encryption-store-settings.md): End-to-end encryption : Store new settings for End-to-end encryption extension +- [End-to-end encryption Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/end-to-end-encryption-delete-settings.md): End-to-end encryption : Delete the settings for End-to-end encryption extension. +- [Stickers extension Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stickers-extension-get-settings.md): Stickers extension : Get settings for Stickers extension. +- [Stickers extension Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stickers-extension-update-settings.md): Stickers extension : Update the settings for Stickers extension. +- [Stickers extension Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/stickers-extension-delete-settings.md): Stickers extension : Delete the settings for Stickers extension. +- [Push notification Upload p12 Certificate](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-upload-p12-certificate.md): Push notification : Upload a p12 Certificate +- [Push notification Upload p8 Certificate](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-upload-p8-certificate.md): Push notification : Upload a p8 Certificate +- [Push notification Get Certificate](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-get-certificate.md): Push notification : Get Certificate description +- [Email replies Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-replies-get-settings.md): Email replies : Get settings for Email replies extension. +- [Email replies Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-replies-update-settings.md): Email replies : Update the settings for Email replies extension. +- [Email replies Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-replies-store-settings.md): Email replies : Store new settings for Email replies extension +- [Email replies Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-replies-delete-settings.md): Email replies : Delete the settings for Email replies extension. +- [SMS Notification Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sms-notification-get-settings.md): SMS Notification : Get settings for SMS Notification extension. +- [SMS Notification Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sms-notification-update-settings.md): SMS Notification : Update the settings for SMS Notification extension. +- [SMS Notification Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sms-notification-store-settings.md): SMS Notification : Store new settings for SMS Notification extension +- [SMS Notification Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/sms-notification-delete-settings.md): SMS Notification : Delete the settings for SMS Notification extension. +- [Push notification Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-get-settings.md): Push notification : Get settings for Push notifications extension. +- [Push notification Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-update-settings.md): Push notification : Update the settings for Push notifications extension. +- [Push notification Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-store-settings.md): Push notification : Store new settings for Push notifications extension +- [Push notification Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/push-notification-delete-settings.md): Push notification : Delete the settings for Push notifications extension. +- [Chatwoot Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chatwoot-get-settings.md): Chatwoot : Get settings for Chatwoot extension. +- [Chatwoot Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chatwoot-update-settings.md): Chatwoot : Update the settings for Chatwoot extension. +- [Chatwoot Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chatwoot-store-settings.md): Chatwoot : Store new settings for Chatwoot extension +- [Chatwoot Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/chatwoot-delete-settings.md): Chatwoot : Delete the settings for Chatwoot extension. +- [Message Shortcuts Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/message-shortcuts-get-settings.md): Message Shortcuts : Get settings for Message shortcuts extension. +- [Message Shortcuts Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/message-shortcuts-update-settings.md): Message Shortcuts : Update the settings for Message shortcuts extension. +- [Message Shortcuts Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/message-shortcuts-store-settings.md): Message Shortcuts : Store new settings for Message shortcuts extension +- [Message Shortcuts Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/message-shortcuts-delete-settings.md): Message Shortcuts : Delete the settings for Message shortcuts extension. +- [Email Notification Get settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-notification-get-settings.md): Email Notification : Get settings for Email notification extension. +- [Email Notification Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-notification-update-settings.md): Email Notification : Update the settings for Email notification extension. +- [Email Notification Store settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-notification-store-settings.md): Email Notification : Store new settings for Email notification extension +- [Email Notification Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/email-notification-delete-settings.md): Email Notification : Delete the settings for Email notification extension. +- [Data masking Get Settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/data-masking-get-settings.md): Data masking : Get the settings for Data masking extension. +- [Data masking Store or update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/data-masking-store-or-update-settings.md): Data masking : Store or update the settings for Data masking extension. +- [Data masking Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/data-masking-delete-settings.md): Data masking : Delete the settings for Data masking extension. +- [Profanity-filter Get Settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/profanity-filter-get-settings.md): Profanity-filter : Get settings of an app. +- [Profanity-filter Update settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/profanity-filter-update-settings.md): Profanity-filter : Update the settings for Profanity-filter extension. +- [Profanity-filter Adds Settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/profanity-filter-adds-settings.md): Profanity-filter : Adds settings an app. +- [Profanity-filter Delete settings](https://www.cometchat.com/docs/rest-api/management-apis/extensions/profanity-filter-delete-settings.md): Profanity-filter : Delete the settings for Profanity-filter extension. + +#### Management APIs (Multi-Tenancy) › App Management › Settings + +- [Overview](https://www.cometchat.com/docs/rest-api/settings.md): Configure conversation behavior — control which message types appear as the last message and increment unread counts. +- [List settings](https://www.cometchat.com/docs/rest-api/management-apis/settings/list-settings.md): Check which settings are available and how to call each one from the management API, so the integration stays configured correctly. +- [Maps Settings](https://www.cometchat.com/docs/rest-api/management-apis/settings/maps-settings.md): Configure map provider keys and limits for CometChat messaging, then troubleshoot related errors with the linked error guide. +- [UnMaps settings](https://www.cometchat.com/docs/rest-api/management-apis/settings/unmaps-settings.md): Manages unmapped settings behavior for CometChat REST API calls, with linked error codes for handling failed requests. + +#### Management APIs (Multi-Tenancy) › Access Control › Team Management + +- [List collaborators](https://www.cometchat.com/docs/rest-api/management-apis/team-management/list-collaborators.md): Lists all the collaborators of an app. +- [Adds/Remove collaborators](https://www.cometchat.com/docs/rest-api/management-apis/team-management/addsremove-collaborators.md): Adds or removes collaborators for an app. + +#### Management APIs (Multi-Tenancy) › Webhooks + +- [Overview](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/overview.md): Review CometChat management webhook properties for event payloads, webhook configuration, and REST API integrations. +- [List Webhooks](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/list-webhooks.md): Shows how to retrieve every webhook configured for an app, with pagination and error handling details included. +- [Create Webhook](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/create-webhook.md): Set up a webhook, test it against the full error list, and fix failures without digging through separate guides. +- [Get Webhook](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/get-webhook.md): Gets details of a webhook in an app. +- [Update Webhook](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/update-webhook.md): Updates webhook details of an app. +- [Delete Webhook](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/delete-webhook.md): Delete the webhook from an app. +- [List Triggers](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/list-triggers.md): List triggers attached to a webhook in an app. +- [Add Triggers](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/add-triggers.md): Adds trigger to a webhook in an app. +- [Remove Triggers](https://www.cometchat.com/docs/rest-api/management-apis/webhooks/remove-triggers.md): Removes triggers from a webhook in an app. + +#### Management APIs (Multi-Tenancy) › Troubleshoot + +- [Error Codes](https://www.cometchat.com/docs/rest-api/management-apis/error-codes.md): Error Codes for CometChat REST API. +- [Properties and Constraints](https://www.cometchat.com/docs/rest-api/management-apis/properties-and-constraints.md): Properties and Constraints for CometChat REST API. + +## Voice & Video Calling + +- [Voice & Video Calling index](https://www.cometchat.com/docs/calls/llms-calls.md) + +### Calling + +- [Voice & Video Calling](https://www.cometchat.com/docs/calls.md): Add real-time voice and video calling to your apps in minutes with WebRTC-powered SDKs. + +### Platform + +- [What is CometChat Calls?](https://www.cometchat.com/docs/calls/platform/overview.md): Learn what CometChat Calls provides for in-app voice and video calling, including call sessions, participants, layouts, and platform support. +- [Key Features](https://www.cometchat.com/docs/calls/platform/features.md): Explore CometChat Calls features for one-to-one and group calling, screen sharing, recording, layouts, chat, reactions, and moderation. +- [Platform Compatibility](https://www.cometchat.com/docs/calls/platform/compatibility.md): Check CometChat Calls platform compatibility for SDK support, browser requirements, mobile platforms, features, and known limitations. +- [User Sync](https://www.cometchat.com/docs/calls/platform/user-sync.md): Sync users with CometChat Calls so app users can authenticate, join sessions, appear in participants, and use calling features. + +### SDK › JavaScript v5 + +#### Overview + +- [Calls SDK](https://www.cometchat.com/docs/calls/javascript/overview.md): Use CometChat Calls SDK v5 for JavaScript to add voice and video calling, call sessions, participants, layouts, and in-call features. + +#### Integrations + +- [React Integration](https://www.cometchat.com/docs/calls/javascript/react-integration.md): Integrate CometChat Calls SDK v5 in React apps with package setup, initialization, call UI rendering, and component usage. +- [Vue Integration](https://www.cometchat.com/docs/calls/javascript/vue-integration.md): Integrate CometChat Calls SDK v5 in Vue apps with package setup, initialization, call UI rendering, and component usage. +- [Angular Integration](https://www.cometchat.com/docs/calls/javascript/angular-integration.md): Integrate CometChat Calls SDK v5 in Angular apps with package setup, initialization, call UI rendering, and framework configuration. +- [Next.js Integration](https://www.cometchat.com/docs/calls/javascript/nextjs-integration.md): Integrate CometChat Calls SDK v5 in Next.js apps with client-side setup, initialization, call UI rendering, and routing support. +- [Ionic Integration](https://www.cometchat.com/docs/calls/javascript/ionic-integration.md): Integrate CometChat Calls SDK v5 in Ionic apps with package setup, initialization, permissions, and call UI rendering. + +#### Getting Started + +- [Setup](https://www.cometchat.com/docs/calls/javascript/setup.md): Set up CometChat Calls SDK v5 for JavaScript with installation, app credentials, initialization, authentication, and the Chat SDK needed for ringing. +- [Authentication](https://www.cometchat.com/docs/calls/javascript/authentication.md): Configure authentication for CometChat Calls SDK v5 on JavaScript with app credentials, logged-in users, and secure call access. + +#### Call Session + +- [Session Settings](https://www.cometchat.com/docs/calls/javascript/session-settings.md): Configure CometChat Calls SDK v5 session settings on JavaScript for call behavior, UI options, participant controls, and features. +- [Join Session](https://www.cometchat.com/docs/calls/javascript/join-session.md): Join CometChat Calls SDK v5 sessions on JavaScript with session IDs, call tokens, participant setup, and in-call UI launch. +- [Actions](https://www.cometchat.com/docs/calls/javascript/actions.md): Use CometChat Calls SDK v5 actions on JavaScript to control calls, manage audio/video state, share screens, and handle in-call behavior. +- [Events](https://www.cometchat.com/docs/calls/javascript/events.md): Handle CometChat Calls SDK v5 events on JavaScript for call lifecycle, participants, media state, errors, and real-time updates. + +#### Features + +- [Ringing](https://www.cometchat.com/docs/calls/javascript/ringing.md): Ring users from a web app with the CometChat Calls SDK: start a call, show it ringing, answer, decline, cancel and end it, and tell the caller why the ring ended. +- [Call Layouts](https://www.cometchat.com/docs/calls/javascript/call-layouts.md): Customize CometChat Calls SDK v5 call layouts on JavaScript with tile, spotlight, sidebar views, layout changes, and layout events. +- [Recording](https://www.cometchat.com/docs/calls/javascript/recording.md): Use CometChat Calls SDK v5 recording on JavaScript to start, stop, access, and manage recordings for supported call sessions. +- [Transcription & Closed Captions](https://www.cometchat.com/docs/calls/javascript/transcription.md): Use CometChat Calls SDK v5 transcription on JavaScript to transcribe calls, show live closed captions, and retrieve transcripts after the call. +- [Call Logs](https://www.cometchat.com/docs/calls/javascript/call-logs.md): Display CometChat Calls SDK v5 call logs on JavaScript with call history, participants, call type, duration, and status details. +- [Participant Management](https://www.cometchat.com/docs/calls/javascript/participant-management.md): Manage CometChat Calls SDK v5 participants on JavaScript with mute, pause video, pinning, permissions, and participant events. +- [Screen Sharing](https://www.cometchat.com/docs/calls/javascript/screen-sharing.md): Add screen sharing in CometChat Calls SDK v5 on JavaScript with presenter controls, permissions, and in-call display behavior. +- [Virtual Background](https://www.cometchat.com/docs/calls/javascript/virtual-background.md): Add virtual backgrounds in CometChat Calls SDK v5 for JavaScript calls with background effects and in-call video customization. +- [Raise Hand](https://www.cometchat.com/docs/calls/javascript/raise-hand.md): Add raise hand behavior in CometChat Calls SDK v5 on JavaScript so participants can request attention during group calls. +- [Idle Timeout](https://www.cometchat.com/docs/calls/javascript/idle-timeout.md): Configure CometChat Calls SDK v5 idle timeout on JavaScript to handle inactive participants and call session cleanup. + +#### Advanced + +- [Custom Control Panel](https://www.cometchat.com/docs/calls/javascript/custom-control-panel.md): Customize the CometChat Calls SDK v5 control panel on JavaScript with call buttons, actions, layout, and user controls. +- [Device Management](https://www.cometchat.com/docs/calls/javascript/device-management.md): Manage cameras, microphones, speakers, and device permissions in CometChat Calls SDK v5 for JavaScript calling apps. +- [Permissions Handling](https://www.cometchat.com/docs/calls/javascript/permissions-handling.md): Handle browser camera, microphone, and screen permissions for CometChat Calls SDK v5 in JavaScript calling apps. +- [In-Call Chat](https://www.cometchat.com/docs/calls/javascript/in-call-chat.md): Enable in-call chat in CometChat Calls SDK v5 on JavaScript so participants can send messages during active calls. +- [Share Invite](https://www.cometchat.com/docs/calls/javascript/share-invite.md): Add invite sharing in CometChat Calls SDK v5 on JavaScript so users can share call links and bring participants into sessions. + +#### Migration Guide + +- [Migration Guide](https://www.cometchat.com/docs/calls/javascript/migration-guide-v5.md): Migrate to CometChat Calls SDK v5 on JavaScript with updated setup, APIs, call sessions, layouts, and feature changes. +- [Migrating from Legacy Ringing](https://www.cometchat.com/docs/calls/javascript/migrating-from-legacy-ringing.md): Move a web app from Chat SDK call signalling (CometChat.initiateCall, acceptCall, rejectCall) to ringing with the Calls SDK 5.1: what to add, what to delete, and how each method maps. + +#### Resources + +- [Troubleshooting](https://www.cometchat.com/docs/calls/javascript/troubleshooting.md): Troubleshoot CometChat Calls SDK v5 on JavaScript for setup, authentication, permissions, call launch, media, and session issues. + +### SDK › React Native v5 + +#### Overview + +- [Calls SDK](https://www.cometchat.com/docs/calls/react-native/overview.md): Use CometChat Calls SDK v5 for React Native to add voice and video calling, call sessions, participants, layouts, and in-call features. + +#### Getting Started + +- [Setup](https://www.cometchat.com/docs/calls/react-native/setup.md): Set up CometChat Calls SDK v5 for React Native with installation, app credentials, initialization, authentication, and a basic calling flow. +- [Authentication](https://www.cometchat.com/docs/calls/react-native/authentication.md): Configure authentication for CometChat Calls SDK v5 on React Native with app credentials, logged-in users, and secure call access. +- [Session Settings](https://www.cometchat.com/docs/calls/react-native/session-settings.md): Configure CometChat Calls SDK v5 session settings on React Native for call behavior, UI options, participant controls, and features. + +#### Call Session + +- [Join Session](https://www.cometchat.com/docs/calls/react-native/join-session.md): Join CometChat Calls SDK v5 sessions on React Native with session IDs, call tokens, participant setup, and in-call UI launch. +- [Actions](https://www.cometchat.com/docs/calls/react-native/actions.md): Use CometChat Calls SDK v5 actions on React Native to control calls, manage audio/video state, and handle in-call behavior. +- [Events](https://www.cometchat.com/docs/calls/react-native/events.md): Handle CometChat Calls SDK v5 events on React Native for call lifecycle, participants, media state, errors, and real-time updates. + +#### Features + +- [Call Layouts](https://www.cometchat.com/docs/calls/react-native/call-layouts.md): Customize CometChat Calls SDK v5 call layouts on React Native for participant grids, speaker views, screen sharing, and call UI. +- [Call Logs](https://www.cometchat.com/docs/calls/react-native/call-logs.md): Display CometChat Calls SDK v5 call logs on React Native with call history, participants, call type, duration, and status details. +- [Recording](https://www.cometchat.com/docs/calls/react-native/recording.md): Use CometChat Calls SDK v5 recording on React Native to start, stop, access, and manage recordings for supported call sessions. +- [Transcription & Closed Captions](https://www.cometchat.com/docs/calls/react-native/transcription.md): Use CometChat Calls SDK v5 transcription on React Native to transcribe calls, show live closed captions, and retrieve transcripts after the call. +- [Participant Management](https://www.cometchat.com/docs/calls/react-native/participant-management.md): Manage CometChat Calls SDK v5 participants on React Native with mute, pause video, pinning, permissions, and participant events. +- [Screen Sharing](https://www.cometchat.com/docs/calls/react-native/screen-sharing.md): View screen shares from other participants in CometChat Calls SDK v5 on React Native, including pinning and layout behavior. +- [Audio Modes](https://www.cometchat.com/docs/calls/react-native/audio-modes.md): Configure CometChat Calls SDK v5 audio modes on React Native for speakers, earpiece, Bluetooth, routing, and call audio behavior. +- [Raise Hand](https://www.cometchat.com/docs/calls/react-native/raise-hand.md): Add raise hand behavior in CometChat Calls SDK v5 on React Native so participants can request attention during group calls. +- [Idle Timeout](https://www.cometchat.com/docs/calls/react-native/idle-timeout.md): Configure CometChat Calls SDK v5 idle timeout on React Native to handle inactive participants and call session cleanup. +- [Ringing](https://www.cometchat.com/docs/calls/react-native/ringing.md): Ring users on React Native with the CometChat Calls SDK and the Push Notifications SDK: start a call, show it ringing, answer, decline, cancel and end it, with the app in any state. + +#### Advanced + +- [Picture-in-Picture](https://www.cometchat.com/docs/calls/react-native/picture-in-picture.md): Configure picture-in-picture for CometChat Calls SDK v5 on React Native to keep video calls visible while users multitask. +- [Push Ringing](https://www.cometchat.com/docs/calls/react-native/voip-calling.md): Ring incoming CometChat calls on React Native with the Push Notifications SDK 2.0: FCM and PushKit setup, configuration, answering, permissions, busy and missed calls, your own ring screen, and behaviour when the app is killed. +- [Background Handling](https://www.cometchat.com/docs/calls/react-native/background-handling.md): Handle background calling with CometChat Calls SDK v5 on React Native for app lifecycle, call continuity, and notifications. +- [Custom Control Panel](https://www.cometchat.com/docs/calls/react-native/custom-control-panel.md): Customize the CometChat Calls SDK v5 control panel on React Native with call buttons, actions, layout, and user controls. +- [Custom Participant List](https://www.cometchat.com/docs/calls/react-native/custom-participant-list.md): Customize the CometChat Calls SDK v5 participant list on React Native with participant views, actions, status, and layout. +- [In-Call Chat](https://www.cometchat.com/docs/calls/react-native/in-call-chat.md): Enable in-call chat in CometChat Calls SDK v5 on React Native so participants can send messages during active calls. +- [Share Invite](https://www.cometchat.com/docs/calls/react-native/share-invite.md): Add invite sharing in CometChat Calls SDK v5 on React Native so users can share call links and bring participants into sessions. + +#### Migration Guide + +- [Migration Guide](https://www.cometchat.com/docs/calls/react-native/migration-guide-v5.md): Migrate to CometChat Calls SDK v5 on React Native with updated setup, APIs, call sessions, layouts, and feature changes. +- [Migrating from Legacy Ringing](https://www.cometchat.com/docs/calls/react-native/migrating-from-legacy-ringing.md): Move a React Native app from Chat SDK call signalling and Push Notifications SDK 1.0 VoIP to ringing with the Calls SDK 5.1 and the Push Notifications SDK 2.0: what to add, what to delete, and how each method maps. + +#### Resources + +- [Troubleshooting](https://www.cometchat.com/docs/calls/react-native/troubleshooting.md): Troubleshoot CometChat Calls SDK v5 on React Native for setup, authentication, permissions, call launch, media, and session issues. + +### SDK › iOS v5 + +#### Overview + +- [Calls SDK](https://www.cometchat.com/docs/calls/ios/overview.md): Use CometChat Calls SDK v5 for iOS to add voice and video calling, call sessions, participants, layouts, and in-call features. + +#### Getting Started + +- [Setup](https://www.cometchat.com/docs/calls/ios/setup.md): Set up CometChat Calls SDK v5 for iOS with installation, app credentials, initialization, authentication, and the push dependencies needed for ringing. +- [Authentication](https://www.cometchat.com/docs/calls/ios/authentication.md): Configure authentication for CometChat Calls SDK v5 on iOS with app credentials, logged-in users, and secure call access. + +#### Call Session + +- [SessionSettingsBuilder](https://www.cometchat.com/docs/calls/ios/session-settings.md): Configure CometChat Calls SDK v5 session settings on iOS for call behavior, UI options, participant controls, and features. +- [Join Session](https://www.cometchat.com/docs/calls/ios/join-session.md): Join CometChat Calls SDK v5 sessions on iOS with session IDs, call tokens, participant setup, and in-call UI launch. +- [Actions](https://www.cometchat.com/docs/calls/ios/actions.md): Use CometChat Calls SDK v5 actions on iOS to control calls, manage audio/video state, share screens, and handle in-call behavior. +- [Events](https://www.cometchat.com/docs/calls/ios/events.md): Handle CometChat Calls SDK v5 events on iOS for call lifecycle, participants, media state, errors, and real-time updates. + +#### Features + +- [Ringing](https://www.cometchat.com/docs/calls/ios/ringing.md): Ring users on iOS with the CometChat Calls SDK and the Push Notifications SDK: start a call, show it ringing, answer, decline, cancel and end it, with the app in any state. +- [Call Layouts](https://www.cometchat.com/docs/calls/ios/call-layouts.md): Customize CometChat Calls SDK v5 call layouts on iOS with tile, spotlight, sidebar views, layout changes, and layout events. +- [Audio Modes](https://www.cometchat.com/docs/calls/ios/audio-modes.md): Configure CometChat Calls SDK v5 audio modes on iOS for speakers, earpiece, Bluetooth, routing, and call audio behavior. +- [Recording](https://www.cometchat.com/docs/calls/ios/recording.md): Use CometChat Calls SDK v5 recording on iOS to start, stop, access, and manage recordings for supported call sessions. +- [Transcription & Closed Captions](https://www.cometchat.com/docs/calls/ios/transcription.md): Use CometChat Calls SDK v5 transcription on iOS to transcribe calls, show live closed captions, and retrieve transcripts after the call. +- [Call Logs](https://www.cometchat.com/docs/calls/ios/call-logs.md): Display CometChat Calls SDK v5 call logs on iOS with call history, participants, call type, duration, and status details. +- [Participant Management](https://www.cometchat.com/docs/calls/ios/participant-management.md): Manage CometChat Calls SDK v5 participants on iOS with mute, pause video, pinning, permissions, and participant events. +- [Screen Sharing](https://www.cometchat.com/docs/calls/ios/screen-sharing.md): Add screen sharing in CometChat Calls SDK v5 on iOS with presenter controls, permissions, and in-call display behavior. +- [Picture-in-Picture](https://www.cometchat.com/docs/calls/ios/picture-in-picture.md): Configure picture-in-picture for CometChat Calls SDK v5 on iOS to keep video calls visible while users multitask. +- [Raise Hand](https://www.cometchat.com/docs/calls/ios/raise-hand.md): Add raise hand behavior in CometChat Calls SDK v5 on iOS so participants can request attention during group calls. +- [Idle Timeout](https://www.cometchat.com/docs/calls/ios/idle-timeout.md): Configure CometChat Calls SDK v5 idle timeout on iOS to handle inactive participants and call session cleanup. + +#### Advanced + +- [Custom Control Panel](https://www.cometchat.com/docs/calls/ios/custom-control-panel.md): Customize the CometChat Calls SDK v5 control panel on iOS with call buttons, actions, layout, and user controls. +- [Custom Participant List](https://www.cometchat.com/docs/calls/ios/custom-participant-list.md): Customize the CometChat Calls SDK v5 participant list on iOS with participant views, actions, status, and layout. +- [Push Ringing](https://www.cometchat.com/docs/calls/ios/voip-calling.md): Ring incoming CometChat calls on iOS with the Push Notifications SDK 2.0 Calls product: PushKit and CallKit, configuration, joining on Answer, capabilities, missed calls and logout. +- [Background Handling](https://www.cometchat.com/docs/calls/ios/background-handling.md): Handle iOS background modes in CometChat Calls SDK v5 to keep active calls running when the app moves to the background. +- [In-Call Chat](https://www.cometchat.com/docs/calls/ios/in-call-chat.md): Enable in-call chat in CometChat Calls SDK v5 on iOS so participants can send messages during active calls. +- [Share Invite](https://www.cometchat.com/docs/calls/ios/share-invite.md): Add invite sharing in CometChat Calls SDK v5 on iOS so users can share call links and bring participants into sessions. + +#### Migration Guide + +- [Migration Guide](https://www.cometchat.com/docs/calls/ios/migration-guide-v5.md): Migrate to CometChat Calls SDK v5 on iOS with updated setup, APIs, call sessions, layouts, and feature changes. +- [Migrating from Legacy Ringing](https://www.cometchat.com/docs/calls/ios/migrating-from-legacy-ringing.md): Move an iOS app from Chat SDK call signalling and Push Notifications SDK 1.0 or hand-written PushKit and CallKit code to ringing with the Calls SDK 5.1 and the Push Notifications SDK 2.0: what to add, what to delete, and how each method maps. + +#### Resources + +- [Troubleshooting](https://www.cometchat.com/docs/calls/ios/troubleshooting.md): Troubleshoot CometChat Calls SDK v5 on iOS for setup, authentication, permissions, call launch, media, and session issues. + +### SDK › Android v5 + +#### Overview + +- [Calls SDK](https://www.cometchat.com/docs/calls/android/overview.md): Use CometChat Calls SDK v5 for Android to add voice and video calling, call sessions, participants, layouts, and in-call features. + +#### Getting Started + +- [Setup](https://www.cometchat.com/docs/calls/android/setup.md): Set up CometChat Calls SDK v5 for Android with installation, app credentials, initialization, authentication, and the push dependencies needed for ringing. +- [Authentication](https://www.cometchat.com/docs/calls/android/authentication.md): Configure authentication for CometChat Calls SDK v5 on Android with app credentials, logged-in users, and secure call access. + +#### Call Session + +- [SessionSettingsBuilder](https://www.cometchat.com/docs/calls/android/session-settings.md): Configure CometChat Calls SDK v5 session settings on Android for call behavior, UI options, participant controls, and features. +- [Join Session](https://www.cometchat.com/docs/calls/android/join-session.md): Join CometChat Calls SDK v5 sessions on Android with session IDs, call tokens, participant setup, and in-call UI launch. +- [Actions](https://www.cometchat.com/docs/calls/android/actions.md): Use CometChat Calls SDK v5 actions on Android to control calls, manage audio/video state, share screens, and handle in-call behavior. +- [Events](https://www.cometchat.com/docs/calls/android/events.md): Handle CometChat Calls SDK v5 events on Android for call lifecycle, participants, media state, errors, and real-time updates. + +#### Features + +- [Ringing](https://www.cometchat.com/docs/calls/android/ringing.md): Ring users on Android with the CometChat Calls SDK and the Push Notifications SDK: start a call, show it ringing, answer, decline, cancel and end it, with the app in any state. +- [Call Layouts](https://www.cometchat.com/docs/calls/android/call-layouts.md): Customize CometChat Calls SDK v5 call layouts on Android with tile, spotlight, sidebar views, layout changes, and layout events. +- [Audio Modes](https://www.cometchat.com/docs/calls/android/audio-modes.md): Configure CometChat Calls SDK v5 audio modes on Android for speakers, earpiece, Bluetooth, routing, and call audio behavior. +- [Recording](https://www.cometchat.com/docs/calls/android/recording.md): Use CometChat Calls SDK v5 recording on Android to start, stop, access, and manage recordings for supported call sessions. +- [Transcription & Closed Captions](https://www.cometchat.com/docs/calls/android/transcription.md): Use CometChat Calls SDK v5 transcription on Android to transcribe calls, show live closed captions, and retrieve transcripts after the call. +- [Call Logs](https://www.cometchat.com/docs/calls/android/call-logs.md): Display CometChat Calls SDK v5 call logs on Android with call history, participants, call type, duration, and status details. +- [Participant Management](https://www.cometchat.com/docs/calls/android/participant-management.md): Manage CometChat Calls SDK v5 participants on Android with mute, pause video, pinning, permissions, and participant events. +- [Screen Sharing](https://www.cometchat.com/docs/calls/android/screen-sharing.md): Enable and handle screen sharing in CometChat Calls SDK v5 on Android: the opt-in manifest entries, screen share events, and presenter status. +- [Picture-in-Picture](https://www.cometchat.com/docs/calls/android/picture-in-picture.md): Configure picture-in-picture for CometChat Calls SDK v5 on Android to keep video calls visible while users multitask. +- [Raise Hand](https://www.cometchat.com/docs/calls/android/raise-hand.md): Add raise hand behavior in CometChat Calls SDK v5 on Android so participants can request attention during group calls. +- [Idle Timeout](https://www.cometchat.com/docs/calls/android/idle-timeout.md): Configure CometChat Calls SDK v5 idle timeout on Android to handle inactive participants and call session cleanup. + +#### Advanced + +- [Custom Control Panel](https://www.cometchat.com/docs/calls/android/custom-control-panel.md): Customize the CometChat Calls SDK v5 control panel on Android with call buttons, actions, layout, and user controls. +- [Custom Participant List](https://www.cometchat.com/docs/calls/android/custom-participant-list.md): Customize the CometChat Calls SDK v5 participant list on Android with participant views, actions, status, and layout. +- [Push Ringing](https://www.cometchat.com/docs/calls/android/voip-calling.md): Ring incoming CometChat calls on Android with the Push Notifications SDK 2.0 calls module: FCM setup, configuration, the answer activity, permissions, missed calls and your own ring screen. +- [Background Handling](https://www.cometchat.com/docs/calls/android/background-handling.md): Handle background calling with CometChat Calls SDK v5 on Android for app lifecycle, call continuity, and notifications. +- [In-Call Chat](https://www.cometchat.com/docs/calls/android/in-call-chat.md): Enable in-call chat in CometChat Calls SDK v5 on Android so participants can send messages during active calls. +- [Share Invite](https://www.cometchat.com/docs/calls/android/share-invite.md): Add invite sharing in CometChat Calls SDK v5 on Android so users can share call links and bring participants into sessions. + +#### Migration Guide + +- [Migration Guide](https://www.cometchat.com/docs/calls/android/migration-guide-v5.md): Migrate to CometChat Calls SDK v5 on Android with updated setup, APIs, call sessions, layouts, and feature changes. +- [Migrating from Legacy Ringing](https://www.cometchat.com/docs/calls/android/migrating-from-legacy-ringing.md): Move an Android app from Chat SDK call signalling and Push Notifications SDK 1.0 VoIP to ringing with the Calls SDK 5.1 and the Push Notifications SDK 2.0: what to add, what to delete, and how each method maps. + +#### Resources + +- [Troubleshooting](https://www.cometchat.com/docs/calls/android/troubleshooting.md): Troubleshoot CometChat Calls SDK v5 on Android for setup, authentication, permissions, call launch, media, and session issues. + +### SDK › Flutter v5 + +#### Overview + +- [Calls SDK](https://www.cometchat.com/docs/calls/flutter/overview.md): Use CometChat Calls SDK v5 for Flutter to add voice and video calling, call sessions, participants, layouts, and in-call features. + +#### Getting Started + +- [Setup](https://www.cometchat.com/docs/calls/flutter/setup.md): Set up CometChat Calls SDK v5 for Flutter with installation, app credentials, initialization, authentication, and a basic calling flow. +- [Authentication](https://www.cometchat.com/docs/calls/flutter/authentication.md): Configure authentication for CometChat Calls SDK v5 on Flutter with app credentials, logged-in users, and secure call access. + +#### Call Session + +- [SessionSettingsBuilder](https://www.cometchat.com/docs/calls/flutter/session-settings.md): Configure CometChat Calls SDK v5 session settings on Flutter for call behavior, UI options, participant controls, and features. +- [Join Session](https://www.cometchat.com/docs/calls/flutter/join-session.md): Join CometChat Calls SDK v5 sessions on Flutter with session IDs, call tokens, participant setup, and in-call UI launch. +- [Actions](https://www.cometchat.com/docs/calls/flutter/actions.md): Use CometChat Calls SDK v5 actions on Flutter to control calls, manage audio/video state, share screens, and handle in-call behavior. +- [Events](https://www.cometchat.com/docs/calls/flutter/events.md): Handle CometChat Calls SDK v5 events on Flutter for call lifecycle, participants, media state, errors, and real-time updates. + +#### Features + +- [Ringing](https://www.cometchat.com/docs/calls/flutter/ringing.md): Ring users on Flutter with the CometChat Calls SDK and cometchat_voip: start a call, show it ringing, answer, decline, cancel and end it, with the app in any state. +- [Call Layouts](https://www.cometchat.com/docs/calls/flutter/call-layouts.md): Customize CometChat Calls SDK v5 call layouts on Flutter with tile, spotlight, sidebar views, layout changes, and layout events. +- [Audio Modes](https://www.cometchat.com/docs/calls/flutter/audio-modes.md): Configure CometChat Calls SDK v5 audio modes on Flutter for speakers, earpiece, Bluetooth, routing, and call audio behavior. +- [Recording](https://www.cometchat.com/docs/calls/flutter/recording.md): Use CometChat Calls SDK v5 recording on Flutter to start, stop, access, and manage recordings for supported call sessions. +- [Transcription & Closed Captions](https://www.cometchat.com/docs/calls/flutter/transcription.md): Use CometChat Calls SDK v5 transcription on Flutter to transcribe calls, show live closed captions, and retrieve transcripts after the call. +- [Call Logs](https://www.cometchat.com/docs/calls/flutter/call-logs.md): Display CometChat Calls SDK v5 call logs on Flutter with call history, participants, call type, duration, and status details. +- [Participant Management](https://www.cometchat.com/docs/calls/flutter/participant-management.md): Manage CometChat Calls SDK v5 participants on Flutter with mute, pause video, pinning, permissions, and participant events. +- [Screen Sharing](https://www.cometchat.com/docs/calls/flutter/screen-sharing.md): Add screen sharing in CometChat Calls SDK v5 on Flutter with presenter controls, permissions, and in-call display behavior. +- [Picture-in-Picture](https://www.cometchat.com/docs/calls/flutter/picture-in-picture.md): Configure picture-in-picture for CometChat Calls SDK v5 on Flutter to keep video calls visible while users multitask. +- [Raise Hand](https://www.cometchat.com/docs/calls/flutter/raise-hand.md): Add raise hand behavior in CometChat Calls SDK v5 on Flutter so participants can request attention during group calls. +- [Idle Timeout](https://www.cometchat.com/docs/calls/flutter/idle-timeout.md): Configure CometChat Calls SDK v5 idle timeout on Flutter to handle inactive participants and call session cleanup. + +#### Advanced + +- [Custom Control Panel](https://www.cometchat.com/docs/calls/flutter/custom-control-panel.md): Customize the CometChat Calls SDK v5 control panel on Flutter with call buttons, actions, layout, and user controls. +- [Custom Participant List](https://www.cometchat.com/docs/calls/flutter/custom-participant-list.md): Customize the CometChat Calls SDK v5 participant list on Flutter with participant views, actions, status, and layout. +- [Push Ringing](https://www.cometchat.com/docs/calls/flutter/voip-calling.md): Ring incoming CometChat calls on Flutter with cometchat_voip: setup, initialization, handing over call pushes, the push token, ring readiness, the call modes, call waiting, missed calls, and behaviour when the app is killed. +- [Background Handling](https://www.cometchat.com/docs/calls/flutter/background-handling.md): Handle background calling with CometChat Calls SDK v5 on Flutter for app lifecycle, call continuity, and notifications. +- [In-Call Chat](https://www.cometchat.com/docs/calls/flutter/in-call-chat.md): Enable in-call chat in CometChat Calls SDK v5 on Flutter so participants can send messages during active calls. +- [Share Invite](https://www.cometchat.com/docs/calls/flutter/share-invite.md): Add invite sharing in CometChat Calls SDK v5 on Flutter so users can share call links and bring participants into sessions. + +#### Migration Guide + +- [Migration Guide](https://www.cometchat.com/docs/calls/flutter/migration-guide-v5.md): Migrate to CometChat Calls SDK v5 on Flutter with updated setup, APIs, call sessions, layouts, and feature changes. +- [Migrating from Legacy Ringing](https://www.cometchat.com/docs/calls/flutter/migrating-from-legacy-ringing.md): Move a Flutter app from Chat SDK call signalling to ringing with the Calls SDK 5.1 and cometchat_voip: what to add, what to delete, and how each method maps. + +#### Resources + +- [Troubleshooting](https://www.cometchat.com/docs/calls/flutter/troubleshooting.md): Troubleshoot CometChat Calls SDK v5 on Flutter for setup, authentication, permissions, call launch, media, and session issues. + +### APIs + +#### Calls APIs › Calls + +- [List Calls](https://www.cometchat.com/docs/rest-api/calls-apis/list-calls.md): lists all the calls that are available in the app. It can include participants, recordings and transcriptions property in the response (if present). +- [Get Call](https://www.cometchat.com/docs/rest-api/calls-apis/get-call.md): Get CometChat call details by sessionId with REST API, including participants, metrics, duration, recording and transcription information. +- [Get Call Transcriptions](https://www.cometchat.com/docs/rest-api/calls-apis/get-call-transcriptions.md): Retrieve the transcriptions generated for a CometChat call by sessionId, with pagination and links to the transcript files. + +#### Calls APIs › Troubleshoot + +- [Error Codes](https://www.cometchat.com/docs/rest-api/calls-apis/error-codes.md): Review CometChat Calls API error codes for call setup, participant, recording, and session issues returned by REST endpoints. +- [Properties and Constraints](https://www.cometchat.com/docs/rest-api/calls-apis/properties-and-constraints.md): Review CometChat Calls API properties and constraints for calling resources, request fields, limits, and supported values. + +### Webhooks + +- [Webhooks](https://www.cometchat.com/docs/calls/webhooks.md): Use CometChat Calls webhooks to receive voice and video call events for sessions, ringing, participants, recordings, and call status. +- [Ringing Events](https://www.cometchat.com/docs/calls/webhooks-ringing.md): Handle CometChat ringing webhook events for incoming call alerts, outgoing ringing state, accepted calls, rejected calls, and missed calls. +- [Call Session Events](https://www.cometchat.com/docs/calls/webhooks-call-session.md): Handle CometChat call session webhook events for session started, ended, joined, left, participant updates, and call lifecycle tracking. + +## AI Agents + +- [AI Agents index](https://www.cometchat.com/docs/ai-agents/llms-ai-agents.md) + +### Overview + +- [AI Agents](https://www.cometchat.com/docs/ai-agents.md): Build and ship AI agents in chat: pick a provider, connect your agent, and export UI or embed widgets. + +### Agent Builder + +- [Agent Builder](https://www.cometchat.com/docs/ai-agents/agent-builder/overview.md): Create, configure, and launch AI agents directly inside CometChat. + +#### Advanced + +- [Configure Instructions](https://www.cometchat.com/docs/ai-agents/agent-builder/instructions.md): Shape your agent’s personality, boundaries, and tool usage inside the Agent Builder. +- [Knowledge Base](https://www.cometchat.com/docs/ai-agents/agent-builder/knowledge-base/overview.md): Centralize, index, and attach knowledge sources to power your Agent Builder experiences. +- [Tools](https://www.cometchat.com/docs/ai-agents/agent-builder/tools/overview.md): Extend your agent with custom APIs, Google Suite integrations, and MCP-powered skills. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/agent-builder/card-messages.md): Let your agent reply with rich, interactive cards — designed in Card Builder — instead of plain text. +- [MCP](https://www.cometchat.com/docs/ai-agents/agent-builder/mcp/overview.md): Connect Model Context Protocol endpoints to enrich your agent with external knowledge and tools. +- [Frontend Actions](https://www.cometchat.com/docs/ai-agents/agent-builder/frontend-actions/overview.md): Enable your agent to trigger client-side behaviors like opening modals, navigating pages, or displaying notifications. +- [Variables](https://www.cometchat.com/docs/ai-agents/agent-builder/variables/overview.md): Use dynamic variables to personalize agent responses and inject contextual data into instructions and API tools. + +#### Guides + +- [Implementing Authorization with API Tools](https://www.cometchat.com/docs/ai-agents/agent-builder/guides/implementing-authorization.md): Use API tools to create custom authorization layers that control access to your AI agent, tools, or knowledge base. + +### Bring Your Own Agent › Mastra + +- [Create an AI Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra.md): Connect a Mastra agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [AI Agent Actions](https://www.cometchat.com/docs/ai-agents/mastra-actions.md): Explore CometChat Mastra AI agent actions for frontend events, user interactions, and custom workflows. +- [AI Agent Tools](https://www.cometchat.com/docs/ai-agents/mastra-tools.md): Explore CometChat Mastra AI agent tools for external APIs, frontend actions, and connected workflows. +- [RuntimeContext](https://www.cometchat.com/docs/ai-agents/mastra-runtime-context.md): Access user authentication data and contextual information in Mastra agents through CometChat's runtime context. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/mastra-card-messages.md): Let your Mastra BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [Build Your Knowledge Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra-knowledge-agent.md): Create a Mastra Knowledge Agent that answers documentation questions when invoked, then connect it to CometChat. +- [Build Your Frontend Actions Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra-frontend-actions-agent.md): Create a Mastra agent that can trigger UI actions via frontend actions/tools (e.g., confetti), then connect it to CometChat. +- [Build Your Backend Tools Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra-backend-tools-agent.md): Create a Mastra agent that performs secure backend actions (e.g., fetch deals) via server-side tools, then connect it to CometChat. +- [Build Your Orchestrator Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra-orchestrator-agent.md): Create a Mastra orchestrator agent that routes queries to the right specialist (billing, support, tech, manager, human), then connect it to CometChat. + +#### Tutorials + +- [Build a Product Hunt Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra-product-hunt-agent.md): Create a Mastra agent that can fetch Product Hunt posts, answer launch questions, and trigger frontend actions (confetti), then plug it into CometChat. +- [Build a PDF Knowledge Agent with Mastra](https://www.cometchat.com/docs/ai-agents/mastra-knowlege-agent-pdf.md): Create a Mastra agent that ingests PDFs, performs hybrid (semantic + BM25) retrieval, and answers grounded questions in CometChat. + +### Bring Your Own Agent › CrewAI + +- [Create an AI Agent with CrewAI](https://www.cometchat.com/docs/ai-agents/crew-ai.md): Connect a CrewAI agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [AI Agent Actions](https://www.cometchat.com/docs/ai-agents/crew-ai-actions.md): Explore the various actions you can perform with your AI agent in CometChat. +- [AI Agent Tools](https://www.cometchat.com/docs/ai-agents/crew-ai-tools.md): Explore the various tools you can use with your AI agent in CometChat. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/crew-ai-card-messages.md): Let your CrewAI BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [Build Your Knowledge Agent with CrewAI](https://www.cometchat.com/docs/ai-agents/crew-ai-knowledge-agent.md): Create a CrewAI knowledge agent that answers from your docs, streams NDJSON to CometChat, and cites sources. + +#### Tutorials + +- [Build a Product Hunt Agent with CrewAI](https://www.cometchat.com/docs/ai-agents/crew-ai-product-hunt-agent.md): Create a CrewAI agent that fetches Product Hunt posts, answers launch questions, and can trigger frontend actions like confetti. + +### Bring Your Own Agent › Agno + +- [Create an AI Agent with Agno](https://www.cometchat.com/docs/ai-agents/agno.md): Connect an Agno agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [AI Agent Actions](https://www.cometchat.com/docs/ai-agents/agno-actions.md): Explore the various actions you can perform with your AI agent in CometChat. +- [AI Agent Tools](https://www.cometchat.com/docs/ai-agents/agno-tools.md): Explore the various tools you can use with your AI agent in CometChat. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/agno-card-messages.md): Let your Agno BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [Build Your Knowledge Agent with Agno](https://www.cometchat.com/docs/ai-agents/agno-knowledge-agent.md): Spin up an Agno-powered knowledge agent with FastAPI, ingest docs into namespaces, and stream grounded answers (with citations) into CometChat. + +#### Tutorials + +- [Launch a Product Hunt Agent with Agno](https://www.cometchat.com/docs/ai-agents/agno-product-hunt-agent.md): Build an Agno Product Hunt assistant that queries live launch data, triggers celebrations, and streams into CometChat. + +### Bring Your Own Agent › Vercel AI + +- [Create an AI Agent with Vercel AI SDK](https://www.cometchat.com/docs/ai-agents/vercel.md): Connect a Vercel AI SDK agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [AI Agent Actions](https://www.cometchat.com/docs/ai-agents/vercel-actions.md): Explore the various actions you can perform with your AI agent in CometChat. +- [AI Agent Tools](https://www.cometchat.com/docs/ai-agents/vercel-tools.md): Explore the various tools you can use with your AI agent in CometChat. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/vercel-card-messages.md): Let your Vercel AI BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [Build Your Knowledge Agent with Vercel AI SDK](https://www.cometchat.com/docs/ai-agents/vercel-knowledge-agent.md): Create a Vercel AI SDK knowledge agent that ingests docs, streams grounded answers with citations, and connects to CometChat. + +#### Tutorials + +- [Build a Product Hunt Agent with Vercel AI SDK](https://www.cometchat.com/docs/ai-agents/vercel-product-hunt-agent.md): Create a Vercel AI SDK agent that fetches Product Hunt data, celebrates launches with confetti, and connects to CometChat. + +### Bring Your Own Agent › LangGraph + +- [Create an AI Agent with LangGraph](https://www.cometchat.com/docs/ai-agents/langgraph.md): Connect a LangGraph agent (TypeScript or Python) to CometChat, customize it in UI Kit Builder, and ship the experience as code or a widget. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/langgraph-card-messages.md): Let your LangGraph BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [Build Your Knowledge Agent with LangGraph](https://www.cometchat.com/docs/ai-agents/langgraph-knowledge-agent.md): Use LangGraph (TypeScript or Python) to stream a search-backed knowledge agent and adapt it for CometChat. + +#### Tutorials + +- [Launch a Product Hunt Agent with LangGraph](https://www.cometchat.com/docs/ai-agents/langgraph-product-hunt-agent.md): Build a LangGraph agent (TypeScript or Python) with Product Hunt-style tools, stream graph state, and prep it for CometChat. + +### Bring Your Own Agent › AG2 + +- [Create an AI Agent with AG2](https://www.cometchat.com/docs/ai-agents/ag2.md): Connect an AG2 (AutoGen) agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [AI Agent Actions](https://www.cometchat.com/docs/ai-agents/ag2-actions.md): Explore the various actions you can perform with your AI agent in CometChat. +- [AI Agent Tools](https://www.cometchat.com/docs/ai-agents/ag2-tools.md): Explore the various tools you can use with your AI agent in CometChat. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/ag2-card-messages.md): Let your AG2 BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [Build Your Knowledge Agent with AG2](https://www.cometchat.com/docs/ai-agents/ag2-knowledge-agent.md): Create an AG2 Knowledge Agent that answers documentation questions, then connect it to CometChat. + +#### Tutorials + +- [Build a Product Hunt Agent with AG2](https://www.cometchat.com/docs/ai-agents/ag2-product-hunt-agent.md): Create an AG2 agent that can fetch Product Hunt posts, answer launch questions, and trigger frontend actions (confetti), then plug it into CometChat. + +### Bring Your Own Agent › AG-UI + +- [CometChat AG-UI Integration](https://www.cometchat.com/docs/ai-agents/ag-ui.md): Integrate your AG-UI compatible AI agents with CometChat using the AG-UI protocol. +- [AI Agent Actions](https://www.cometchat.com/docs/ai-agents/ag-ui-actions.md): Explore CometChat AI agent actions for frontend events, user interactions, and AG-UI compatible workflows. +- [AI Agent Tools](https://www.cometchat.com/docs/ai-agents/ag-ui-tools.md): Explore CometChat AI agent tools for external APIs, frontend actions, and AG-UI compatible integrations. +- [Card Messages](https://www.cometchat.com/docs/ai-agents/ag-ui-card-messages.md): Let your AG-UI BYOA agent reply with rich, interactive cards designed in Card Builder. + +#### Guides + +- [CometChat AG-UI Agents](https://www.cometchat.com/docs/ai-agents/cometchat-ag-ui-byoa.md): Bring your own agent to CometChat and build AG-UI compatible agents. + +#### Implementation + +- [AG-UI Express.js Implementation](https://www.cometchat.com/docs/ai-agents/cometchat-ag-ui-express.md): Build an AG-UI compatible CometChat AI agent with Express.js, TypeScript, OpenAI, streaming events, and tools. +- [AG-UI NestJS Implementation](https://www.cometchat.com/docs/ai-agents/cometchat-ag-ui-nestjs.md): Build an AG-UI compatible CometChat AI agent with NestJS, OpenAI, streaming events, and tool execution. + +### Widget Builder + +- [Integrate an AI Agent into the Chat Widget](https://www.cometchat.com/docs/ai-agents/chat-widget.md): Embed your AI Agent (Agent Builder or Bring Your Own Agent) into the CometChat Chat Widget. + +### Custom Bots + +- [Custom Bots](https://www.cometchat.com/docs/ai-chatbots/custom-bots.md): Create a custom bot that receives CometChat messages at an HTTPS callback endpoint and replies autonomously in one-on-one or group chats. + +### APIs + +#### BYO Agent APIs + +- [BYO Agent APIs](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/overview.md): Create and manage BYO Agent APIs in CometChat for external AI agents, custom tools, actions, and framework integrations. + +#### BYO Agent APIs › BYO Agents + +- [Create BYO Agent](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/agents/create-byo-agent.md): Creates a new BYO Agent that delegates conversations to an external AI Agent. Use this endpoint to register a BYO (Bring Your Own) agent powered by frameworks like Mastra, CrewAI, or LangGraph. **Val +- [List BYO Agents](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/agents/list-byo-agents.md): Retrieves all BYO Agents configured for your CometChat app. Use this endpoint to view all registered BYO (Bring Your Own) agents and their current configuration. +- [Update BYO Agent](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/agents/update-byo-agent.md): Updates an existing BYO Agent by its UID. Use this endpoint to modify agent configuration, update referenced tools, or change the connected AI framework. **Validation:** Referenced tools and actions +- [Delete BYO Agent](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/agents/delete-byo-agent.md): Deletes a BYO Agent by its UID. + +#### BYO Agent APIs › Tools + +- [List Tools](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/tools/list-tools.md): Retrieves all tools configured for your CometChat app. Use this endpoint to view available tools and actions, or filter by type. **Filtering:** Use the `type` query parameter to filter by `action` or +- [Get Tool](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/tools/get-tool.md): Retrieves a specific tool by its unique name. Use this endpoint to inspect a tool's configuration, parameters, and description. +- [Create Tool](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/tools/create-tool.md): Defines custom tools that agents can invoke during conversations. **Naming:** The tool name must be unique per application. **Type:** When `doNotExecute` is `true`, the type is set to `tool`. Otherw +- [Update Tool](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/tools/update-tool.md): Updates an existing tool by its unique name. Use this endpoint to modify a tool's description, parameters, or behavior. **Restrictions:** The tool name cannot be changed after creation. The provided +- [Delete Tool](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/tools/delete-tool.md): Deletes a tool by its unique name. + +#### BYO Agent APIs › Troubleshoot + +- [Error Codes](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/error-codes.md): Error Codes for CometChat REST API. +- [Properties and Constraints](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/properties-and-constraints.md): Properties and Constraints for CometChat REST API. + +#### Agent Builder APIs + +- [Agent Builder APIs](https://www.cometchat.com/docs/rest-api/ai-agents-apis/overview.md): Create and manage CometChat Agent Builder APIs for AI agents, tools, actions, MCP servers, and knowledge base workflows. + +#### Agent Builder APIs › Agents + +- [Create Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/create-agent.md): Creates a new agent with optional tools, API tools, MCP servers, and frontend actions. Use this endpoint to set up a fully configured agent in a single request. **Validation:** All referenced tools, +- [List Agents](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/list-agents.md): Retrieves a paginated list of agents for your CometChat app. Use this endpoint to browse, search, and manage your agents. **Search:** Use the `search` parameter to filter agents by name, description, +- [Get Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/get-agent.md): Retrieves a specific agent by its UID. Use this endpoint to inspect an agent's full configuration, including its tools, model, and instructions. +- [Update Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/update-agent.md): Updates an existing agent by its UID. Use this endpoint to modify an agent's configuration, instructions, model, or connected tools. **Validation:** Referenced tools, API tools, and MCP servers are v +- [Delete Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/delete-agent.md): Remove an AI agent from an account and see which fields and status codes signal success or failure. +- [Search Agent Tools](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/search-agent-tools.md): Searches across all tool types available for an agent, including ready-to-use tools, API tools, and MCP servers. Use this endpoint to find specific tools across all categories. **Filtering:** Use the +- [List Agent Tools and Actions](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/list-agent-tools-and-actions.md): Retrieves all enabled items for a specific agent, categorized by type. Use this endpoint to see which tools, frontend actions, API tools, and MCP servers are currently enabled for an agent. **Categor +- [List Available Models](https://www.cometchat.com/docs/rest-api/ai-agents-apis/agents/list-available-models.md): Lists the AI models available for agent creation. Returns model identifiers that can be used when creating or updating an agent's configuration. + +#### Agent Builder APIs › Tools + +- [Add Tools to Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/tools/add-tools-to-agent.md): Adds one or more tools to a specific agent. Use this endpoint to extend an agent's capabilities with additional tool integrations. **Request body:** The `tools` array contains tool slugs. Returns the +- [Remove Tools from Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/tools/remove-tools-from-agent.md): Removes one or more tools from a specific agent. Use this endpoint to revoke tool access from an agent. **Request body:** The `tools` array contains tool slugs to remove. Returns the updated agent ob +- [Get actions available within a tool for agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/tools/get-tool-actions-for-agent.md): Lists all actions available for a specific tool attached to an agent. +- [Enable actions for a tool](https://www.cometchat.com/docs/rest-api/ai-agents-apis/tools/enable-tool-actions.md): Adds actions to a specific tool attached to an agent. +- [Remove actions for a tool](https://www.cometchat.com/docs/rest-api/ai-agents-apis/tools/remove-tool-actions.md): Removes actions from a specific tool attached to an agent. + +#### Agent Builder APIs › Custom API Tools + +- [List API Tools](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/list-api-tools.md): Retrieves a paginated list of API tools for the application. Use this endpoint to browse and manage custom API tool configurations. +- [Get API Tool](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/get-api-tool.md): Retrieves a single custom API tool by its slug. +- [Create API Tool](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/create-api-tool.md): Creates a new API tool configuration for the application. Use this endpoint to define a custom API endpoint that agents can call during conversations. **Uniqueness:** The slug must be unique per appl +- [Update API Tool](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/update-api-tool.md): Updates an existing API tool by its slug. Use this endpoint to modify an API tool's parameters, description, or endpoint configuration. +- [Delete API Tool](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/delete-api-tool.md): Deletes an API tool by its slug. +- [Add API Tools to Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/add-api-tools-to-agent.md): Adds one or more API tools to a specific agent. Use this endpoint to give an agent access to custom API tool integrations. **Request body:** The `apiTools` array contains API tool slugs. Returns the +- [Remove API Tools from Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/custom-api-tools/remove-api-tools-from-agent.md): Removes one or more API tools from a specific agent. Use this endpoint to revoke API tool access from an agent. **Request body:** The `apiTools` array contains API tool slugs to remove. Returns the u + +#### Agent Builder APIs › Frontend Actions + +- [List Frontend Actions](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/list-frontend-actions.md): Retrieves a paginated list of frontend actions for the application. Use this endpoint to browse and manage frontend action configurations. +- [Get Frontend Action](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/get-frontend-action.md): Retrieves a single frontend action by its ID. +- [Create Frontend Action](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/create-frontend-action.md): Creates a new frontend action for the application. Use this endpoint to define a client-side UI operation that agents can trigger during conversations. **Uniqueness:** The trigger function must be un +- [Update Frontend Action](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/update-frontend-action.md): Updates an existing frontend action by its unique ID. Use this endpoint to modify a frontend action's parameters, description, or trigger function. +- [Delete Frontend Action](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/delete-frontend-action.md): Deletes a frontend action by its unique ID. +- [Add Frontend Actions to Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/add-frontend-actions-to-agent.md): Adds one or more frontend actions to a specific agent. Use this endpoint to enable an agent to trigger client-side UI operations. **Frontend actions** allow agents to interact with the user interface +- [Remove Frontend Actions from Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/frontend-actions/remove-frontend-actions-from-agent.md): Removes one or more frontend actions from a specific agent. Use this endpoint to revoke frontend action capabilities from an agent. **Request body:** The `frontendActions` array contains frontend act + +#### Agent Builder APIs › MCP Servers + +- [List MCP Servers](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/list-mcp-servers.md): Retrieves a paginated list of MCP servers for the application. Use this endpoint to browse and manage MCP server configurations. +- [Get MCP Server](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/get-mcp-server.md): Retrieves a single MCP server configuration by its slug. +- [Create MCP Server](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/create-mcp-server.md): Creates a new MCP (Model Context Protocol) server configuration for the application. Use this endpoint to register an MCP server that agents can connect to. **Uniqueness:** The slug must be unique pe +- [Update MCP Server](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/update-mcp-server.md): Updates an existing MCP server by its slug. Use this endpoint to modify an MCP server's configuration or connection details. +- [Delete MCP Server](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/delete-mcp-server.md): Deletes an MCP server by its slug. +- [Add MCP Servers to Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/add-mcp-servers-to-agent.md): Adds one or more MCP servers to a specific agent. Use this endpoint to connect an agent to additional Model Context Protocol servers. **Request body:** The `mcps` array contains MCP server slugs. Ret +- [Remove MCP Servers from Agent](https://www.cometchat.com/docs/rest-api/ai-agents-apis/mcp-servers/remove-mcp-servers-from-agent.md): Removes one or more MCP servers from a specific agent. Use this endpoint to disconnect MCP servers from an agent. **Request body:** The `mcps` array contains MCP server slugs to remove. Returns the u + +#### Agent Builder APIs › Knowledge Base + +- [List Knowledge Base Records](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/list-knowledge-base-records.md): Retrieves knowledge base records for the application. Use this endpoint to browse all knowledge base sources including files, text entries, and websites. +- [Get Source Pages](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/get-source-pages.md): Retrieves paginated pages for a specific knowledge base source file. Use this endpoint to inspect the individual pages extracted from a knowledge base source. +- [Retry Knowledge Base Source Indexing](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/retry-knowledge-base-source-indexing.md): Retries the indexing process for a specific knowledge base source that failed during its initial processing. Provide the source type and its unique ID to re-trigger vectorization. **Supported source +- [Initiate File Uploads](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/initiate-file-uploads.md): Generates presigned URLs and creates upload records for one or more files. Use this endpoint to prepare files for upload to the knowledge base. **Workflow:** After receiving the presigned URLs, uploa +- [Delete Uploaded File](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/delete-uploaded-file.md): Deletes an uploaded file and all associated data from the knowledge base by its unique ID. **Cleanup:** Removes the file, associated embeddings, and any agent references to this file. +- [List Text Entries](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/list-text-entries.md): Lists all text-based knowledge base entries for the app. +- [Get Text Entry](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/get-text-entry.md): Retrieves a specific text-based knowledge base entry by its unique ID. +- [Create Text Entry](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/create-text-detail.md): Creates a new text-based knowledge base entry. Use this endpoint to add custom text content that agents can reference during conversations. **Processing:** Accepts a title and text content, converts +- [Update Text Entry](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/update-text-detail.md): Updates a specific text-based knowledge base entry by its unique ID. Use this endpoint to modify the title or content of an existing text entry. **Re-indexing:** The content is re-uploaded and the en +- [Delete Text Entry](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/delete-text-detail.md): Deletes a text-based knowledge base entry and all associated data by its unique ID. **Cleanup:** Removes the text content, associated embeddings, and any agent references to this entry. +- [Poll Knowledge Base Status](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/poll-knowledge-base-status.md): Retrieves the indexing status for one or more knowledge base sources by their IDs. Use this endpoint to monitor the progress of file uploads, text entries, or website crawls being indexed. **Batch su +- [Add Files to Agent Knowledge Base](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/add-knowledge-base-files.md): Associates uploaded files or text entries with an agent's knowledge base. Use this endpoint after uploading files via the Initiate File Uploads endpoint to make them available to the agent. **Source +- [Remove Files from Agent Knowledge Base](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/remove-knowledge-base-files.md): Removes files or text entries from an agent's knowledge base. Use this endpoint to disassociate specific sources from an agent without deleting the underlying content. **Source types:** Specify the s +- [Scrape Single Page](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/scrape-single-page.md): Scrapes a single webpage to extract its content for the knowledge base. Use this endpoint to add a specific page without crawling an entire website. **Extraction:** Returns the page title, descriptio +- [Crawl Website](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/scrape-website.md): Scrapes a website to discover and crawl its pages for the knowledge base. Use this endpoint to add website content as a knowledge source for agents. **Configuration:** Supports options for URL filter +- [Get Discovered URLs](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/get-discovered-urls.md): Retrieves all URLs discovered during a website crawl. Use this endpoint to review which pages were found before processing them. +- [Process Discovered URLs](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/process-discovered-urls.md): Marks discovered URLs for exclusion and initiates batch crawling of the remaining URLs. Use this endpoint to selectively process pages discovered during a website crawl. +- [Delete Website](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/delete-website.md): Deletes a website crawl and all associated data from the knowledge base by its unique ID. **Cleanup:** Removes all crawled pages, associated embeddings, and any agent references to this website. +- [Poll Discovered URLs Status](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/poll-discovered-urls-status.md): Retrieves the processing status of discovered URLs by their unique IDs. Use this endpoint to monitor the progress of URL crawling within a parent website crawl. **Behavior:** Only returns records for +- [Retry Indexing for Website Pages](https://www.cometchat.com/docs/rest-api/ai-agents-apis/knowledge-base/retry-indexing-for-website-pages.md): Retries the indexing process for specific pages under a website knowledge base source. Pass the unique IDs of the pages to re-index, or send an empty array to automatically retry all pages that failed + +#### Agent Builder APIs › Variables + +- [List All Variables](https://www.cometchat.com/docs/rest-api/ai-agents-apis/variables/get-all-available-variables.md): Retrieves all enabled variables (predefined and custom) for the application. Use this endpoint to view variable definitions and understand where they are used. **Usage tracking:** Each variable inclu +- [Create Custom Variable](https://www.cometchat.com/docs/rest-api/ai-agents-apis/variables/create-custom-variable.md): Creates a new custom variable for the application. Use this endpoint to define dynamic values that can be injected into agent instructions. **Source types:** Variables can source values from message +- [Update Custom Variable](https://www.cometchat.com/docs/rest-api/ai-agents-apis/variables/update-custom-variable.md): Updates an existing custom variable by its ID. Use this endpoint to modify a variable's source, default value, or other properties. **Partial updates:** Only the provided fields are updated; omitted +- [Delete Custom Variable](https://www.cometchat.com/docs/rest-api/ai-agents-apis/variables/delete-custom-variable.md): Deletes a custom variable by its ID. **Impact:** Any agent instructions referencing this variable will no longer resolve its value. + +#### Agent Builder APIs › Troubleshoot + +- [Error Codes](https://www.cometchat.com/docs/rest-api/ai-agents-apis/error-codes.md): Error Codes for CometChat REST API. +- [Properties and Constraints](https://www.cometchat.com/docs/rest-api/ai-agents-apis/properties-and-constraints.md): Properties and Constraints for CometChat REST API. + +## AI Moderation + +- [AI Moderation index](https://www.cometchat.com/docs/moderation/llms-moderation.md) + +### Overview + +- [Overview](https://www.cometchat.com/docs/moderation/overview.md): Use CometChat moderation to filter text, image, and video messages with rules, blocked messages, flagged messages, and review flows. +- [Getting Started](https://www.cometchat.com/docs/moderation/getting-started.md): Set up CometChat moderation with dashboard rules, UI Kit handling, SDK integration, and real-time moderation updates. + +#### Setup + +- [Rules Management](https://www.cometchat.com/docs/moderation/rules-management.md): Create and manage CometChat moderation rules to detect inappropriate content and block or flag messages automatically. +- [Lists Management](https://www.cometchat.com/docs/moderation/lists-management.md): Create and manage CometChat moderation lists for keywords, regex patterns, and sentences used across moderation rules. + +#### Message Management + +- [Flagged Messages](https://www.cometchat.com/docs/moderation/flagged-messages.md): Review CometChat flagged messages, inspect context and reasons, then approve or block content from the moderation queue. +- [Blocked Messages](https://www.cometchat.com/docs/moderation/blocked-messages.md): Review CometChat blocked messages, inspect triggered rules, approve false positives, and track automatically blocked content. +- [Reviewed Messages](https://www.cometchat.com/docs/moderation/reviewed-messages.md): Track CometChat reviewed messages with moderation decisions, moderator actions, filters, and compliance audit history. + +#### Integrations › OpenAI + +- [Overview](https://www.cometchat.com/docs/moderation/open-ai/openai-overview.md): Use OpenAI moderation with CometChat to detect harmful messages, configure prompts, choose models, and apply moderation actions. +- [OpenAI Moderation](https://www.cometchat.com/docs/moderation/open-ai/openai-custom.md): Configure OpenAI moderation in CometChat with custom prompts, model settings, thresholds, fallback behavior, and actions. + +#### Integrations › Custom API + +- [Overview](https://www.cometchat.com/docs/moderation/custom/custom-api-overview.md): Bring your own moderation service to CometChat with custom API webhooks, message context, confidence scores, and decisions. +- [Custom API Moderation](https://www.cometchat.com/docs/moderation/custom/custom-api.md): Integrate custom moderation APIs with CometChat using webhooks, message context, confidence scores, and moderation actions. + +#### Reference + +- [Engine Failures](https://www.cometchat.com/docs/moderation/engine-failures.md): Receive the moderation_engine_failed webhook when OpenAI or your Custom API cannot return a moderation decision, and learn how to read its payload. +- [Constraints and Limits](https://www.cometchat.com/docs/moderation/constraints-and-limits.md): Review CometChat moderation constraints for supported SDK versions, media formats, rule limits, and known behavior. + +### APIs + +#### Moderation APIs › Rules + +- [List Rules](https://www.cometchat.com/docs/rest-api/moderation-apis/list-rules.md): List CometChat moderation rules with REST API to retrieve content checks, actions, and rule configuration. +- [Add Rule](https://www.cometchat.com/docs/rest-api/moderation-apis/add-rule.md): Create a CometChat moderation rule with REST API to define content checks, actions, and rule conditions. +- [Get Rule](https://www.cometchat.com/docs/rest-api/moderation-apis/get-rule.md): Get a CometChat moderation rule by ruleId with REST API to view rule conditions, actions, and configuration. +- [Update Rule](https://www.cometchat.com/docs/rest-api/moderation-apis/update-rule.md): Update a CometChat moderation rule by ruleId with REST API to change content checks, actions, or rule conditions. +- [Remove rule](https://www.cometchat.com/docs/rest-api/moderation-apis/remove-rule.md): Delete a CometChat moderation rule by ruleId with REST API to remove an inactive or outdated content rule. +- [Get Rule Revisions](https://www.cometchat.com/docs/rest-api/moderation-apis/get-rule-revisions.md): List CometChat moderation rule revisions by ruleId with REST API to review historical rule changes. + +#### Moderation APIs › Keywords + +- [List keywords](https://www.cometchat.com/docs/rest-api/moderation-apis/list-keywords.md): List CometChat moderation keywords with REST API to review keyword and regex patterns used in content checks. +- [Add Keywords](https://www.cometchat.com/docs/rest-api/moderation-apis/add-keywords.md): Add keywords or regex patterns to a CometChat moderation list with REST API for automated content checks. +- [Get keyword](https://www.cometchat.com/docs/rest-api/moderation-apis/get-keyword.md): Get a CometChat moderation keyword by keywordId with REST API to view pattern details and list configuration. +- [Update keyword](https://www.cometchat.com/docs/rest-api/moderation-apis/update-keyword.md): Update a CometChat moderation keyword by keywordId with REST API to change keyword or regex pattern settings. +- [Remove keyword](https://www.cometchat.com/docs/rest-api/moderation-apis/remove-keyword.md): Remove a CometChat moderation keyword by keywordId with REST API to delete a keyword or regex pattern from checks. + +#### Moderation APIs › Blocked Messages + +- [List Blocked Messages](https://www.cometchat.com/docs/rest-api/moderation-apis/list-blocked-messages.md): List CometChat blocked messages with REST API to review content stopped by moderation rules. +- [Approve Blocked Messages](https://www.cometchat.com/docs/rest-api/moderation-apis/approve-blocked-messages.md): Approve a CometChat blocked message by message ID with REST API to release content held by moderation rules. +- [Review Blocked Message](https://www.cometchat.com/docs/rest-api/moderation-apis/review-blocked-message.md): Review a CometChat blocked message by ID with REST API to approve or reject content stopped by moderation rules. + +#### Moderation APIs › Flagged Messages + +- [Flag a message](https://www.cometchat.com/docs/rest-api/moderation-apis/flag-a-message.md): Flag a CometChat message by message ID with REST API to send it into the moderation review workflow. +- [Block/Review Flagged Message](https://www.cometchat.com/docs/rest-api/moderation-apis/blockreview-flagged-message.md): Review a CometChat flagged message by ID with REST API and apply block or review actions from moderation workflows. +- [List flagged messages](https://www.cometchat.com/docs/rest-api/moderation-apis/list-flagged-messages.md): List CometChat flagged messages with REST API to review messages reported or marked for moderation. +- [List Reviewed messages](https://www.cometchat.com/docs/rest-api/moderation-apis/list-reviewed-messages.md): List CometChat reviewed moderation messages with REST API to audit messages already approved, rejected, or actioned. + +#### Moderation APIs › Reasons + +- [Create Reasons](https://www.cometchat.com/docs/rest-api/moderation-apis/create-reasons.md): Create custom CometChat moderation flag reasons with REST API for review categories shown when messages are flagged. +- [List Reasons](https://www.cometchat.com/docs/rest-api/moderation-apis/list-reasons.md): List CometChat moderation flag reasons with REST API to retrieve review categories configured for flagged messages. +- [Get Reason details](https://www.cometchat.com/docs/rest-api/moderation-apis/get-reason-details.md): Get a CometChat moderation flag reason by ID with REST API to view its label, settings, and review usage. +- [Update Reason details](https://www.cometchat.com/docs/rest-api/moderation-apis/update-reason-details.md): Update a CometChat moderation flag reason by ID with REST API to change review category details. +- [Delete Reasons](https://www.cometchat.com/docs/rest-api/moderation-apis/delete-reasons.md): Delete a CometChat moderation flag reason by ID with REST API to remove unused or outdated review categories. + +#### Moderation APIs › Troubleshoot + +- [Error Codes](https://www.cometchat.com/docs/rest-api/moderation-apis/error-codes.md): Review CometChat AI Moderation API error codes for rules, keywords, messages, and moderation request failures. +- [Properties and Constraints](https://www.cometchat.com/docs/rest-api/moderation-apis/properties-and-constraints.md): Review CometChat AI Moderation API properties and constraints for rules, keywords, blocked messages, and flagged messages. + +## Notifications + +- [Notifications index](https://www.cometchat.com/docs/notifications/llms-notifications.md) + +### Overview + +- [Notifications](https://www.cometchat.com/docs/notifications.md): Engage users beyond chat with real-time and scheduled notifications across Push, Email, and SMS. + +### Push + +- [Overview](https://www.cometchat.com/docs/notifications/push-overview.md): CometChat Push Notifications, their capabilities, common triggers, and how to integrate them into your application. +- [Getting Started](https://www.cometchat.com/docs/notifications/push-getting-started.md): Getting started with CometChat Push Notifications — enable push, add providers, configure Firebase and APNs, then pick your platform. + +#### Getting Started + +- [Android Push Notifications](https://www.cometchat.com/docs/notifications/android-push-notifications.md): Set up FCM and the CometChat Push Notifications SDK 2.0 on Android for message notifications with inline reply and call ringing. +- [iOS Push Notifications SDK](https://www.cometchat.com/docs/notifications/ios-push-notifications-sdk.md): Set up APNs and the CometChat Push Notifications SDK 2.0 on iOS: automatic token registration, chat notifications with quick reply and delivery receipts, notification taps, badge count and call ringing. +- [iOS APNs Push Notifications](https://www.cometchat.com/docs/notifications/ios-apns-push-notifications.md): Implement APNs push notifications with CometChat UIKit for iOS, including CallKit integration for VoIP calls. +- [iOS FCM Push Notifications](https://www.cometchat.com/docs/notifications/ios-fcm-push-notifications.md): Guide to integrating Firebase Cloud Messaging (FCM) push notifications in iOS apps using CometChat. +- [Flutter](https://www.cometchat.com/docs/notifications/flutter-push-notifications.md): Add CometChat chat push notifications to a Flutter app (Android + iOS) with the drop-in cometchat_push_notifications SDK. +- [React Native Push Notifications (Android)](https://www.cometchat.com/docs/notifications/react-native-push-notifications-android.md): CometChat push notifications and VoIP calls in React Native apps on Android using Firebase Cloud Messaging (FCM) and the @cometchat/push-notifications-react-native package. +- [React Native Push Notifications (iOS)](https://www.cometchat.com/docs/notifications/react-native-push-notifications-ios.md): CometChat push notifications and VoIP calls in React Native apps on iOS using Apple Push Notification service (APNs), PushKit and CallKit, with the @cometchat/push-notifications-react-native package. +- [Web Push Notifications](https://www.cometchat.com/docs/notifications/web-push-notifications.md): Set up FCM web push for CometChat React UI Kit—service worker, VAPID keys, token registration, and foreground/background handlers. + +#### Other pages + +- [Preferences](https://www.cometchat.com/docs/notifications/preferences.md): Configure CometChat notification preferences for push, email, and SMS defaults, user overrides, muted conversations, and DND. +- [Templates & Sounds](https://www.cometchat.com/docs/notifications/templates-and-sounds.md): Configure CometChat push notification templates, privacy modes, placeholders, and chat or call notification sounds. +- [Badge Count](https://www.cometchat.com/docs/notifications/badge-count.md): Use CometChat unread message counts in push notification payloads to update app icon badges for chat notifications. +- [Custom Providers](https://www.cometchat.com/docs/notifications/custom-providers.md): Route CometChat push notification payloads to a custom webhook provider with credentials, delivery rules, and payload handling. +- [Notification Logs](https://www.cometchat.com/docs/notifications/logs.md): Debug why a push/email/SMS did or didn’t send, see provider responses, and filter by event or user. +- [Constraints And Limits](https://www.cometchat.com/docs/notifications/constraints-and-limits.md): Review CometChat notification limits, supported SDK and UI Kit versions, platform coverage, payload constraints, and caveats. + +### Email + +- [Overview](https://www.cometchat.com/docs/notifications/email-overview.md): How CometChat sends unread-message fallback emails and what to configure. +- [Integration](https://www.cometchat.com/docs/notifications/email-integration.md): Connect CometChat email notifications to SendGrid or a custom provider with API keys, webhooks, templates, and timezone setup. +- [Email Preferences](https://www.cometchat.com/docs/notifications/email-preferences.md): Configure CometChat email notification preferences for unread messages, wait times, daily limits, overrides, and payload fields. +- [Email Templates](https://www.cometchat.com/docs/notifications/email-templates.md): Customize CometChat email notification templates with unread message previews, sender details, group details, subjects, and deep links. +- [Custom Providers](https://www.cometchat.com/docs/notifications/email-custom-providers.md): Send CometChat email notifications through a custom webhook provider with payload fields, credentials, and secure endpoint setup. + +### SMS + +- [Overview](https://www.cometchat.com/docs/notifications/sms-overview.md): How CometChat sends unread-message SMS fallbacks, what to configure, and where to go next. +- [Integration](https://www.cometchat.com/docs/notifications/sms-integration.md): Connect CometChat SMS notifications to Twilio or a custom provider with credentials, contact details, and delivery setup. +- [SMS Preferences](https://www.cometchat.com/docs/notifications/sms-preferences.md): Configure CometChat SMS notification preferences for unread messages, wait times, daily limits, overrides, and payload fields. +- [SMS Templates](https://www.cometchat.com/docs/notifications/sms-templates.md): Customize CometChat SMS notification templates with unread message previews, sender details, group details, and app links. +- [Custom Providers](https://www.cometchat.com/docs/notifications/sms-custom-providers.md): Send CometChat SMS notifications through a custom webhook provider with payload fields, credentials, and secure endpoint setup. + +### APIs + +#### Notification APIs › Settings + +- [List Settings](https://www.cometchat.com/docs/rest-api/notifications-apis/push/list-settings.md): List CometChat app notification settings with REST API, including preferences, templates, and sounds. +- [Reset Settings](https://www.cometchat.com/docs/rest-api/notifications-apis/push/reset-settings.md): Reset preferences, templates and sounds to default values for the given app. +- [Update Settings](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-settings.md): Update preferences, templates and sounds for the given app. + +#### Notification APIs › Preferences + +- [List Preferences](https://www.cometchat.com/docs/rest-api/notifications-apis/push/list-preferences.md): List CometChat notification preferences for a user with REST API to review channel and delivery settings. +- [Reset Preferences](https://www.cometchat.com/docs/rest-api/notifications-apis/push/reset-preferences.md): Reset the preferences for the given user. +- [Update Preferences](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-preferences.md): Update the preference for the given user. +- [List muted conversations](https://www.cometchat.com/docs/rest-api/notifications-apis/push/list-muted-conversations.md): List the conversations where notifications have been muted on behalf of the user. +- [Mute notifications for conversations](https://www.cometchat.com/docs/rest-api/notifications-apis/push/mute-conversations.md): Mute notifications for the conversations on behalf of the given user. +- [Unmute notifications for conversations](https://www.cometchat.com/docs/rest-api/notifications-apis/push/unmute-conversations.md): Unmute notifications for the conversations on behalf of the given user. +- [Get timezone](https://www.cometchat.com/docs/rest-api/notifications-apis/push/get-timezone.md): Get the timezone on behalf of the user. +- [Update timezone](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-timezone.md): Update the timezone on behalf of the user. + +#### Notification APIs › Contacts + +- [Get contact details](https://www.cometchat.com/docs/rest-api/notifications-apis/push/get-contact-details.md): Get CometChat user contact details with REST API, including email ID and phone number used for notification delivery. +- [Update contact details](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-contact-details.md): Updates the contact details like Email ID and Phone number for a given user. +- [Delete contact details](https://www.cometchat.com/docs/rest-api/notifications-apis/push/delete-contact-details.md): Deletes the stored contact details for a given user. + +#### Notification APIs › Push Notifications › FCM Provider + +- [List FCM Providers](https://www.cometchat.com/docs/rest-api/notifications-apis/push/list-fcm-providers.md): List FCM providers configured for a CometChat app with REST API to review push notification provider settings. +- [Add FCM Provider](https://www.cometchat.com/docs/rest-api/notifications-apis/push/add-fcm-provider.md): Add new FCM provider for the given app. +- [Update FCM Provider](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-fcm-provider.md): Update existing FCM provider for the given app. +- [Delete FCM Provider](https://www.cometchat.com/docs/rest-api/notifications-apis/push/delete-fcm-provider.md): Delete an FCM provider for the given app. +- [Change default FCM Provider](https://www.cometchat.com/docs/rest-api/notifications-apis/push/change-default-fcm-provider.md): Change the default FCM provider for the given app. + +#### Notification APIs › Push Notifications › APNS Provider + +- [List APNS Providers](https://www.cometchat.com/docs/rest-api/notifications-apis/push/list-apns-providers.md): List the configured APNS providers for the given app. +- [Add APNS Provider](https://www.cometchat.com/docs/rest-api/notifications-apis/push/add-apns-provider.md): Add new APNS provider for the given app. +- [Update APNS Providers](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-apns-providers.md): Update existing APNS provider for the given app. +- [Delete APNS Providers](https://www.cometchat.com/docs/rest-api/notifications-apis/push/delete-apns-providers.md): Delete an APNS provider for the given app. +- [Change default APNS Provider](https://www.cometchat.com/docs/rest-api/notifications-apis/push/change-default-apns-provider.md): Change the default APNS provider for the given app. + +#### Notification APIs › Push Notifications › Custom Provider + +- [Get Custom Provider for Push Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/push/get-custom-provider.md): Fetches the custom provider for Push Notifications for a given app. +- [Save Custom Provider for Push Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/push/save-custom-provider.md): Saves the custom provider for Push Notifications for a given app. +- [Update Custom Provider for Push Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/push/update-custom-provider.md): Updates the custom provider for Push Notifications for a given app. +- [Delete the Custom Provider for Push Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/push/delete-custom-provider.md): Deletes the custom provider for Push Notifications for a given app. + +#### Notification APIs › Push Notifications › Push Tokens + +- [List push tokens](https://www.cometchat.com/docs/rest-api/notifications-apis/push/list-push-tokens.md): List push tokens for the given auth token. +- [Register push token](https://www.cometchat.com/docs/rest-api/notifications-apis/push/register-push-token.md): Register a push token for the given auth token. +- [Unregister push tokens for authToken](https://www.cometchat.com/docs/rest-api/notifications-apis/push/unregister-push-tokens.md): Unregister push token(s) registered for the given auth token. +- [Delete the given push token](https://www.cometchat.com/docs/rest-api/notifications-apis/push/delete-push-token.md): Remove a saved device so it stops receiving push alerts, with full error codes listed for troubleshooting failed requests. + +#### Notification APIs › Email Notifications › SendGrid Provider + +- [Get SendGrid credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/email/get-sendgrid-credentials.md): Get SendGrid credentials configured for a CometChat app with REST API to review email notification provider settings. +- [Save SendGrid credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/email/save-sendgrid-credentials.md): Store the SendGrid credentials for the given app. +- [Update SendGrid credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/email/update-sendgrid-credentials.md): Updates the SendGrid credentials for the given app. +- [Delete SendGrid credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/email/delete-sendgrid-credentials.md): Deletes the stored SendGrid credentials for the given app. + +#### Notification APIs › Email Notifications › Custom Provider + +- [Get Custom Provider for Email Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/email/get-custom-provider.md): Fetches the custom provider for Email Notifications for a given app. +- [Save Custom Provider for Email Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/email/save-custom-provider.md): Saves the custom provider for Email Notifications for a given app. +- [Update Custom Provider for Email Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/email/update-custom-provider.md): Updates the custom provider for Email Notifications for a given app. +- [Delete the Custom Provider for Email Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/email/delete-custom-provider.md): Deletes the custom provider for Email Notifications for a given app. + +#### Notification APIs › SMS Notifications › Twilio Provider + +- [Get Twilio credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/get-twilio-credentials.md): Get Twilio credentials configured for a CometChat app with REST API to review SMS notification provider settings. +- [Save Twilio credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/save-twilio-credentials.md): Store the Twilio credentials for the given app. +- [Update Twilio credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/update-twilio-credentials.md): Updates the Twilio credentials for the given app. +- [Delete Twilio credentials](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/delete-twilio-credentials.md): Deletes the stored Twilio credentials for the given app. + +#### Notification APIs › SMS Notifications › Custom Provider + +- [Get Custom Provider for SMS Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/get-custom-provider.md): Fetches the custom provider for SMS Notifications for a given app. +- [Save Custom Provider for SMS Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/save-custom-provider.md): Saves the custom provider for SMS Notifications for a given app. +- [Update Custom Provider for SMS Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/update-custom-provider.md): Updates the custom provider for SMS Notifications for a given app. +- [Delete the Custom Provider for SMS Notifications](https://www.cometchat.com/docs/rest-api/notifications-apis/sms/delete-custom-provider.md): Deletes the custom provider for SMS Notifications for a given app. + +#### Notification APIs › Notification Logs + +- [Notifications logs](https://www.cometchat.com/docs/rest-api/notifications-apis/push/notifications-logs.md): Fetch paginated CometChat notification logs with REST API to review delivery activity and provider responses. + +#### Notification APIs › Troubleshoot + +- [Error Codes](https://www.cometchat.com/docs/rest-api/notifications-apis/error-codes.md): Review CometChat Notification API error codes for authentication, providers, push tokens, preferences, and delivery logs. +- [Properties and Constraints](https://www.cometchat.com/docs/rest-api/notifications-apis/properties-and-constraints.md): Review CometChat Notification API properties and constraints for push, email, SMS, providers, preferences, and templates. + +## Campaigns + +- [Campaigns index](https://www.cometchat.com/docs/campaigns/llms-campaigns.md) + +### Overview + +- [Overview](https://www.cometchat.com/docs/campaigns.md): Send transactional notifications, run scheduled campaigns, and manage the per-user in-app feed across in-app and push channels. + +#### Guides + +- [Users](https://www.cometchat.com/docs/campaigns/users.md): Browse and target CometChat users for campaign notifications. +- [Channels](https://www.cometchat.com/docs/campaigns/channels.md): Configure delivery channels for your campaign notifications — in-app feed and push notifications. +- [Templates](https://www.cometchat.com/docs/campaigns/templates.md): Create reusable notification templates with variables, versioning, and multi-channel support. +- [Campaigns](https://www.cometchat.com/docs/campaigns/campaigns.md): Create, schedule, and manage targeted notification campaigns for batch user delivery. +- [Categories](https://www.cometchat.com/docs/campaigns/categories.md): Organize notifications with categories for filtering and user-facing feed segmentation. +- [Notification Settings](https://www.cometchat.com/docs/campaigns/notification-settings.md): Configure push notification providers for delivering campaign notifications. + +#### Features + +- [Sequences](https://www.cometchat.com/docs/campaigns/sequences.md): Control the order and timing of notifications across channels with channel sequencing. +- [Analytics](https://www.cometchat.com/docs/campaigns/analytics.md): Track notification delivery and engagement metrics from the Campaigns dashboard. + +### APIs + +#### Campaigns API + +- [Overview](https://www.cometchat.com/docs/rest-api/campaigns-apis/overview.md): REST surface for the Campaigns product. Send transactional notifications, manage templates and channels, and administer the in-app feed. +- [Setup & Authentication](https://www.cometchat.com/docs/rest-api/campaigns-apis/setup-and-authentication.md): Credentials, headers, and base URL for the Campaigns REST API. + +#### Campaigns API › Notifications + +- [Send a notification using a template](https://www.cometchat.com/docs/rest-api/campaigns-apis/notifications/send-notification.md): Send a notification using a template. + +#### Campaigns API › Campaigns + +- [Create a new campaign](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/create-campaign.md): Set up a campaign through the API, including the fields required to launch one successfully. +- [List campaigns](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/list-campaigns.md): Shows the exact request and response fields needed to fetch a paginated list of campaigns through the API. +- [Get a campaign by ID](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/get-campaign.md): Fetch and view a single campaign's full configuration and delivery settings through one straightforward API request. +- [Update a campaign (draft only)](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/update-campaign.md): Update a campaign (draft only). +- [Delete a campaign (draft only)](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/delete-campaign.md): Delete a campaign (draft only). +- [Add recipients manually (user IDs)](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/add-recipients.md): Add specific users or groups to an existing campaign's recipient list using this REST API endpoint reference. +- [List campaign recipients](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/list-recipients.md): Check which campaign recipients are reachable and get the full list for a specific broadcast campaign. +- [Get recipient status summary](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/recipient-summary.md): See campaign recipient delivery and engagement totals returned by one API call, broken down by status. +- [Get S3 presigned URL for CSV upload](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/upload-url.md): Get presigned URL for CSV upload. +- [Start async CSV import for campaign recipients](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/import-csv.md): Start async CSV import for campaign recipients. +- [Get current import job status for a campaign](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/import-status.md): Get current import job status. +- [Trigger campaign send](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/send-campaign.md): Send a campaign through the REST API and confirm its delivery status for existing CometChat users and segments. +- [Schedule campaign send](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/schedule-campaign.md): Set a start time and recurrence for an existing message campaign, then confirm the update through the API response. +- [Cancel a campaign](https://www.cometchat.com/docs/rest-api/campaigns-apis/campaigns/cancel-campaign.md): Cancels a scheduled campaign through the API and stops it from sending before it goes out. + +#### Campaigns API › Templates + +- [Create a new template](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/create-template.md): Create and configure campaign templates that automate sending messages through CometChat, ready for reuse. +- [List all templates](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/list-templates.md): Find and filter campaign templates by category, status, search term, or tags to quickly locate the one you need. +- [Get a template by ID](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/get-template.md): Fetch a single template by CUID or slug. +- [Update template metadata](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/update-template.md): Edit a campaign message template's content and settings, then push the changes live so future messages use the updated version. +- [Archive a template](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/archive-template.md): Readers see the exact fields and endpoint needed to archive a campaign template through the REST API. +- [Update channel content for a template](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/update-channel-content.md): Update channel content for a template. +- [Create a new template version](https://www.cometchat.com/docs/rest-api/campaigns-apis/templates/create-version.md): Create a new template version. + +#### Campaigns API › Template Categories + +- [Create a new template category](https://www.cometchat.com/docs/rest-api/campaigns-apis/categories/create-category.md): Create a new template category. +- [List all template categories](https://www.cometchat.com/docs/rest-api/campaigns-apis/categories/list-categories.md): Shows the fields, filters, and pagination options needed to retrieve a list of campaign categories through the API. +- [Get a template category by ID](https://www.cometchat.com/docs/rest-api/campaigns-apis/categories/get-category.md): Get a template category by ID. +- [Update a template category](https://www.cometchat.com/docs/rest-api/campaigns-apis/categories/update-category.md): Update a campaign category's name or details through this endpoint, with the exact fields CometChat's REST API requires. +- [Delete a template category](https://www.cometchat.com/docs/rest-api/campaigns-apis/categories/delete-category.md): Delete a campaign category permanently, with the exact request format needed to remove it from CometChat. + +#### Campaigns API › Channels + +- [Create a new channel](https://www.cometchat.com/docs/rest-api/campaigns-apis/channels/create-channel.md): Set up a channel for campaign messaging, with the required fields and response format laid out clearly. +- [List channels for the app](https://www.cometchat.com/docs/rest-api/campaigns-apis/channels/list-channels.md): List channel instances configured for this app. +- [Get a channel by ID](https://www.cometchat.com/docs/rest-api/campaigns-apis/channels/get-channel.md): Shows the fields and response format for retrieving a single campaign channel, so developers can confirm channel settings through the REST API. +- [Update a channel](https://www.cometchat.com/docs/rest-api/campaigns-apis/channels/update-channel.md): Updates a channel's settings within a campaign, so readers know exactly which fields to send and how the response confirms the change. +- [Get channel type availability](https://www.cometchat.com/docs/rest-api/campaigns-apis/channels/check-availability.md): Return per-type channel counts and configured limits. + +#### Campaigns API › Notification Feed + +- [Query feed with filters and cursor pagination](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/list-feed.md): Query feed with filters and cursor pagination. +- [Get a feed item by ID](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/get-feed-item.md): Retrieve details for a single notification feed item, including its read status and delivery metadata, through the campaigns API. +- [Get unread count for the requesting user](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/get-unread-count.md): Get unread count for the requesting user. +- [Mark a feed item as delivered](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/mark-as-delivered.md): Mark a feed item as delivered. +- [Mark a feed item as read](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/mark-as-read.md): Readers see how to mark campaign notification feed items as read, keeping delivery status accurate in CometChat. +- [Report an interacted engagement event with optional topic discriminator](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/report-engagement.md): Report an interacted engagement event. +- [Soft-delete a feed item](https://www.cometchat.com/docs/rest-api/campaigns-apis/notification-feed/delete-feed-item.md): See which notification feed items got deleted and understand how the soft delete and retention purge process works together. + +#### Campaigns API › Push Notifications + +- [List push notifications for a user](https://www.cometchat.com/docs/rest-api/campaigns-apis/push-notifications/list-push-notifications.md): List push notifications for a user. +- [Get a push notification by ID](https://www.cometchat.com/docs/rest-api/campaigns-apis/push-notifications/get-push-notification.md): Get a push notification by ID. +- [Mark push notification as delivered](https://www.cometchat.com/docs/rest-api/campaigns-apis/push-notifications/mark-delivered.md): Mark push notification as delivered. +- [Mark push notification as clicked](https://www.cometchat.com/docs/rest-api/campaigns-apis/push-notifications/mark-clicked.md): Mark push notification as clicked. +- [Report push notification engagement event (interacted with optional topic)](https://www.cometchat.com/docs/rest-api/campaigns-apis/push-notifications/report-engagement.md): Report push notification engagement event. + +#### Campaigns API › Sequences + +- [Get per-step sequence delivery metrics for a campaign](https://www.cometchat.com/docs/rest-api/campaigns-apis/sequences/sequence-metrics.md): Get per-step sequence delivery metrics for a campaign. + +#### Campaigns API › Analytics + +- [Get aggregated analytics overview](https://www.cometchat.com/docs/rest-api/campaigns-apis/analytics/overview-metrics.md): Get aggregated analytics overview. +- [Get campaign analytics drill-down](https://www.cometchat.com/docs/rest-api/campaigns-apis/analytics/campaign-metrics.md): Get campaign analytics drill-down. +- [Get template analytics drill-down](https://www.cometchat.com/docs/rest-api/campaigns-apis/analytics/template-metrics.md): Get template analytics drill-down. +- [Get channel breakdown analytics](https://www.cometchat.com/docs/rest-api/campaigns-apis/analytics/channel-metrics.md): Get channel breakdown analytics. +- [Get user-level engagement insights](https://www.cometchat.com/docs/rest-api/campaigns-apis/analytics/user-metrics.md): Get user-level engagement insights. + +## Insights + +### Overview + +- [Data Insights](https://www.cometchat.com/docs/insights.md): Unified analytics for users, conversations, retention, and calls – all the original metrics, reorganized in a modern landing layout. + +## Home + +### Overview + +- [Home](https://www.cometchat.com/docs/index.md): Technical documentation & Implementation guides to add In-app Messaging & Voice & Video Calling to your apps and websites in minutes. + +## On-Premise Deployment + +### Docker + +#### Getting Started + +- [On-Premise Deployment Overview](https://www.cometchat.com/docs/on-premise-deployment/docker/overview.md): Deploy CometChat on-premise for self-hosted messaging, data sovereignty, compliance, predictable performance, and enterprise control. +- [Prerequisites](https://www.cometchat.com/docs/on-premise-deployment/docker/prerequisites.md): Review CometChat on-premise prerequisites for hardware sizing, Linux versions, Docker, network planning, and storage. +- [Configuration Reference](https://www.cometchat.com/docs/on-premise-deployment/docker/configuration-reference.md): Reference CometChat on-premise Docker configuration for domains, service environment variables, CORS, webhooks, and routing. + +#### Deployment + +- [Production Deployment](https://www.cometchat.com/docs/on-premise-deployment/docker/production-deployment.md): Deploy CometChat on-premise to Docker Swarm with TLS, domains, service orchestration, health checks, and rollout steps. +- [Air-Gapped Deployment](https://www.cometchat.com/docs/on-premise-deployment/docker/air-gapped-deployment.md): Deploy CometChat on-premise in air-gapped environments with offline images, local registries, certificates, and backup planning. + +#### Operations + +- [Monitoring](https://www.cometchat.com/docs/on-premise-deployment/docker/monitoring.md): Monitor CometChat on-premise deployments with Prometheus, Grafana, Loki, Promtail, Node Exporter, and cAdvisor. +- [Security](https://www.cometchat.com/docs/on-premise-deployment/docker/security.md): Secure CometChat on-premise deployments with JWT authentication, secrets management, TLS, network isolation, and abuse controls. +- [Persistence & Backup](https://www.cometchat.com/docs/on-premise-deployment/docker/persistence-and-backup.md): Plan CometChat on-premise persistence, backups, restore testing, storage requirements, retention, and disaster recovery. + +#### Scaling & Maintenance + +- [Scaling](https://www.cometchat.com/docs/on-premise-deployment/docker/scaling.md): Scale CometChat on-premise deployments with vertical tuning, horizontal replicas, capacity planning, and performance thresholds. +- [Upgrades](https://www.cometchat.com/docs/on-premise-deployment/docker/upgrades.md): Upgrade CometChat on-premise Docker deployments with backups, health checks, image pulls, staged rollout, and rollback planning. +- [Troubleshooting](https://www.cometchat.com/docs/on-premise-deployment/docker/troubleshooting.md): Troubleshoot CometChat on-premise Docker issues with 502 errors, Kafka lag, Redis eviction, TiKV errors, and service logs. + +### Kubernetes + +- [Kubernetes Deployment](https://www.cometchat.com/docs/on-premise-deployment/kubernetes/overview.md): Deploy CometChat on-premise on Kubernetes for large-scale, multi-region, autoscaled, and service-mesh-ready environments. + +## AI-Driven Development + +### Overview + +#### AI-Driven Development + +- [Build CometChat with AI Agent Skills](https://www.cometchat.com/docs/agent-skills.md): Install the CometChat agent skills so your AI coding agent (Claude Code, Cursor, GitHub Copilot, Replit, and more) can add production-grade chat and calling to your React, Angular, React Native, iOS, Android, or Flutter app from natural-language prompts. +- [CometChat CLI](https://www.cometchat.com/docs/cli.md): Authenticate against the CometChat dashboard, provision app credentials, toggle features, and manage the AI agent skills — all from your terminal, with JSON output for scripting and CI. +- [Use CometChat with AI Coding Agents (MCP)](https://www.cometchat.com/docs/mcp-server.md): Connect CometChat to Claude, Cursor, Windsurf, VS Code, and any other Model Context Protocol–compatible agent. Search docs and pull implementation bundles with no sign-in, and sign in to let the agent fetch your credentials and manage your CometChat apps. +- [Migrate from Another Chat Provider with Agent Skills](https://www.cometchat.com/docs/migrate-with-agent-skills.md): Move your app and your chat history from another chat provider to CometChat with one prompt to your AI coding agent, or migrate only your data. +- [Build CometChat Apps with Lovable](https://www.cometchat.com/docs/lovable.md): Connect the CometChat Docs MCP to Lovable as a chat connector so Lovable builds chat and calling features from CometChat's current documentation. +- [Chat experience blueprint & design system](https://www.cometchat.com/docs/design-system.md): The cross-platform design system and experience blueprint CometChat's AI skills (and any AI coding agent) follow to build production-grade, best-in-class chat UIs end-to-end — for every UI Kit and SDK, on the customer's own brand: discovery and requirements, cloning an existing app detail by… + +## Card Builder + +### Overview + +#### Card Builder + +- [CometChat Card Builder](https://www.cometchat.com/docs/card-builder/overview.md): Card Builder is a visual tool in the CometChat Dashboard for designing rich, interactive card messages — product cards, order confirmations, quick replies, and more — that your CometChat UI Kits render natively. +- [Building Cards](https://www.cometchat.com/docs/card-builder/building-cards.md): Walk through the Card Builder editor — the canvas, the element palette, and the properties panel — to design, style, and save a card in the CometChat Dashboard. +- [Elements & Actions](https://www.cometchat.com/docs/card-builder/elements.md): A reference of everything a card can contain — content, layout, and interactive elements, the actions a card can trigger, and the ready-made components you can add to a card. +- [Card JSON Schema](https://www.cometchat.com/docs/card-builder/schema.md): The complete JSON schema a card must conform to — for developers generating cards programmatically, such as from a BYOA agent or a Custom API Tool. + +#### Guides + +- [Building an Order Status Card](https://www.cometchat.com/docs/card-builder/example-order-status.md): Step-by-step guide to building an interactive Order Status card from scratch in Card Builder — a heading, a progress bar, status rows with variables, a divider, and two action buttons in a row. + +## Other versions + +Versions other than the current one: earlier majors, for apps pinned to them, and betas. + +- [Chat & Messaging › UI Kits › React v6](https://www.cometchat.com/docs/ui-kit/react/v6/overview.md): 64 pages. +- [Chat & Messaging › UI Kits › React v5](https://www.cometchat.com/docs/ui-kit/react/v5/overview.md): 34 pages. +- [Chat & Messaging › UI Kits › React v4](https://www.cometchat.com/docs/ui-kit/react/v4/overview.md): 108 pages. +- [Chat & Messaging › UI Kits › React v3](https://www.cometchat.com/docs/ui-kit/react/v3/overview.md): 7 pages. +- [Chat & Messaging › UI Kits › React v2](https://www.cometchat.com/docs/ui-kit/react/v2/overview.md): 8 pages. +- [Chat & Messaging › UI Kits › React Native v4](https://www.cometchat.com/docs/ui-kit/react-native/v4/overview.md): 81 pages. +- [Chat & Messaging › UI Kits › React Native v3](https://www.cometchat.com/docs/ui-kit/react-native/v3/overview.md): 7 pages. +- [Chat & Messaging › UI Kits › React Native v2](https://www.cometchat.com/docs/ui-kit/react-native/v2/overview.md): 7 pages. +- [Chat & Messaging › UI Kits › iOS v6 (beta)](https://www.cometchat.com/docs/ui-kit/ios/v6/overview.md): 71 pages. +- [Chat & Messaging › UI Kits › iOS v4](https://www.cometchat.com/docs/ui-kit/ios/v4/overview.md): 82 pages. +- [Chat & Messaging › UI Kits › iOS v3](https://www.cometchat.com/docs/ui-kit/ios/v3/overview.md): 7 pages. +- [Chat & Messaging › UI Kits › iOS v2](https://www.cometchat.com/docs/ui-kit/ios/v2/overview.md): 7 pages. +- [Chat & Messaging › UI Kits › Android v5](https://www.cometchat.com/docs/ui-kit/android/v5/overview.md): 59 pages. +- [Chat & Messaging › UI Kits › Android v4](https://www.cometchat.com/docs/ui-kit/android/v4/overview.md): 79 pages. +- [Chat & Messaging › UI Kits › Android v3](https://www.cometchat.com/docs/ui-kit/android/v3/overview.md): 10 pages. +- [Chat & Messaging › UI Kits › Android v2](https://www.cometchat.com/docs/ui-kit/android/v2/overview.md): 8 pages. +- [Chat & Messaging › UI Kits › Flutter v5](https://www.cometchat.com/docs/ui-kit/flutter/v5/overview.md): 52 pages. +- [Chat & Messaging › UI Kits › Flutter v4](https://www.cometchat.com/docs/ui-kit/flutter/v4/overview.md): 88 pages. +- [Chat & Messaging › UI Kits › Angular v4](https://www.cometchat.com/docs/ui-kit/angular/v4/overview.md): 108 pages. +- [Chat & Messaging › UI Kits › Angular v3](https://www.cometchat.com/docs/ui-kit/angular/3.0/overview.md): 6 pages. +- [Chat & Messaging › UI Kits › Angular v2](https://www.cometchat.com/docs/ui-kit/angular/2.0/overview.md): 6 pages. +- [Chat & Messaging › UI Kits › Vue v3](https://www.cometchat.com/docs/ui-kit/vue/3.0/overview.md): 7 pages. +- [Chat & Messaging › UI Kits › Vue v2](https://www.cometchat.com/docs/ui-kit/vue/2.0/overview.md): 6 pages. +- [Chat & Messaging › SDKs › JavaScript v3](https://www.cometchat.com/docs/sdk/javascript/3.0/overview.md): 63 pages. +- [Chat & Messaging › SDKs › JavaScript v2](https://www.cometchat.com/docs/sdk/javascript/2.0/overview.md): 47 pages. +- [Chat & Messaging › SDKs › React Native v3](https://www.cometchat.com/docs/sdk/react-native/3.0/overview.md): 58 pages. +- [Chat & Messaging › SDKs › React Native v2](https://www.cometchat.com/docs/sdk/react-native/2.0/overview.md): 46 pages. +- [Chat & Messaging › SDKs › iOS v3](https://www.cometchat.com/docs/sdk/ios/3.0/overview.md): 63 pages. +- [Chat & Messaging › SDKs › iOS v2](https://www.cometchat.com/docs/sdk/ios/2.0/overview.md): 51 pages. +- [Chat & Messaging › SDKs › Android v4](https://www.cometchat.com/docs/sdk/android/v4/overview.md): 57 pages. +- [Chat & Messaging › SDKs › Android v3](https://www.cometchat.com/docs/sdk/android/3.0/overview.md): 59 pages. +- [Chat & Messaging › SDKs › Android v2](https://www.cometchat.com/docs/sdk/android/2.0/overview.md): 47 pages. +- [Chat & Messaging › SDKs › Flutter v4](https://www.cometchat.com/docs/sdk/flutter/v4/overview.md): 55 pages. +- [Chat & Messaging › SDKs › Flutter v3](https://www.cometchat.com/docs/sdk/flutter/3.0/overview.md): 49 pages. +- [Voice & Video Calling › SDK › JavaScript v4](https://www.cometchat.com/docs/calls/v4/javascript/overview.md): 12 pages. +- [Voice & Video Calling › SDK › React Native v4](https://www.cometchat.com/docs/calls/v4/react-native/overview.md): 11 pages. +- [Voice & Video Calling › SDK › iOS v4](https://www.cometchat.com/docs/calls/v4/ios/overview.md): 11 pages. +- [Voice & Video Calling › SDK › Android v4](https://www.cometchat.com/docs/calls/v4/android/overview.md): 10 pages. +- [Voice & Video Calling › SDK › Flutter v4](https://www.cometchat.com/docs/calls/v4/flutter/overview.md): 10 pages. + +## Product indexes + +- [AI Agents — LLM docs index](https://www.cometchat.com/docs/ai-agents/llms-ai-agents.md): Machine-readable, AI Agents-scoped index of the current-version AI Agents doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Voice & Video Calling — LLM docs index (current)](https://www.cometchat.com/docs/calls/llms-calls.md): Machine-readable, Calls-scoped index of the current-version Calls doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Campaigns — LLM docs index](https://www.cometchat.com/docs/campaigns/llms-campaigns.md): Machine-readable, Campaigns-scoped index of the current-version Campaigns doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Chat Fundamentals & Extensions — LLM docs index](https://www.cometchat.com/docs/fundamentals/llms-chat-fundamentals.md): Machine-readable, Chat Fundamentals-scoped index of the current-version Chat Fundamentals doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [AI Moderation — LLM docs index](https://www.cometchat.com/docs/moderation/llms-moderation.md): Machine-readable, Moderation-scoped index of the current-version Moderation doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Notifications — LLM docs index](https://www.cometchat.com/docs/notifications/llms-notifications.md): Machine-readable, Notifications-scoped index of the current-version Notifications doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Chat REST & Management APIs — LLM docs index](https://www.cometchat.com/docs/rest-api/llms-chat-rest.md): Machine-readable, Chat REST API-scoped index of the current-version Chat REST API doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Android Chat SDK v5 — LLM docs index](https://www.cometchat.com/docs/sdk/android/llms-android-v5.md): Machine-readable, Android-SDK-v5-scoped index of every SDK page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [Flutter Chat SDK v5 — LLM docs index](https://www.cometchat.com/docs/sdk/flutter/llms-flutter-v5.md): Machine-readable, Flutter-SDK-v5-scoped index of every SDK page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [iOS Chat SDK v4 — LLM docs index](https://www.cometchat.com/docs/sdk/ios/llms-ios-v4.md): Machine-readable, iOS-SDK-v4-scoped index of every Chat SDK page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [JavaScript Chat SDK v4 — LLM docs index](https://www.cometchat.com/docs/sdk/javascript/llms-javascript-v4.md): Machine-readable, JavaScript-SDK-v4-scoped index of every SDK page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [React Native Chat SDK v4 — LLM docs index](https://www.cometchat.com/docs/sdk/react-native/llms-react-native-v4.md): Machine-readable, React-Native-SDK-v4-scoped index of every SDK page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [Android UI Kit v6 — LLM docs index](https://www.cometchat.com/docs/ui-kit/android/llms-android-v6.md): Machine-readable, Android-v6-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [Angular UI Kit v5 — LLM docs index](https://www.cometchat.com/docs/ui-kit/angular/llms-angular-v5.md): Machine-readable, Angular-v5-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [Flutter UI Kit v6 — LLM docs index](https://www.cometchat.com/docs/ui-kit/flutter/llms-flutter-v6.md): Machine-readable, Flutter-v6-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [iOS UI Kit v5 — LLM docs index](https://www.cometchat.com/docs/ui-kit/ios/llms-ios-v5.md): Machine-readable, iOS-v5-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [iOS UI Kit v6 — LLM docs index](https://www.cometchat.com/docs/ui-kit/ios/v6/llms-ios-v6.md): Machine-readable, iOS-v6-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [React Native UI Kit v5 — LLM docs index](https://www.cometchat.com/docs/ui-kit/react-native/llms-react-native-v5.md): Machine-readable, React-Native-v5-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [React UI Kit v7 — LLM docs index](https://www.cometchat.com/docs/ui-kit/react/llms-react-v7.md): Machine-readable, React-v7-scoped index of every UI Kit page as a clean .md twin. Built for AI coding agents; kept out of the human sidebar. +- [Vue UI Kit v4 — LLM docs index](https://www.cometchat.com/docs/ui-kit/vue/llms-vue-v4.md): Machine-readable, Vue UI Kit-scoped index of the current-version Vue UI Kit doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. +- [Chat Widget — LLM docs index](https://www.cometchat.com/docs/widget/llms-widget.md): Machine-readable, Widget-scoped index of the current-version Widget doc pages as clean .md twins. Built for AI coding agents; kept out of the human sidebar. diff --git a/llms.txt b/llms.txt new file mode 100644 index 000000000..9d5b3e5da --- /dev/null +++ b/llms.txt @@ -0,0 +1,129 @@ +# CometChat Docs + +> Docs for CometChat chat and messaging, voice and video calling, AI agents, AI moderation, notifications, campaigns and insights: UI Kits, SDKs, a no-code widget, REST APIs and on-premise deployment. + +This is the entry point for AI agents. Every link is the Markdown version of a docs page: add `.md` to any docs URL to get it. + +Fetch only the index for your platform and its current version: each product index below lists every page of that version. Don't crawl every page; older versions are listed separately and are only for apps still pinned to them. + +## Start here + +- [Build CometChat with AI Agent Skills](https://www.cometchat.com/docs/agent-skills.md): In your app's folder, `npx @cometchat/skills add` detects your platform, installs its skills (Claude Code by default; `--ide ` or `--ide all` for others) and connects the CometChat MCP server… +- [CometChat CLI](https://www.cometchat.com/docs/cli.md): Authenticate against the CometChat dashboard, provision app credentials, toggle features, and manage the AI agent skills — all from your terminal, with JSON output for scripting and CI. +- [Use CometChat with AI Coding Agents (MCP)](https://www.cometchat.com/docs/mcp-server.md): Connect CometChat to Claude, Cursor, Windsurf, VS Code, and any other Model Context Protocol–compatible agent. Search docs and pull implementation bundles with no sign-in, and sign in to let the… +- [Migrate from Another Chat Provider with Agent Skills](https://www.cometchat.com/docs/migrate-with-agent-skills.md): Move your app and your chat history from another chat provider to CometChat with one prompt to your AI coding agent, or migrate only your data. +- [Build CometChat Apps with Lovable](https://www.cometchat.com/docs/lovable.md): Connect the CometChat Docs MCP to Lovable as a chat connector so Lovable builds chat and calling features from CometChat's current documentation. +- [Chat experience blueprint & design system](https://www.cometchat.com/docs/design-system.md): The cross-platform design system and experience blueprint CometChat's AI skills (and any AI coding agent) follow to build production-grade, best-in-class chat UIs end-to-end — for every UI Kit and… + +## Chat & Messaging + +- [Overview](https://www.cometchat.com/docs/chat-call.md): Add real-time chat, voice & video calling to your apps in minutes. Choose your path: UI Kits, SDKs, or Widgets. +- [Platform index](https://www.cometchat.com/docs/fundamentals/llms-chat-fundamentals.md): How CometChat works across every product: key concepts, users and authentication, roles, webhooks, extensions, multi-tenancy and data import. +- [Widget Builder index](https://www.cometchat.com/docs/widget/llms-widget.md): The no-code Chat Widget: design it in the Widget Builder and embed it with a code snippet in an HTML, WordPress, Shopify, Squarespace, Wix or Webflow site. +- [UI Kit Builder › React](https://www.cometchat.com/docs/chat-builder/react/overview.md): CometChat UI Kit Builder for React is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder › Next.js](https://www.cometchat.com/docs/chat-builder/nextjs/overview.md): CometChat UI Kit Builder for Next.js is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder › React Router](https://www.cometchat.com/docs/chat-builder/react-router/overview.md): CometChat UI Kit Builder for React Router is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kit Builder › Angular](https://www.cometchat.com/docs/chat-builder/angular/overview.md): CometChat UI Kit Builder for Angular is a low-code development tool to design and configure fully-featured chat experiences. +- [UI Kits › React v7 index](https://www.cometchat.com/docs/ui-kit/react/llms-react-v7.md): Prebuilt React components for chat, voice, and video calling. Supports React.js, Next.js, React Router, and Astro. +- [UI Kits › React Native v5 index](https://www.cometchat.com/docs/ui-kit/react-native/llms-react-native-v5.md): Prebuilt React Native components for chat, voice, and video calling. Supports React Native CLI and Expo. +- [UI Kits › iOS v5 index](https://www.cometchat.com/docs/ui-kit/ios/llms-ios-v5.md): Integrate chat functionality into iOS applications with prebuilt, modular, and customizable UI components +- [UI Kits › iOS v6 (beta) index](https://www.cometchat.com/docs/ui-kit/ios/v6/llms-ios-v6.md): Prebuilt, customizable chat, messaging and calling components for iOS — a SwiftUI toolkit and a native UIKit toolkit over one shared data layer. +- [UI Kits › Android v6 index](https://www.cometchat.com/docs/ui-kit/android/llms-android-v6.md): Prebuilt, customizable UI components for chat & messaging, voice & video calling — for both Jetpack Compose and Kotlin XML Views. +- [UI Kits › Flutter v6 index](https://www.cometchat.com/docs/ui-kit/flutter/llms-flutter-v6.md): Use CometChat Flutter UI Kit V6 to add prebuilt chat widgets, calls, theming, localization, and customizable messaging experiences. +- [UI Kits › Angular v5 index](https://www.cometchat.com/docs/ui-kit/angular/llms-angular-v5.md): Use CometChat Angular UI Kit to add standalone chat components, voice and video calling, theming, localization, and customization. +- [UI Kits › Vue v4 index](https://www.cometchat.com/docs/ui-kit/vue/llms-vue-v4.md): Use CometChat Vue UI Kit to add prebuilt chat components, messaging features, calls, customization, and sample app references. +- [SDKs › JavaScript v4 index](https://www.cometchat.com/docs/sdk/javascript/llms-javascript-v4.md): Set up the CometChat JavaScript SDK to add real-time chat features to your web app. +- [SDKs › React Native v4 index](https://www.cometchat.com/docs/sdk/react-native/llms-react-native-v4.md): Add real-time chat, voice, video, users, groups, messages, and push notifications to React Native apps with the CometChat SDK. +- [SDKs › iOS v4 index](https://www.cometchat.com/docs/sdk/ios/llms-ios-v4.md): Add real-time chat, voice, and video to iOS apps with the CometChat SDK, including users, groups, messages, and calls. +- [SDKs › Android v5 index](https://www.cometchat.com/docs/sdk/android/llms-android-v5.md): Build Android chat apps with CometChat SDK v5, including real-time messaging, users, groups, and calling support. +- [SDKs › Flutter v5 index](https://www.cometchat.com/docs/sdk/flutter/llms-flutter-v5.md): Add CometChat Chat SDK to Flutter apps with real-time messaging, users, groups, conversations, and cross-platform support. +- [SDKs › Unreal Engine](https://www.cometchat.com/docs/sdk/unreal/overview.md): Add in-app chat to your Unreal Engine game using the CometChat SDK plugin. +- [SDKs › Ionic (Legacy)](https://www.cometchat.com/docs/sdk/ionic-legacy/overview.md): The Ionic/Cordova SDK documentation has moved to the legacy archive. +- [APIs index](https://www.cometchat.com/docs/rest-api/llms-chat-rest.md): CometChat REST API documentation for integrating chat functionality into your server-side applications. + +## Voice & Video Calling + +- [Voice & Video Calling index (all pages, current version)](https://www.cometchat.com/docs/calls/llms-calls.md): Add real-time voice and video calling to your apps in minutes with WebRTC-powered SDKs. +- [Calling](https://www.cometchat.com/docs/calls.md): Add real-time voice and video calling to your apps in minutes with WebRTC-powered SDKs. +- [Platform](https://www.cometchat.com/docs/calls/platform/overview.md): Learn what CometChat Calls provides for in-app voice and video calling, including call sessions, participants, layouts, and platform support. +- [SDK › JavaScript v5](https://www.cometchat.com/docs/calls/javascript/overview.md): Use CometChat Calls SDK v5 for JavaScript to add voice and video calling, call sessions, participants, layouts, and in-call features. +- [SDK › React Native v5](https://www.cometchat.com/docs/calls/react-native/overview.md): Use CometChat Calls SDK v5 for React Native to add voice and video calling, call sessions, participants, layouts, and in-call features. +- [SDK › iOS v5](https://www.cometchat.com/docs/calls/ios/overview.md): Use CometChat Calls SDK v5 for iOS to add voice and video calling, call sessions, participants, layouts, and in-call features. +- [SDK › Android v5](https://www.cometchat.com/docs/calls/android/overview.md): Use CometChat Calls SDK v5 for Android to add voice and video calling, call sessions, participants, layouts, and in-call features. +- [SDK › Flutter v5](https://www.cometchat.com/docs/calls/flutter/overview.md): Use CometChat Calls SDK v5 for Flutter to add voice and video calling, call sessions, participants, layouts, and in-call features. +- [APIs](https://www.cometchat.com/docs/rest-api/calls-apis/overview.md): Retrieve CometChat call logs, session details, participant metrics, durations, recordings, and transcriptions with Calls REST APIs. +- [Webhooks](https://www.cometchat.com/docs/calls/webhooks.md): Use CometChat Calls webhooks to receive voice and video call events for sessions, ringing, participants, recordings, and call status. + +## AI Agents + +- [AI Agents index (all pages, current version)](https://www.cometchat.com/docs/ai-agents/llms-ai-agents.md): Build and ship AI agents in chat: pick a provider, connect your agent, and export UI or embed widgets. +- [Overview](https://www.cometchat.com/docs/ai-agents.md): Build and ship AI agents in chat: pick a provider, connect your agent, and export UI or embed widgets. +- [Agent Builder](https://www.cometchat.com/docs/ai-agents/agent-builder/overview.md): Create, configure, and launch AI agents directly inside CometChat. +- [Bring Your Own Agent › Mastra](https://www.cometchat.com/docs/ai-agents/mastra.md): Connect a Mastra agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [Bring Your Own Agent › CrewAI](https://www.cometchat.com/docs/ai-agents/crew-ai.md): Connect a CrewAI agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [Bring Your Own Agent › Agno](https://www.cometchat.com/docs/ai-agents/agno.md): Connect an Agno agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [Bring Your Own Agent › Vercel AI](https://www.cometchat.com/docs/ai-agents/vercel.md): Connect a Vercel AI SDK agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [Bring Your Own Agent › LangGraph](https://www.cometchat.com/docs/ai-agents/langgraph.md): Connect a LangGraph agent (TypeScript or Python) to CometChat, customize it in UI Kit Builder, and ship the experience as code or a widget. +- [Bring Your Own Agent › AG2](https://www.cometchat.com/docs/ai-agents/ag2.md): Connect an AG2 (AutoGen) agent to CometChat, customize it with UI Kit Builder, and ship it as React UI Kit code or a Chat Widget. +- [Bring Your Own Agent › AG-UI](https://www.cometchat.com/docs/ai-agents/ag-ui.md): Integrate your AG-UI compatible AI agents with CometChat using the AG-UI protocol. +- [Widget Builder](https://www.cometchat.com/docs/ai-agents/chat-widget.md): Embed your AI Agent (Agent Builder or Bring Your Own Agent) into the CometChat Chat Widget. +- [Custom Bots](https://www.cometchat.com/docs/ai-chatbots/custom-bots.md): Create a custom bot that receives CometChat messages at an HTTPS callback endpoint and replies autonomously in one-on-one or group chats. +- [APIs](https://www.cometchat.com/docs/rest-api/byo-ai-agents-apis/overview.md): Create and manage BYO Agent APIs in CometChat for external AI agents, custom tools, actions, and framework integrations. + +## AI Moderation + +- [AI Moderation index (all pages, current version)](https://www.cometchat.com/docs/moderation/llms-moderation.md): Use CometChat moderation to filter text, image, and video messages with rules, blocked messages, flagged messages, and review flows. +- [Overview](https://www.cometchat.com/docs/moderation/overview.md): Use CometChat moderation to filter text, image, and video messages with rules, blocked messages, flagged messages, and review flows. +- [APIs](https://www.cometchat.com/docs/rest-api/moderation-apis/overview.md): Create and manage content moderation rules to maintain a safe environment across your CometChat app. + +## Notifications + +- [Notifications index (all pages, current version)](https://www.cometchat.com/docs/notifications/llms-notifications.md): Engage users beyond chat with real-time and scheduled notifications across Push, Email, and SMS. +- [Overview](https://www.cometchat.com/docs/notifications.md): Engage users beyond chat with real-time and scheduled notifications across Push, Email, and SMS. +- [Push](https://www.cometchat.com/docs/notifications/push-overview.md): CometChat Push Notifications, their capabilities, common triggers, and how to integrate them into your application. +- [Email](https://www.cometchat.com/docs/notifications/email-overview.md): How CometChat sends unread-message fallback emails and what to configure. +- [SMS](https://www.cometchat.com/docs/notifications/sms-overview.md): How CometChat sends unread-message SMS fallbacks, what to configure, and where to go next. +- [APIs](https://www.cometchat.com/docs/rest-api/notifications-apis/overview.md): Manage push, email, and SMS notification providers and preferences for your CometChat app. + +## Campaigns + +- [Campaigns index (all pages, current version)](https://www.cometchat.com/docs/campaigns/llms-campaigns.md): Send transactional notifications, run scheduled campaigns, and manage the per-user in-app feed across in-app and push channels. +- [Overview](https://www.cometchat.com/docs/campaigns.md): Send transactional notifications, run scheduled campaigns, and manage the per-user in-app feed across in-app and push channels. +- [APIs](https://www.cometchat.com/docs/rest-api/campaigns-apis/overview.md): REST surface for the Campaigns product. Send transactional notifications, manage templates and channels, and administer the in-app feed. + +## Insights + +- [Overview](https://www.cometchat.com/docs/insights.md): Unified analytics for users, conversations, retention, and calls – all the original metrics, reorganized in a modern landing layout. + +## On-Premise Deployment + +- [Docker](https://www.cometchat.com/docs/on-premise-deployment/docker/overview.md): Deploy CometChat on-premise for self-hosted messaging, data sovereignty, compliance, predictable performance, and enterprise control. +- [Kubernetes](https://www.cometchat.com/docs/on-premise-deployment/kubernetes/overview.md): Deploy CometChat on-premise on Kubernetes for large-scale, multi-region, autoscaled, and service-mesh-ready environments. + +## Card Builder + +- [Overview](https://www.cometchat.com/docs/card-builder/overview.md): Card Builder is a visual tool in the CometChat Dashboard for designing rich, interactive card messages — product cards, order confirmations, quick replies, and more — that your CometChat UI Kits… + +## Platform essentials + +- [Key Concepts](https://www.cometchat.com/docs/fundamentals/key-concepts.md): Understand CometChat key concepts including apps, users, UIDs, roles, authentication, groups, messages, calls, and webhooks. +- [Users and authentication](https://www.cometchat.com/docs/fundamentals/user-auth.md): Create users, issue auth tokens, and log users into CometChat. +- [REST API authentication](https://www.cometchat.com/docs/rest-api/authentication.md): Authenticate CometChat REST API requests with API keys, required headers, and app credentials before calling platform endpoints. +- [Webhooks](https://www.cometchat.com/docs/fundamentals/webhooks.md): Use CometChat webhooks to send real-time chat, user, group, call, and moderation events to your server. +- [Push notifications](https://www.cometchat.com/docs/notifications/push-overview.md): CometChat Push Notifications, their capabilities, common triggers, and how to integrate them into your application. +- [AI Moderation](https://www.cometchat.com/docs/moderation/overview.md): Use CometChat moderation to filter text, image, and video messages with rules, blocked messages, flagged messages, and review flows. +- [Chat REST API](https://www.cometchat.com/docs/rest-api/chat-apis.md): CometChat REST API documentation for integrating chat functionality into your server-side applications. +- [Rate Limits](https://www.cometchat.com/docs/rest-api/rate-limits.md): Understand the API rate limits enforced by CometChat to ensure fair usage and service quality. +- [Network Allowlist](https://www.cometchat.com/docs/fundamentals/network-allowlist.md): Every CometChat domain a corporate firewall, proxy, or VPN must allow so chat, calling, AI agents, moderation, media, and the dashboard work — a wildcard shortcut plus the full per-service breakdown… +- [OpenAPI spec: chat-apis.json](https://www.cometchat.com/docs/chat-apis.json) +- [OpenAPI spec: management-apis.json](https://www.cometchat.com/docs/management-apis.json) +- [OpenAPI spec: data-import-apis.json](https://www.cometchat.com/docs/data-import-apis.json) +- [OpenAPI spec: calls.json](https://www.cometchat.com/docs/calls.json) +- [OpenAPI spec: ai-agent-service.json](https://www.cometchat.com/docs/ai-agent-service.json) +- [OpenAPI spec: campaigns-apis.json](https://www.cometchat.com/docs/campaigns-apis.json) + +## Optional + +- [Every page, current versions (llms-pages.md)](https://www.cometchat.com/docs/llms-pages.md): Every current-version docs page with its description, grouped like the docs navigation, plus links to older versions. +- [CometChat — LLM docs indexes](https://www.cometchat.com/docs/llms-index.md): Directory of every product-scoped LLM docs index: small, current-version lists of one product's docs pages, each linked as its clean .md version for AI coding agents. +- [Home](https://www.cometchat.com/docs/index.md): Technical documentation & Implementation guides to add In-app Messaging & Voice & Video Calling to your apps and websites in minutes. diff --git a/scripts/llms/check-full-corpus.mjs b/scripts/llms/check-full-corpus.mjs new file mode 100644 index 000000000..19d2011b1 --- /dev/null +++ b/scripts/llms/check-full-corpus.mjs @@ -0,0 +1,80 @@ +#!/usr/bin/env node +// Checks that /llms-full.txt on a deployed docs site is still the full-text corpus (page bodies and +// code), not a page index. Mintlify generates that file; a root llms-full.txt in the repo would +// replace it, which generate-llms.mjs --check refuses. This script checks the deployed result. +// +// node scripts/llms/check-full-corpus.mjs --base https://www.cometchat.com/docs +// node scripts/llms/check-full-corpus.mjs --base --wait-for llms.txt [--timeout 900] +// first waits until /llms.txt equals the local llms.txt, so the deployment under test +// is this commit's, then checks /llms-full.txt +// node scripts/llms/check-full-corpus.mjs --file check a local copy (tests) +// +// What it requires (scripts/llms/llms.config.json, fullCorpus): at least minBytes, and every sample +// line (each unique to one page's body) present. No dependencies; Node 18+. + +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +/** Returns a list of problems with a corpus; empty means it holds the page bodies. */ +export function checkCorpus(text, fullCorpus) { + const problems = []; + const bytes = Buffer.byteLength(text ?? '', 'utf8'); + const min = fullCorpus?.minBytes ?? 0; + if (bytes < min) problems.push(`llms-full.txt is ${bytes} bytes, below ${min}: it is not the full-text corpus (a page index is about 0.4 MB)`); + for (const s of fullCorpus?.samples ?? []) { + if (!text.includes(s.text)) problems.push(`llms-full.txt lacks the body of /${s.page}: "${s.text}" is missing`); + } + return problems; +} + +async function get(url) { + const res = await fetch(url, { redirect: 'follow', headers: { 'cache-control': 'no-cache' } }); + return { status: res.status, text: await res.text() }; +} + +async function main() { + const arg = (n) => { const i = process.argv.indexOf(n); return i > 0 ? process.argv[i + 1] : undefined; }; + const here = path.dirname(fileURLToPath(import.meta.url)); + const root = path.resolve(here, '..', '..'); + const config = JSON.parse(fs.readFileSync(arg('--config') ?? path.join(here, 'llms.config.json'), 'utf8')); + let text; + if (arg('--file')) { + text = fs.readFileSync(arg('--file'), 'utf8'); + } else { + const base = (arg('--base') ?? config.baseUrl).replace(/\/$/, ''); + const waitFor = arg('--wait-for'); + const deadline = Date.now() + Number(arg('--timeout') ?? 900) * 1000; + if (waitFor) { + const want = fs.readFileSync(path.resolve(root, waitFor), 'utf8'); + for (;;) { + const r = await get(`${base}/llms.txt`).catch((e) => ({ status: 0, text: String(e) })); + if (r.status === 200 && r.text === want) break; + if (Date.now() > deadline) { + console.error(`error: ${base}/llms.txt never matched the local ${waitFor} (last status ${r.status}); the deployment of this commit was not found`); + process.exit(1); + } + await new Promise((ok) => setTimeout(ok, 20000)); + } + console.log(`${base} serves this commit's llms.txt`); + } + // A fresh preview can serve the new llms.txt a little before Mintlify has generated + // llms-full.txt (seen on f6cf824e: 404, then 200 a minute later). When waiting for a + // deployment, keep retrying until the same deadline; a production run fails at once. + let r; + for (;;) { + r = await get(`${base}/llms-full.txt`).catch((e) => ({ status: 0, text: String(e) })); + if (r.status === 200 || !waitFor || Date.now() > deadline) break; + console.log(`${base}/llms-full.txt returned ${r.status}; retrying`); + await new Promise((ok) => setTimeout(ok, 20000)); + } + if (r.status !== 200) { console.error(`error: ${base}/llms-full.txt returned ${r.status}`); process.exit(1); } + text = r.text; + } + const problems = checkCorpus(text, config.fullCorpus); + for (const p of problems) console.error(`error: ${p}`); + console.log(`llms-full.txt: ${Buffer.byteLength(text, 'utf8')} bytes, ${(config.fullCorpus?.samples ?? []).length} sample pages checked; ${problems.length} problem(s)`); + process.exit(problems.length ? 1 : 0); +} + +if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) main(); diff --git a/scripts/llms/generate-llms.mjs b/scripts/llms/generate-llms.mjs new file mode 100644 index 000000000..f198ee2f6 --- /dev/null +++ b/scripts/llms/generate-llms.mjs @@ -0,0 +1,497 @@ +#!/usr/bin/env node +// Builds llms.txt and llms-pages.mdx at the repo root from docs.json and page frontmatter. +// Mintlify serves a root llms.txt instead of the one it generates +// (https://www.mintlify.com/docs/ai/llmstxt#custom-files), so that file is what agents get. +// llms-full.txt is deliberately NOT committed: Mintlify keeps generating it with the full text and +// code of every page, and agents rely on that corpus. --check fails if a root llms-full.txt appears, +// and scripts/llms/check-full-corpus.mjs checks the deployed corpus still holds page bodies. +// llms-pages.mdx is our expanded index: every current-version page with its description. It is an +// unlisted page (not in docs.json navigation), served as Markdown at /llms-pages.md like the product +// indexes: Mintlify serves .txt files only at the llms.txt/llms-full.txt names on our plan +// (https://www.mintlify.com/docs/create/files#supported-file-types), so llms-pages.txt was a 404. +// +// node scripts/llms/generate-llms.mjs write both files +// node scripts/llms/generate-llms.mjs --check exit 2 if a file is only out of date; exit 1 if a link is broken, +// or something would override Mintlify's llms-full.txt +// --root / --config run against another checkout (used by the tests) +// +// Wiring (which product index page belongs to which nav section) lives in llms.config.json. +// No dependencies; Node 18+. + +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +const MARKS = /[​-‏⁠]/g; // docs.json pads version labels with U+200E to keep them unique +const DESC_MAX = 300; + +export const clean = (s) => String(s ?? '').replace(MARKS, '').trim(); + +// ---------- frontmatter ---------- + +function unquote(v) { + v = v.trim(); + if (v.startsWith('"') && v.endsWith('"') && v.length >= 2) { + return v.slice(1, -1).replace(/\\(["\\/])/g, '$1').replace(/\\n/g, ' '); + } + if (v.startsWith("'") && v.endsWith("'") && v.length >= 2) return v.slice(1, -1).replace(/''/g, "'"); + return v; +} + +/** Top-level `key: value` pairs of a YAML frontmatter block; handles quotes and > / | block scalars. */ +export function parseFrontmatter(text) { + const m = /^?---\r?\n([\s\S]*?)\r?\n---\s*(?:\r?\n|$)/.exec(text); + if (!m) return {}; + const out = {}; + const lines = m[1].split(/\r?\n/); + for (let i = 0; i < lines.length; i++) { + const kv = /^([A-Za-z_][\w-]*)\s*:\s*(.*)$/.exec(lines[i]); + if (!kv) continue; + const [, key, raw] = kv; + if (/^[>|][+-]?\s*$/.test(raw)) { + const body = []; + while (i + 1 < lines.length && (/^\s+\S/.test(lines[i + 1]) || lines[i + 1].trim() === '')) body.push(lines[++i].trim()); + out[key] = body.join(raw.startsWith('>') ? ' ' : '\n').trim(); + } else { + out[key] = unquote(raw); + } + } + return out; +} + +// ---------- docs.json ---------- + +/** + * Flattens the navigation into sections. A section is a nav node that owns pages directly + * (a tab, a dropdown, or a product with bare pages). Versioned nodes keep only their current + * version (default: true, else the first) in `pages`; the others go to `older`. + */ +export function collectSections(nav) { + const sections = []; + const pagesOf = (node, groupTrail, acc) => { + if (typeof node === 'string') { acc.push({ page: node.replace(/^\//, ''), group: groupTrail.join(' › ') }); return acc; } + if (Array.isArray(node)) { node.forEach((n) => pagesOf(n, groupTrail, acc)); return acc; } + const g = clean(node.group) ? [...groupTrail, clean(node.group)] : groupTrail; // Mintlify uses group " " for an unnamed group + if (node.pages) pagesOf(node.pages, g, acc); + if (node.groups) pagesOf(node.groups, g, acc); + return acc; + }; + const walk = (node, trail, hidden) => { + if (Array.isArray(node)) return node.forEach((n) => walk(n, trail, hidden)); + if (!node || typeof node !== 'object') return; + const label = clean(node.product ?? node.tab ?? node.dropdown ?? node.anchor ?? ''); + const t = label ? [...trail, label] : trail; + const h = hidden || node.hidden === true; + const own = []; + if (node.pages) pagesOf(node.pages, [], own); + if (node.groups) pagesOf(node.groups, [], own); + if (node.versions) { + const versions = node.versions; + const current = versions.find((v) => v.default === true) ?? versions[0]; + sections.push({ + trail: t, hidden: h, version: clean(current.version), + versions: versions.map((v) => clean(v.version)), + pages: [...own, ...pagesOf(current, [], [])], + older: versions.filter((v) => v !== current).map((v) => ({ version: clean(v.version), pages: pagesOf(v, [], []) })), + }); + } else if (own.length) { + sections.push({ trail: t, hidden: h, version: null, versions: [], pages: own, older: [] }); + } + for (const k of ['products', 'tabs', 'dropdowns', 'anchors']) if (node[k]) walk(node[k], t, h); + }; + walk(nav, [], false); + return sections; +} + +// ---------- page metadata ---------- + +function loadOpenApi(root, specs) { + const byKey = new Map(); + for (const spec of [].concat(specs ?? [])) { + const file = typeof spec === 'string' ? spec : spec?.source; + if (!file || /^https?:/.test(file)) continue; + const p = path.join(root, file.replace(/^\//, '')); + if (!fs.existsSync(p)) continue; + const doc = JSON.parse(fs.readFileSync(p, 'utf8')); + for (const [route, ops] of Object.entries(doc.paths ?? {})) { + for (const [method, op] of Object.entries(ops ?? {})) { + if (!op || typeof op !== 'object' || !op.summary) continue; + const key = `${method.toLowerCase()} ${route}`; + const val = { summary: op.summary, description: op.description ?? '' }; + if (!byKey.has(key)) byKey.set(key, val); + byKey.set(`${path.basename(file)} ${key}`, val); + } + } + } + return byKey; +} + +export function pageFile(root, page) { + for (const ext of ['.mdx', '.md']) { + const f = path.join(root, page + ext); + if (fs.existsSync(f)) return f; + } + return null; +} + +const humanize = (page) => path.basename(page).replace(/[-_]+/g, ' ').replace(/\b\w/g, (c) => c.toUpperCase()); + +export function oneLine(s, max = DESC_MAX) { + s = clean(s).replace(/\s+/g, ' '); + if (s.length <= max) return s; + const cut = s.slice(0, max - 1); + return cut.slice(0, cut.lastIndexOf(' ') > max * 0.6 ? cut.lastIndexOf(' ') : cut.length).replace(/[\s,;:.]+$/, '') + '…'; +} + +function makeMeta(root, openapi) { + const cache = new Map(); + return (page) => { + if (cache.has(page)) return cache.get(page); + const file = pageFile(root, page); + const fm = file ? parseFrontmatter(fs.readFileSync(file, 'utf8')) : {}; + let api = null; + if (fm.openapi) { + const parts = fm.openapi.trim().split(/\s+/); + const key = parts.length >= 3 + ? `${path.basename(parts[0])} ${parts[1].toLowerCase()} ${parts.slice(2).join(' ')}` + : `${(parts[0] ?? '').toLowerCase()} ${parts.slice(1).join(' ')}`; + api = openapi.get(key) ?? null; + } + const meta = { + file, + title: oneLine(fm.title || api?.summary || fm.sidebarTitle || humanize(page), 200), + description: oneLine(fm.description || api?.description || ''), + noindex: /^true$/i.test(fm.noindex ?? ''), + url: fm.url || null, // a nav entry that only links somewhere else + }; + cache.set(page, meta); + return meta; + }; +} + +// ---------- rendering ---------- + +const esc = (s) => s.replace(/([\[\]])/g, '\\$1'); +const md = (base, page) => `${base}/${page}.md`; +const item = (label, url, desc) => `- [${esc(label)}](${url})${desc ? `: ${desc}` : ''}`; +const startsWith = (trail, prefix) => prefix.every((p, i) => trail[i] === p); +const key = (trail) => trail.join(' > '); + +export function build(root, config) { + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + const base = config.baseUrl.replace(/\/$/, ''); + const pagesFile = config.pagesFile ?? 'llms-pages.mdx'; + const pagesPage = pagesFile.replace(/\.mdx?$/, ''); + const pagesName = `${pagesPage}.md`; + const pagesUrl = `${base}/${pagesName}`; + const meta = makeMeta(root, loadOpenApi(root, docs.openapi)); + const errors = []; + const warnings = []; + // A hidden section (hidden in docs.json, or inside a hidden product) is out of the navigation but its + // pages are still served. llms.config.json hiddenSections says for each one whether it is indexed + // ("include") or left out ("exclude"), so a newly hidden section is decided, not silently indexed. + const hiddenSections = config.hiddenSections ?? {}; + const navSections = collectSections(docs.navigation); + for (const s of navSections.filter((x) => x.hidden)) { + const k = key(s.trail); + if (!['include', 'exclude'].includes(hiddenSections[k])) errors.push(`"${k}" is hidden in docs.json: add it to hiddenSections in llms.config.json as "include" or "exclude"`); + } + for (const k of Object.keys(hiddenSections)) { + if (!navSections.some((s) => s.hidden && key(s.trail) === k)) errors.push(`llms.config.json hiddenSections: "${k}" is not a hidden section in docs.json: remove it`); + } + const sections = navSections.filter((s) => !s.hidden || hiddenSections[key(s.trail)] === 'include'); + const linked = new Set(); // every page either file links to + const strip = (u) => u.replace(/^\//, '').split('#')[0].replace(/\/$/, ''); + const redirects = new Map((docs.redirects ?? []).map((r) => [strip(r.source), r.destination])); + // A nav page that docs.json also redirects is never shown: the reader who clicks it lands elsewhere. + // That is an error unless llms.config.json redirectedNavAllowed lists the page on purpose. + const redirectedNavAllowed = new Set((config.redirectedNavAllowed ?? []).map(strip)); + for (const p of redirectedNavAllowed) { + if (!redirects.has(p)) errors.push(`llms.config.json redirectedNavAllowed: /${p} is not redirected in docs.json: remove it`); + } + const fail = (m) => { if (!errors.includes(m)) errors.push(m); }; + + // The page a nav entry actually serves: follows `url:` frontmatter and docs.json redirects + // (Mintlify applies a redirect even when the source is also a page). null = leaves the docs site. + const served = (page) => { + let p = page; + for (let hop = 0; hop < 5; hop++) { + const next = meta(p).url ?? redirects.get(p); + if (!next) { + if (pageFile(root, p)) return p; + warnings.push(`/${page} resolves to /${p}, which has no page: left out`); + return null; + } + if (/^https?:/.test(next)) return null; + if (redirects.has(p) && pageFile(root, p) && !meta(p).url) { + const m = `/${p} is in the navigation but docs.json redirects it to ${next}`; + if (redirectedNavAllowed.has(p)) warnings.push(m); + else fail(`${m}, so readers never see it: remove the redirect or the nav entry, or list it in llms.config.json redirectedNavAllowed`); + } + p = strip(next); + } + return p; + }; + const isPage = (p) => { const t = served(p.page); return t && !meta(t).noindex; }; + + const link = (page) => { linked.add(page); return md(base, page); }; + const indexFor = (trail) => config.indexes[key(trail)]; + const startHere = config.startHere.split(' > '); + + // Top-level groups (H2): products, except products listed in splitProducts, whose tabs become H2s. + const topOf = (s) => (config.splitProducts.includes(s.trail[0]) && s.trail.length > 1 ? s.trail.slice(0, 2) : s.trail.slice(0, 1)); + const tops = []; + for (const s of sections) { + const k = key(topOf(s)); + let t = tops.find((x) => x.key === k); + if (!t) tops.push((t = { key: k, trail: topOf(s), name: topOf(s).at(-1), sections: [] })); + t.sections.push(s); + } + // Core products first, in nav order; the tabs of split products (on-premise, card builder, ...) after them. + const isSplit = (t) => config.splitProducts.includes(t.trail[0]); + tops.sort((a, b) => isSplit(a) - isSplit(b)); + const sectionLabel = (s, top) => { + const rest = s.trail.slice(top.trail.length); + if (rest.length === 1 && rest[0] === top.name) return 'Overview'; + return rest.join(' › ') || 'Overview'; + }; + + // ---- llms.txt ---- + // Descriptions in llms.txt are cut to llmsDescriptionMax characters to keep the entry point small. + const short = (d) => (config.llmsDescriptionMax ? oneLine(d, config.llmsDescriptionMax) : d); + const entry = (label, url, desc) => item(label, url, short(desc)); + // The summary names every product; docs.json's description (also the home page's) only names chat and calling. + const summary = oneLine(config.summary || docs.description); + const L = [`# ${config.title}`, '', `> ${summary}`, '', ...config.intro.flatMap((p) => [p, '']), '## Start here', '']; + for (const s of sections.filter((x) => startsWith(x.trail, startHere))) { + for (const p of s.pages.filter(isPage)) { + const t = served(p.page); + // A note from the config replaces the page's own description (e.g. to give the install command). + L.push(entry(meta(t).title, link(t), config.startHereNotes?.[t] ?? meta(t).description)); + } + } + for (const top of tops) { + const lines = []; + const topIndex = indexFor(top.trail); + const firstOf = (s) => served((s.pages.find(isPage) ?? s.pages[0]).page) ?? s.pages[0].page; + // What a section is about: a config override, else its first page's description. + const about = (s) => config.sectionAbout?.[key(s.trail)] ?? meta(firstOf(s)).description; + if (topIndex) lines.push(entry(`${top.name} index (all pages, current version)`, link(topIndex), about(top.sections[0]))); + const covered = []; // trails below the top level that have a tab-level index + for (const s of top.sections) { + if (startsWith(s.trail, startHere) || s.pages.every((p) => p.page === 'index')) continue; + if (covered.some((c) => startsWith(s.trail, c) && s.trail.length > c.length)) continue; + const own = indexFor(s.trail); + const label = sectionLabel(s, top) + (s.version ? ` ${s.version}` : ''); + if (own && own !== topIndex) { + covered.push(s.trail); + lines.push(entry(`${label} index`, link(own), about(s))); + } else { + const first = firstOf(s); + lines.push(entry(label, link(first), meta(first).description)); + } + for (const extra of config.extraIndexes?.[key(s.trail)] ?? []) { + const v = s.older.find((o) => o.version === extra.version); + const d = v?.pages[0] ? meta(v.pages[0].page).description : ''; + lines.push(entry(`${sectionLabel(s, top)} ${extra.version} (${extra.label}) index`, link(extra.page), d)); + } + } + if (lines.length) L.push('', `## ${top.name}`, '', ...lines); + } + // Platform topics every integration needs, then the OpenAPI specs (full URLs, so an agent has a host). + if (config.platformTopics?.length) { + L.push('', `## ${config.platformTopicsHeading ?? 'Platform essentials'}`, ''); + // An entry is a page path, or { page, label } when the page's own title is too generic ("Overview"). + for (const topic of config.platformTopics) { + const p = typeof topic === 'string' ? topic : topic.page; + const t = served(p) ?? p; + L.push(entry((typeof topic === 'object' && topic.label) || meta(t).title, link(t), meta(t).description)); + } + for (const spec of [].concat(docs.openapi ?? [])) { + if (typeof spec === 'string' && !/^https?:/.test(spec)) L.push(entry(`OpenAPI spec: ${spec}`, `${base}/${spec.replace(/^\//, '')}`, '')); + } + } + if (config.olderVersions) { + L.push('', '## Older versions (legacy)', ''); + L.push(entry('Older and beta versions', pagesUrl, config.olderVersions)); + } + L.push('', '## Optional', ''); + L.push(entry(`Every page, current versions (${pagesName})`, pagesUrl, 'Every current-version docs page with its description, grouped like the docs navigation, plus links to older versions.')); + for (const p of config.optional) L.push(entry(meta(p).title, link(p), meta(p).description)); + if (!config.platformTopics?.length) { + for (const spec of [].concat(docs.openapi ?? [])) { + if (typeof spec === 'string' && !/^https?:/.test(spec)) L.push(entry(`OpenAPI spec: ${spec}`, `${base}/${spec.replace(/^\//, '')}`, '')); + } + } + + // ---- llms-pages.mdx (served as llms-pages.md; Mintlify adds the title and description) ---- + const F = ['---', `title: ${JSON.stringify(`${config.title}: every page`)}`, `description: ${JSON.stringify(summary)}`, '---', '', + '{/*', + ' GENERATED by scripts/llms/generate-llms.mjs: do not edit by hand. UNLISTED, not hidden, like', + ' llms-index.mdx: omitted from docs.json navigation, served at /docs/llms-pages.md for agents.', + '*/}', '', + 'Every page of the current version of each CometChat product, grouped like the docs navigation. Every link is the Markdown version of the page. For a shorter entry point use llms.txt; older versions are listed at the end.', '']; + const seen = new Set(); + for (const top of tops) { + F.push(`## ${top.name}`, ''); + const topIndex = indexFor(top.trail); + if (topIndex) F.push(item(`${top.name} index`, link(topIndex), ''), ''); + for (const s of top.sections) { + const pages = s.pages.filter(isPage).map((p) => ({ ...p, page: served(p.page) })).filter((p, i, a) => !seen.has(p.page) && a.findIndex((q) => q.page === p.page) === i); + if (!pages.length) continue; + const label = sectionLabel(s, top) + (s.version ? ` ${s.version}` : ''); + F.push(`### ${label}`, ''); + const own = indexFor(s.trail); + if (own && own !== topIndex) F.push(item('Index for this section', link(own), ''), ''); + // One heading per group. The nav interleaves a group's own pages with its subgroups, and + // standalone pages with groups, so following it page by page repeated headings (up to four + // "Other pages", three "Features › Extensions"). Each group's pages are gathered, in nav + // order, under its first appearance. Pages outside any group that come before the first + // group stay first, under no heading; the ones after a group go under one "Other pages" + // heading at the end, since under no heading they would read as part of the group above. + const firstGrouped = pages.findIndex((p) => p.group); + const byGroup = new Map(); + for (const p of firstGrouped < 0 ? [] : pages.slice(firstGrouped).filter((x) => x.group)) { + if (!byGroup.has(p.group)) byGroup.set(p.group, []); + byGroup.get(p.group).push(p); + } + const ordered = firstGrouped < 0 ? pages : [ + ...pages.slice(0, firstGrouped), + ...[...byGroup.values()].flat(), + ...pages.slice(firstGrouped).filter((p) => !p.group), + ]; + let group = ''; + for (const p of ordered) { + seen.add(p.page); + if (p.group !== group) { + F.push('', `#### ${p.group || 'Other pages'}`, ''); + group = p.group; + } + F.push(item(meta(p.page).title, link(p.page), meta(p.page).description)); + } + F.push(''); + } + } + F.push('## Other versions', '', 'Versions other than the current one: earlier majors, for apps pinned to them, and betas.', ''); + for (const top of tops) { + for (const s of top.sections) { + for (const o of s.older) { + const first = o.pages.find(isPage) && { page: served(o.pages.find(isPage).page) }; + const tag = (config.extraIndexes?.[key(s.trail)] ?? []).find((e) => e.version === o.version)?.label; + if (first) F.push(item(`${top.name} › ${sectionLabel(s, top)} ${o.version}${tag ? ` (${tag})` : ''}`, link(first.page), `${o.pages.filter(isPage).length} pages.`)); + } + } + } + const indexFiles = findIndexPages(root, ['llms-index.mdx', pagesFile]); + F.push('', '## Product indexes', ''); + for (const p of indexFiles) F.push(item(meta(p).title, link(p), meta(p).description)); + + // ---- validation ---- + // The index is an MDX page: a brace or angle bracket in a title or description would break its build. + const bodyStart = F.indexOf('*/}') + 1; + F.slice(bodyStart).forEach((line) => { + if (/[{}<]/.test(line.replace(/^> /, ''))) errors.push(`${pagesFile}: "${line.slice(0, 120)}" has { } or <, which breaks MDX: reword that page's title or description`); + }); + // A committed llms-full.txt would replace Mintlify's generated full-text corpus with our file. + for (const f of ['llms-full.txt', 'llms-full.md']) { + if (fs.existsSync(path.join(root, f))) errors.push(`${f} at the repo root overrides Mintlify's full-text corpus (page bodies and code that agents fetch in one request): delete it; the page index is ${pagesFile} (served as ${pagesName})`); + } + // The deployed-corpus check (check-full-corpus.mjs) looks for these lines; keep them true to the pages. + for (const smp of config.fullCorpus?.samples ?? []) { + const f = pageFile(root, smp.page); + if (!f) errors.push(`fullCorpus sample page /${smp.page} has no page: pick another sample in llms.config.json`); + else if (!fs.readFileSync(f, 'utf8').includes(smp.text)) errors.push(`fullCorpus sample text is no longer on /${smp.page}: update it in llms.config.json ("${smp.text}")`); + } + const allTrails = new Set(); + for (const s of sections) for (let i = 1; i <= s.trail.length; i++) allTrails.add(key(s.trail.slice(0, i))); + if (![...allTrails].includes(config.startHere)) errors.push(`startHere "${config.startHere}" is not a section in docs.json`); + const wired = new Set(); + for (const [k, page] of Object.entries(config.indexes)) { + wired.add(page); + if (!allTrails.has(k)) errors.push(`llms.config.json indexes: "${k}" is not a section in docs.json`); + const sec = sections.find((s) => key(s.trail) === k); + const v = /-(v\d+)$/.exec(page)?.[1]; + if (sec?.version && v && v !== sec.version) errors.push(`${page} indexes ${v}, but the current version of "${k}" is ${sec.version}`); + } + for (const [k, list] of Object.entries(config.extraIndexes ?? {})) { + const sec = sections.find((s) => key(s.trail) === k); + for (const e of list) { + wired.add(e.page); + if (!sec) errors.push(`llms.config.json extraIndexes: "${k}" is not a section in docs.json`); + else if (!sec.versions.includes(e.version)) errors.push(`extraIndexes ${e.page}: "${k}" has no version ${e.version}`); + } + } + for (const p of indexFiles) if (!wired.has(p)) errors.push(`${p} is not wired into llms.txt: add it to scripts/llms/llms.config.json`); + for (const p of linked) { + // A redirect wins over a page file on Mintlify, so a redirect source is never a valid target. + if (redirects.has(p)) errors.push(`llms.txt links /${p}, which redirects to ${redirects.get(p)}`); + else if (!pageFile(root, p)) errors.push(`llms.txt links /${p}, which has no page`); + } + // Links inside the hand-written index pages, which llms.txt sends agents to (relative, or absolute to baseUrl). + const directory = pageFile(root, 'llms-index'); + const directoryText = directory ? fs.readFileSync(directory, 'utf8') : ''; + for (const p of indexFiles) { + if (directory && !directoryText.includes(`${base}/${p}.md`)) errors.push(`${p} is not listed in llms-index.mdx`); + } + const linkRe = new RegExp(`\\]\\((?:${base.replace(/[.*+?^${}()|[\]\\/]/g, '\\$&')})?(\\/[^)\\s#?]*)`, 'g'); + for (const p of [...indexFiles, 'llms-index']) { + const f = pageFile(root, p); + if (!f) continue; + for (const m of fs.readFileSync(f, 'utf8').matchAll(linkRe)) { + const target = m[1].replace(/^\//, '').replace(/^docs\//, '').replace(/\.md$/, '').replace(/\/$/, ''); + if (!target || /\.(txt|json|png|svg|jpe?g|gif)$/.test(target)) continue; + if (pageFile(root, target) && !redirects.has(target)) continue; + errors.push(redirects.has(target) + ? `${path.relative(root, f)} links ${m[1]}, which redirects to ${redirects.get(target)}: link the destination` + : `${path.relative(root, f)} links ${m[1]}, which has no page`); + } + } + + return { pagesFile, pagesName, warnings: [...new Set(warnings)], llms: L.join('\n').replace(/\n{3,}/g, '\n\n') + '\n', full: F.join('\n').replace(/\n{3,}/g, '\n\n') + '\n', errors }; +} + +export function findIndexPages(root, skip = ['llms-index.mdx', 'llms-pages.mdx']) { + const out = []; + const walk = (dir) => { + for (const e of fs.readdirSync(dir, { withFileTypes: true })) { + if (e.name.startsWith('.') || e.name === 'node_modules') continue; + const p = path.join(dir, e.name); + if (e.isDirectory()) walk(p); + else if (/^llms-.+\.mdx?$/.test(e.name) && !(dir === root && skip.includes(e.name))) out.push(path.relative(root, p).replace(/\.mdx?$/, '').split(path.sep).join('/')); + } + }; + walk(root); + return out.sort(); +} + +// ---------- CLI ---------- + +function main() { + const here = path.dirname(fileURLToPath(import.meta.url)); + const arg = (name) => { const i = process.argv.indexOf(name); return i > 0 ? process.argv[i + 1] : undefined; }; + const root = path.resolve(arg('--root') ?? path.join(here, '..', '..')); + const config = JSON.parse(fs.readFileSync(arg('--config') ?? path.join(root, 'scripts', 'llms', 'llms.config.json'), 'utf8')); + const check = process.argv.includes('--check'); + const { llms, full, errors, warnings, pagesFile } = build(root, config); + const targets = [['llms.txt', llms], [pagesFile, full]]; + const stale = []; + if (check) { + for (const [name, content] of targets) { + const p = path.join(root, name); + const disk = fs.existsSync(p) ? fs.readFileSync(p, 'utf8') : null; + if (disk !== content) stale.push(`${name} is out of date: run node scripts/llms/generate-llms.mjs and commit the result`); + } + } else { + for (const [name, content] of targets) fs.writeFileSync(path.join(root, name), content); + } + for (const w of warnings) console.error(`warning: ${w}`); + for (const e of errors) console.error(`error: ${e}`); + for (const s of stale) console.error(`stale: ${s}`); + const pages = (full.match(/^- \[/gm) ?? []).length; + console.log(`${check ? 'checked' : 'wrote'} llms.txt (${llms.length} chars) and ${pagesFile} (${full.length} chars, ${pages} links); ${errors.length} error(s), ${stale.length} stale file(s)`); + // 1: a structural error (broken link, redirected nav page, undecided hidden section, ...). + // 2: only out of date. The PR check warns on 2; the push-to-main job regenerates and opens a PR. + process.exit(errors.length ? 1 : stale.length ? 2 : 0); +} + +if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) main(); diff --git a/scripts/llms/generate-llms.test.mjs b/scripts/llms/generate-llms.test.mjs new file mode 100644 index 000000000..875050f4f --- /dev/null +++ b/scripts/llms/generate-llms.test.mjs @@ -0,0 +1,319 @@ +// node --test scripts/llms/generate-llms.test.mjs +import test from 'node:test'; +import assert from 'node:assert/strict'; +import fs from 'node:fs'; +import os from 'node:os'; +import path from 'node:path'; +import { execFileSync } from 'node:child_process'; +import { fileURLToPath } from 'node:url'; +import { parseFrontmatter, collectSections, oneLine, build } from './generate-llms.mjs'; +import { checkCorpus } from './check-full-corpus.mjs'; + +const SCRIPT = fileURLToPath(new URL('./generate-llms.mjs', import.meta.url)); + +test('parseFrontmatter reads quoted, plain and block values', () => { + const fm = parseFrontmatter([ + '---', + 'title: "Say \\"hi\\""', + "sidebarTitle: 'It''s here'", + 'description: >-', + ' first line', + ' second line', + 'openapi: post /users', + 'noindex: true', + '---', + 'body', + ].join('\n')); + assert.equal(fm.title, 'Say "hi"'); + assert.equal(fm.sidebarTitle, "It's here"); + assert.equal(fm.description, 'first line second line'); + assert.equal(fm.openapi, 'post /users'); + assert.equal(fm.noindex, 'true'); + assert.deepEqual(parseFrontmatter('no frontmatter'), {}); +}); + +test('oneLine collapses whitespace and truncates on a word', () => { + assert.equal(oneLine('a\n b'), 'a b'); + const long = oneLine('word '.repeat(100), 50); + assert.ok(long.length <= 50 && long.endsWith('…'), long); +}); + +test('collectSections keeps the default version, strips U+200E and blank groups', () => { + const nav = { products: [{ product: 'P', tabs: [{ tab: 'T', dropdowns: [{ dropdown: 'D', versions: [ + { version: 'v2‎', groups: [{ group: ' ', pages: ['d/v2/a'] }] }, + { version: 'v1‎', default: true, groups: [{ group: 'G', pages: ['d/a', { group: 'Sub', pages: ['d/b'] }] }] }, + ] }] }] }] }; + const [s] = collectSections(nav); + assert.deepEqual(s.trail, ['P', 'T', 'D']); + assert.equal(s.version, 'v1'); + assert.deepEqual(s.pages, [{ page: 'd/a', group: 'G' }, { page: 'd/b', group: 'G › Sub' }]); + assert.deepEqual(s.older, [{ version: 'v2', pages: [{ page: 'd/v2/a', group: '' }] }]); +}); + +// ---- fixture repo ---- + +function fixture() { + const root = fs.mkdtempSync(path.join(os.tmpdir(), 'llms-')); + const page = (p, fm, body = '') => { + fs.mkdirSync(path.dirname(path.join(root, p)), { recursive: true }); + fs.writeFileSync(path.join(root, p), `---\n${fm}\n---\n${body}\n`); + }; + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify({ + name: 'X', description: 'Docs for X.', + openapi: ['api.json'], + redirects: [{ source: '/old', destination: '/kit/a' }], + navigation: { products: [ + { product: 'Home', hidden: true, tabs: [{ tab: 'AI', pages: ['agents'] }] }, + { product: 'Chat', tabs: [ + { tab: 'Kits', dropdowns: [{ dropdown: 'React', versions: [ + { version: 'v2', default: true, groups: [{ group: 'Start', pages: ['kit/a', 'kit/b'] }] }, + { version: 'v1', groups: [{ group: 'Start', pages: ['kit/v1/a'] }] }, + ] }] }, + { tab: 'APIs', groups: [{ group: 'Users', pages: ['api/create-user'] }] }, + ] }, + ] }, + })); + fs.writeFileSync(path.join(root, 'api.json'), JSON.stringify({ paths: { '/users': { post: { summary: 'Create user', description: 'Creates a user.' } } } })); + page('agents.mdx', 'title: "Agent skills"\ndescription: "Install skills."'); + page('kit/a.mdx', 'title: Kit A\ndescription: First page.'); + page('kit/b.mdx', 'title: Kit B\nnoindex: true'); + page('kit/v1/a.mdx', 'title: Old kit'); + page('api/create-user.mdx', 'openapi: post /users'); + page('kit/llms-react-v2.mdx', 'title: React v2 index\ndescription: idx', '- [A](/kit/a)\n- [A md](https://x.test/docs/kit/a.md)'); + page('llms-index.mdx', 'title: Indexes', '- [React](https://x.test/docs/kit/llms-react-v2.md)'); + const config = { + baseUrl: 'https://x.test/docs', title: 'X Docs', intro: ['Intro.'], + startHere: 'Home > AI', splitProducts: ['Home'], hiddenSections: { 'Home > AI': 'include' }, + indexes: { 'Chat > Kits > React': 'kit/llms-react-v2' }, optional: ['llms-index'], + }; + return { root, page, config }; +} + +test('build writes an llms.txt with an H1, start-here, indexes and every current page in llms-full', () => { + const { root, config } = fixture(); + const { llms, full, errors } = build(root, config); + assert.deepEqual(errors, []); + assert.match(llms, /^# X Docs\n\n> Docs for X\.\n/); + assert.match(llms, /## Start here\n\n- \[Agent skills\]\(https:\/\/x\.test\/docs\/agents\.md\): Install skills\./); + assert.match(llms, /- \[Kits › React v2 index\]\(https:\/\/x\.test\/docs\/kit\/llms-react-v2\.md\): First page\./); + assert.match(llms, /OpenAPI spec: api\.json\]\(https:\/\/x\.test\/docs\/api\.json\)/); + assert.match(full, /- \[Kit A\]\(https:\/\/x\.test\/docs\/kit\/a\.md\): First page\./); + assert.match(full, /- \[Create user\]\(https:\/\/x\.test\/docs\/api\/create-user\.md\): Creates a user\./, 'OpenAPI pages take their title from the spec'); + assert.doesNotMatch(full, /kit\/b\.md/, 'noindex pages are left out'); + assert.match(full, /## Other versions[\s\S]*Chat › Kits › React v1\]\(https:\/\/x\.test\/docs\/kit\/v1\/a\.md\)/); + assert.doesNotMatch(llms, /kit\/v1\//, 'llms.txt links current versions only'); +}); + +test('build reports stale wiring and dead links', () => { + const { root, page, config } = fixture(); + page('kit/llms-react-v2.mdx', 'title: idx', '- [gone](/kit/nope)\n- [moved](https://x.test/docs/old.md)\n- [shadowed](/kit/v1/a)'); + page('kit/llms-new-v1.mdx', 'title: new'); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + docs.navigation.products[1].tabs[0].dropdowns[0].versions.reverse().forEach((v) => { v.default = v.version === 'v1'; }); + docs.redirects.push({ source: '/kit/v1/a', destination: '/kit/a' }); + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + const { errors } = build(root, { ...config, indexes: { ...config.indexes, 'Chat > Nope': 'kit/llms-react-v2' } }); + const has = (re) => assert.ok(errors.some((e) => re.test(e)), `${re} not in:\n${errors.join('\n')}`); + has(/links \/kit\/nope, which has no page/); + has(/links \/old\.md, which redirects to \/kit\/a/); + has(/links \/kit\/v1\/a, which redirects to \/kit\/a/); // a redirect source that also has a page file + has(/kit\/llms-new-v1 is not wired into llms\.txt/); + has(/kit\/llms-new-v1 is not listed in llms-index\.mdx/); + has(/kit\/llms-react-v2 indexes v2, but the current version of "Chat > Kits > React" is v1/); + has(/"Chat > Nope" is not a section in docs\.json/); +}); + +test('--check fails when the committed files are stale and passes once regenerated', () => { + const { root, config } = fixture(); + const cfg = path.join(root, 'cfg.json'); + fs.writeFileSync(cfg, JSON.stringify(config)); + const run = (...a) => { try { execFileSync('node', [SCRIPT, '--root', root, '--config', cfg, ...a], { stdio: 'pipe' }); return 0; } catch (e) { return e.status; } }; + assert.equal(run('--check'), 2, 'missing files are reported as stale (exit 2)'); + assert.equal(run(), 0); + assert.equal(run('--check'), 0); + fs.writeFileSync(path.join(root, 'kit/a.mdx'), '---\ntitle: Kit A renamed\n---\n'); + assert.equal(run('--check'), 2, 'a title change makes the files stale (exit 2), not broken'); + assert.equal(run(), 0); + assert.equal(run('--check'), 0); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + docs.redirects = [...(docs.redirects ?? []), { source: '/api/create-user', destination: '/kit/a' }]; + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + assert.equal(run('--check'), 1, 'a structural error exits 1, even when the files are also stale'); +}); + +test('nav entries are listed as the page they serve: url frontmatter and redirects are followed', () => { + const { root, page, config } = fixture(); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + docs.navigation.products[1].tabs[1].groups[0].pages.push('api/github', 'api/auth-link', 'api/moved', 'api/broken'); + docs.redirects.push({ source: '/api/moved', destination: '/kit/a#anchor' }, { source: '/api/broken', destination: '/api/nowhere' }); + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + page('api/github.mdx', 'title: GitHub\nurl: "https://github.com/x"'); + page('api/auth-link.mdx', 'title: Auth\nurl : "/kit/a"'); + page('api/moved.mdx', 'title: Moved'); + page('api/broken.mdx', 'title: Broken'); + const { full, errors, warnings } = build(root, { ...config, redirectedNavAllowed: ['/api/moved', '/api/broken'] }); + assert.deepEqual(errors, []); + assert.doesNotMatch(full, /github|auth-link|api\/moved|api\/broken/, 'link-only, redirected and dead entries are not listed as pages'); + assert.equal(full.match(/docs\/kit\/a\.md\)/g).length, 1, 'a page reached twice is listed once'); + assert.ok(warnings.some((w) => /\/api\/moved is in the navigation but docs\.json redirects it/.test(w)), 'an allowed redirected nav page only warns'); + assert.ok(warnings.some((w) => /\/api\/broken resolves to \/api\/nowhere, which has no page/.test(w))); + + const strict = build(root, config).errors; + assert.equal(strict.filter((e) => /\/api\/moved is in the navigation but docs\.json redirects it to \/kit\/a#anchor, so readers never see it/.test(e)).length, 1, 'a redirected nav page is an error, reported once'); + const stale = build(root, { ...config, redirectedNavAllowed: ['/api/moved', '/api/broken', 'kit/a'] }).errors; + assert.ok(stale.some((e) => /redirectedNavAllowed: \/kit\/a is not redirected in docs\.json: remove it/.test(e)), stale.join('\n')); +}); + +test('summary, start-here notes, section overrides, platform topics and the older-versions line', () => { + const { root, config } = fixture(); + const { llms, full, errors } = build(root, { + ...config, + summary: 'Docs for every X product.', + startHereNotes: { agents: 'Run `npx x add`.' }, + sectionAbout: { 'Chat > Kits > React': 'The React kit.' }, + platformTopics: ['kit/a', { page: 'old', label: 'Kit A again' }], + llmsDescriptionMax: 12, + olderVersions: 'Older versions are at the end of llms-full.txt.', + }); + assert.deepEqual(errors, []); + assert.match(llms, /^# X Docs\n\n> Docs for every X product\.\n/, 'the summary replaces docs.json description'); + assert.match(full, /^---\ntitle: "X Docs: every page"\ndescription: "Docs for every X product\."\n---\n/); + assert.match(llms, /\[Agent skills\]\(https:\/\/x\.test\/docs\/agents\.md\): Run `npx x…\n/, 'the note replaces the page description'); + assert.doesNotMatch(llms, /Install skills/); + assert.match(llms, /React v2 index\]\(https:\/\/x\.test\/docs\/kit\/llms-react-v2\.md\): The React…/); + const essentials = llms.split('## Platform essentials')[1]?.split('\n## ')[0] ?? ''; + assert.match(essentials, /\[Kit A\]\(https:\/\/x\.test\/docs\/kit\/a\.md\)/); + assert.equal(essentials.match(/kit\/a\.md/g).length, 2, 'a redirected topic is listed as the page it serves'); + assert.match(essentials, /- \[Kit A again\]\(https:\/\/x\.test\/docs\/kit\/a\.md\)/, 'a topic label replaces the page title'); + assert.match(llms, /\[APIs\]\(https:\/\/x\.test\/docs\/api\/create-user\.md\): Creates a…/, 'llms.txt descriptions are capped'); + assert.match(full, /\[Create user\]\(https:\/\/x\.test\/docs\/api\/create-user\.md\): Creates a user\./, 'llms-full keeps full descriptions'); + assert.match(essentials, /OpenAPI spec: api\.json\]\(https:\/\/x\.test\/docs\/api\.json\)/, 'specs move into the essentials, with full URLs'); + assert.doesNotMatch(llms.split('## Optional')[1], /OpenAPI spec/); + assert.match(llms, /## Older versions \(legacy\)\n\n- \[Older and beta versions\]\(https:\/\/x\.test\/docs\/llms-pages\.md\): Older versi…/); +}); + +test('llms-full.txt is left to Mintlify and never linked: a committed one fails the check', () => { + const { root, config } = fixture(); + let r = build(root, config); + assert.deepEqual(r.errors, []); + assert.equal(r.pagesFile, 'llms-pages.mdx'); + assert.match(r.llms, /\[Every page, current versions \(llms-pages\.md\)\]\(https:\/\/x\.test\/docs\/llms-pages\.md\)/); + assert.doesNotMatch(r.llms, /llms-full/, 'llms.txt does not point agents at the 10 MB+ corpus'); + assert.doesNotMatch(r.full, /llms-full/, 'llms-pages does not mention it either'); + fs.writeFileSync(path.join(root, 'llms-full.txt'), 'an index'); + r = build(root, config); + assert.ok(r.errors.some((e) => /llms-full\.txt at the repo root overrides Mintlify's full-text corpus/.test(e)), r.errors.join('\n')); +}); + +test('the main script writes llms-pages.mdx (an MDX page) and never llms-full.txt', () => { + const { root, config } = fixture(); + const cfg = path.join(root, 'cfg.json'); + fs.writeFileSync(cfg, JSON.stringify(config)); + execFileSync('node', [SCRIPT, '--root', root, '--config', cfg], { stdio: 'pipe' }); + const page = fs.readFileSync(path.join(root, 'llms-pages.mdx'), 'utf8'); + assert.match(page, /^---\ntitle: ".+: every page"\ndescription: ".+"\n---\n/); + assert.doesNotMatch(page, /^# /m, 'Mintlify adds the H1 itself'); + assert.ok(!fs.existsSync(path.join(root, 'llms-full.txt'))); + assert.ok(!fs.existsSync(path.join(root, 'llms-pages.txt'))); + // the page is not mistaken for a product index on the next run + execFileSync('node', [SCRIPT, '--root', root, '--config', cfg, '--check'], { stdio: 'pipe' }); +}); + +test('fullCorpus samples must stay true to their pages', () => { + const { root, config } = fixture(); + const ok = { ...config, fullCorpus: { samples: [{ page: 'kit/a', text: 'kit body line' }] } }; + fs.writeFileSync(path.join(root, 'kit/a.mdx'), '---\ntitle: Kit A\n---\nkit body line\n'); + assert.deepEqual(build(root, ok).errors, []); + fs.writeFileSync(path.join(root, 'kit/a.mdx'), '---\ntitle: Kit A\n---\nrewritten\n'); + assert.ok(build(root, ok).errors.some((e) => /sample text is no longer on \/kit\/a/.test(e))); + const gone = { ...config, fullCorpus: { samples: [{ page: 'kit/gone', text: 'x' }] } }; + assert.ok(build(root, gone).errors.some((e) => /sample page \/kit\/gone has no page/.test(e))); +}); + +test('checkCorpus accepts the full text and rejects a page index', () => { + const fc = { minBytes: 100, samples: [{ page: 'a', text: 'const x = sendMessage(msg);' }, { page: 'b', text: 'Select App Router.' }] }; + const full = 'x'.repeat(200) + '\nconst x = sendMessage(msg);\nSelect App Router.\n'; + assert.deepEqual(checkCorpus(full, fc), []); + const index = '- [A](https://x/a.md): A page.\n'; + const problems = checkCorpus(index, fc); + assert.equal(problems.length, 3, problems.join('\n')); + assert.match(problems[0], /below 100/); + assert.match(problems[1], /lacks the body of \/a/); +}); + +test('check-full-corpus.mjs exits 1 on an index and 0 on a full corpus', () => { + const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'corpus-')); + const cfg = path.join(dir, 'cfg.json'); + fs.writeFileSync(cfg, JSON.stringify({ baseUrl: 'https://x.test', fullCorpus: { minBytes: 50, samples: [{ page: 'a', text: 'body line A' }] } })); + const CHECK = fileURLToPath(new URL('./check-full-corpus.mjs', import.meta.url)); + const run = (file) => { try { execFileSync('node', [CHECK, '--config', cfg, '--file', file], { stdio: 'pipe' }); return 0; } catch (e) { return e.status; } }; + fs.writeFileSync(path.join(dir, 'full.txt'), 'y'.repeat(60) + '\nbody line A\n'); + fs.writeFileSync(path.join(dir, 'index.txt'), '- [A](https://x/a.md)\n'); + assert.equal(run(path.join(dir, 'full.txt')), 0); + assert.equal(run(path.join(dir, 'index.txt')), 1); +}); + +test('a brace or angle bracket in a description fails the check (it would break the MDX page)', () => { + const { root, config } = fixture(); + fs.writeFileSync(path.join(root, 'kit/a.mdx'), '---\ntitle: Kit A\ndescription: "Use with {props}"\n---\nbody\n'); + assert.ok(build(root, config).errors.some((e) => /breaks MDX/.test(e))); +}); + +test('every hidden section is listed in hiddenSections: include keeps it, exclude drops it, unlisted or stale fails', () => { + const { root, config } = fixture(); + const { errors: unlisted } = build(root, { ...config, hiddenSections: {} }); + assert.ok(unlisted.some((e) => /"Home > AI" is hidden in docs\.json: add it to hiddenSections/.test(e))); + const { errors: stale } = build(root, { ...config, hiddenSections: { 'Home > AI': 'include', 'Chat > APIs': 'include' } }); + assert.ok(stale.some((e) => /hiddenSections: "Chat > APIs" is not a hidden section/.test(e))); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + docs.navigation.products[1].tabs[1].hidden = true; + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + const { full, errors } = build(root, { ...config, hiddenSections: { 'Home > AI': 'include', 'Chat > APIs': 'exclude' } }); + assert.deepEqual(errors, []); + assert.doesNotMatch(full, /api\/create-user\.md/, 'an excluded hidden section is left out'); + assert.match(full, /agents\.md/, 'an included hidden section is kept'); +}); + +test('a page outside any group after a group gets its own heading, not the group above it', () => { + const { root, page, config } = fixture(); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + docs.navigation.products[1].tabs[1].groups.push('api/faq'); + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + page('api/faq.mdx', 'title: FAQ\ndescription: Answers.'); + const { full, errors } = build(root, config); + assert.deepEqual(errors, []); + assert.match(full, /#### Users\n\n- \[Create user\][^\n]*\n\n#### Other pages\n\n- \[FAQ\]/); +}); + +test('pages outside any group after a group share one "Other pages" heading, in nav order', () => { + const { root, page, config } = fixture(); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + const groups = docs.navigation.products[1].tabs[1].groups; + groups.unshift('api/intro'); + groups.push('api/faq', { group: 'Groups', pages: ['api/create-group'] }, 'api/limits'); + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + page('api/intro.mdx', 'title: Intro'); + page('api/faq.mdx', 'title: FAQ'); + page('api/create-group.mdx', 'title: Create group'); + page('api/limits.mdx', 'title: Limits'); + const { full, errors } = build(root, config); + assert.deepEqual(errors, []); + const section = full.split('### APIs')[1].split('\n## ')[0]; + assert.equal(section.match(/#### Other pages/g).length, 1, section); + assert.match(section, /^\n\n- \[Intro\][^\n]*\n\n#### Users\n/, 'a page before the first group stays first, under no heading'); + assert.match(section, /#### Users\n[\s\S]*#### Groups\n\n- \[Create group\][^\n]*\n\n#### Other pages\n\n- \[FAQ\][^\n]*\n- \[Limits\]/); +}); + +test('a group split by its subgroups gets one heading, with its pages in nav order', () => { + const { root, page, config } = fixture(); + const docs = JSON.parse(fs.readFileSync(path.join(root, 'docs.json'), 'utf8')); + docs.navigation.products[1].tabs[1].groups.push({ group: 'Features', pages: ['api/f1', { group: 'Extensions', pages: ['api/e1'] }, 'api/f2', { group: 'Extensions', pages: ['api/e2'] }] }); + fs.writeFileSync(path.join(root, 'docs.json'), JSON.stringify(docs)); + for (const p of ['f1', 'f2', 'e1', 'e2']) page(`api/${p}.mdx`, `title: ${p.toUpperCase()}`); + const { full, errors } = build(root, config); + assert.deepEqual(errors, []); + const section = full.split('### APIs')[1].split('\n## ')[0]; + assert.equal(section.match(/#### Features\n/g).length, 1, section); + assert.equal(section.match(/#### Features › Extensions\n/g).length, 1, section); + assert.match(section, /#### Features\n\n- \[F1\][^\n]*\n- \[F2\][^\n]*\n\n#### Features › Extensions\n\n- \[E1\][^\n]*\n- \[E2\]/); +}); diff --git a/scripts/llms/llms.config.json b/scripts/llms/llms.config.json new file mode 100644 index 000000000..f9d0dc4a7 --- /dev/null +++ b/scripts/llms/llms.config.json @@ -0,0 +1,121 @@ +{ + "baseUrl": "https://www.cometchat.com/docs", + "title": "CometChat Docs", + "summary": "Docs for CometChat chat and messaging, voice and video calling, AI agents, AI moderation, notifications, campaigns and insights: UI Kits, SDKs, a no-code widget, REST APIs and on-premise deployment.", + "intro": [ + "This is the entry point for AI agents. Every link is the Markdown version of a docs page: add `.md` to any docs URL to get it.", + "Fetch only the index for your platform and its current version: each product index below lists every page of that version. Don't crawl every page; older versions are listed separately and are only for apps still pinned to them." + ], + "startHere": "Home > AI-Driven Development", + "startHereNotes": { + "agent-skills": "In your app's folder, `npx @cometchat/skills add` detects your platform, installs its skills (Claude Code by default; `--ide ` or `--ide all` for others) and connects the CometChat MCP server for the agents that support it (`--no-mcp` to skip)." + }, + "splitProducts": [ + "Home" + ], + "hiddenSections": { + "Home > On-Premise Deployment > Docker": "include", + "Home > On-Premise Deployment > Kubernetes": "include", + "Home > AI-Driven Development": "include", + "Home > Card Builder": "include", + "AI Agents > Custom Bots": "include" + }, + "indexes": { + "Chat & Messaging > Platform": "fundamentals/llms-chat-fundamentals", + "Chat & Messaging > Widget Builder": "widget/llms-widget", + "Chat & Messaging > UI Kits > React": "ui-kit/react/llms-react-v7", + "Chat & Messaging > UI Kits > React Native": "ui-kit/react-native/llms-react-native-v5", + "Chat & Messaging > UI Kits > iOS": "ui-kit/ios/llms-ios-v5", + "Chat & Messaging > UI Kits > Android": "ui-kit/android/llms-android-v6", + "Chat & Messaging > UI Kits > Flutter": "ui-kit/flutter/llms-flutter-v6", + "Chat & Messaging > UI Kits > Angular": "ui-kit/angular/llms-angular-v5", + "Chat & Messaging > UI Kits > Vue": "ui-kit/vue/llms-vue-v4", + "Chat & Messaging > SDKs > JavaScript": "sdk/javascript/llms-javascript-v4", + "Chat & Messaging > SDKs > React Native": "sdk/react-native/llms-react-native-v4", + "Chat & Messaging > SDKs > iOS": "sdk/ios/llms-ios-v4", + "Chat & Messaging > SDKs > Android": "sdk/android/llms-android-v5", + "Chat & Messaging > SDKs > Flutter": "sdk/flutter/llms-flutter-v5", + "Chat & Messaging > APIs": "rest-api/llms-chat-rest", + "Voice & Video Calling": "calls/llms-calls", + "AI Agents": "ai-agents/llms-ai-agents", + "AI Moderation": "moderation/llms-moderation", + "Notifications": "notifications/llms-notifications", + "Campaigns": "campaigns/llms-campaigns" + }, + "extraIndexes": { + "Chat & Messaging > UI Kits > iOS": [ + { + "page": "ui-kit/ios/v6/llms-ios-v6", + "version": "v6", + "label": "beta" + } + ] + }, + "sectionAbout": { + "Chat & Messaging > Platform": "How CometChat works across every product: key concepts, users and authentication, roles, webhooks, extensions, multi-tenancy and data import.", + "Chat & Messaging > Widget Builder": "The no-code Chat Widget: design it in the Widget Builder and embed it with a code snippet in an HTML, WordPress, Shopify, Squarespace, Wix or Webflow site." + }, + "platformTopicsHeading": "Platform essentials", + "platformTopics": [ + "fundamentals/key-concepts", + { + "page": "fundamentals/user-auth", + "label": "Users and authentication" + }, + { + "page": "rest-api/authentication", + "label": "REST API authentication" + }, + "fundamentals/webhooks", + { + "page": "notifications/push-overview", + "label": "Push notifications" + }, + { + "page": "moderation/overview", + "label": "AI Moderation" + }, + { + "page": "rest-api/chat-apis", + "label": "Chat REST API" + }, + "rest-api/rate-limits", + "fundamentals/network-allowlist" + ], + "redirectedNavAllowed": [], + "llmsDescriptionMax": 200, + "pagesFile": "llms-pages.mdx", + "fullCorpus": { + "minBytes": 5000000, + "samples": [ + { + "page": "ui-kit/react/integration-nextjs", + "text": "When prompted, select **App Router** (the default in Next.js 14+)." + }, + { + "page": "calls/ios/setup", + "text": "The property can stay `nil`. The SDK only needs your `AppDelegate` to respond to `window`." + }, + { + "page": "sdk/javascript/send-message", + "text": "files: FileList = (document.getElementById(\"img_file\") as HTMLInputElement).files!;" + }, + { + "page": "rest-api/chat-apis", + "text": "case-insensitive by specification, while JSON properties are case-sensitive." + }, + { + "page": "ai-agents/mastra", + "text": "if (req.method !== 'POST') return res.status(405).json({ error: 'Method not allowed' })" + }, + { + "page": "sdk/android/send-message", + "text": "textMessage.setQuotedMessage(); // Pass base message object here that you want to quote." + } + ] + }, + "optional": [ + "llms-index", + "index" + ] +} diff --git a/sdk/android/llms-android-v5.mdx b/sdk/android/llms-android-v5.mdx index f5df339b1..c4368df09 100644 --- a/sdk/android/llms-android-v5.mdx +++ b/sdk/android/llms-android-v5.mdx @@ -146,7 +146,7 @@ outside the SDK tree: - **Push (Android):** [Push overview](/notifications/push-overview) · [**Android push notifications**](/notifications/android-push-notifications) · [Badge count](/notifications/badge-count) · [Limits](/notifications/constraints-and-limits) · [Notification extensions](/fundamentals/notification-extensions) - **Campaigns:** [Campaigns](/campaigns/campaigns) · [Templates](/campaigns/templates) · [Channels](/campaigns/channels) - **Auth & permissions:** [User auth](/fundamentals/user-auth) · [Roles & permissions](/fundamentals/user-roles-and-permissions) · [Mentions](/fundamentals/mentions) -- **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks-overview) · [Call webhooks](/calls/webhooks) · [Ringing webhooks](/calls/webhooks-ringing) +- **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks) · [Call webhooks](/calls/webhooks) · [Ringing webhooks](/calls/webhooks-ringing) ## Migration & misc - [Upgrading from v4](/sdk/android/upgrading-from-v4) diff --git a/sdk/ios/rate-limits.mdx b/sdk/ios/rate-limits.mdx index 04946dc86..0a6450fce 100644 --- a/sdk/ios/rate-limits.mdx +++ b/sdk/ios/rate-limits.mdx @@ -1,6 +1,6 @@ --- title: "Rate Limits" -description: "Rate Limits — CometChat documentation." +description: "Review CometChat's REST API rate limits for iOS apps, including core and standard operation limits, 429 responses and the headers for monitoring usage." --- diff --git a/sdk/javascript/webhooks.mdx b/sdk/javascript/webhooks.mdx index ae3b4a614..f0581eea9 100644 --- a/sdk/javascript/webhooks.mdx +++ b/sdk/javascript/webhooks.mdx @@ -1,6 +1,6 @@ --- title: "Webhooks" -description: "Webhooks — CometChat documentation." +description: "Set up a webhook endpoint on your server, test it locally with ngrok, and configure it in the Dashboard to receive CometChat events from the JavaScript SDK." --- diff --git a/ui-kit/android/llms-android-v6.mdx b/ui-kit/android/llms-android-v6.mdx index 8f5f7067a..c6cc1eaea 100644 --- a/ui-kit/android/llms-android-v6.mdx +++ b/ui-kit/android/llms-android-v6.mdx @@ -185,7 +185,7 @@ The UI Kit renders nothing for push — it is a dashboard + FCM + service integr ## Campaigns, auth & webhooks - **Campaigns / announcements:** [Campaigns](/campaigns/campaigns) · [Templates](/campaigns/templates) · [Channels](/campaigns/channels) - **Auth & permissions:** [User auth](/fundamentals/user-auth) · [Roles & permissions](/fundamentals/user-roles-and-permissions) · [Mentions](/fundamentals/mentions) -- **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks-overview) · [Call webhooks](/calls/webhooks) · [Ringing webhooks](/calls/webhooks-ringing) +- **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks) · [Call webhooks](/calls/webhooks) · [Ringing webhooks](/calls/webhooks-ringing) ## Migration & misc - [Upgrading from v5 to v6](/ui-kit/android/upgrading-from-v5) diff --git a/ui-kit/ios/v6/llms-ios-v6.mdx b/ui-kit/ios/v6/llms-ios-v6.mdx index 94bb7df5e..8e6283fff 100644 --- a/ui-kit/ios/v6/llms-ios-v6.mdx +++ b/ui-kit/ios/v6/llms-ios-v6.mdx @@ -163,7 +163,7 @@ The UI Kit renders nothing for push — it is a dashboard + APNs integration. ## Campaigns, auth & webhooks - **Auth & permissions:** [User auth](/fundamentals/user-auth) · [Roles & permissions](/fundamentals/user-roles-and-permissions) · [Mentions](/fundamentals/mentions) -- **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks-overview) · [Call webhooks](/calls/webhooks) +- **Server-side hooks:** [Webhooks overview](/fundamentals/webhooks) · [Call webhooks](/calls/webhooks) ## Migration & misc - [Upgrading from v5 to v6](/ui-kit/ios/v6/migrating-from-v5) diff --git a/ui-kit/react-native/llms-react-native-v5.mdx b/ui-kit/react-native/llms-react-native-v5.mdx index 81cb4444f..3b3218fde 100644 --- a/ui-kit/react-native/llms-react-native-v5.mdx +++ b/ui-kit/react-native/llms-react-native-v5.mdx @@ -173,7 +173,7 @@ the page, because the intent ("add a custom message type") does not match any pa ## Migration & misc - [Upgrading from v4 to v5](/ui-kit/react-native/upgrading-from-v4) -- [v4 → v5 Property Changes](/ui-kit/react-native/property-changes) +- [v4 → v5 Property Changes](/ui-kit/react-native/upgrading-from-v4) - [Campaigns](/ui-kit/react-native/campaigns) - [Changelog](/ui-kit/react-native/link/changelog) - [Sample App](/ui-kit/react-native/link/sample) diff --git a/ui-kit/vue/ai-assist-bot.mdx b/ui-kit/vue/ai-assist-bot.mdx index e8d947799..63cd1bce1 100644 --- a/ui-kit/vue/ai-assist-bot.mdx +++ b/ui-kit/vue/ai-assist-bot.mdx @@ -1,6 +1,6 @@ --- title: "AI Assist Bot" -description: "AI Assist Bot — CometChat documentation." +description: "Use the Vue UI Kit AI Assist Bot to ask a question to a bot in a conversation; it works once you create and enable an AI bot in the Dashboard." --- `AI Assist Bot` is a class which can be used to ask a question to a bot in a given conversation. diff --git a/ui-kit/vue/ai-conversation-starter.mdx b/ui-kit/vue/ai-conversation-starter.mdx index a1645a44e..954654c1b 100644 --- a/ui-kit/vue/ai-conversation-starter.mdx +++ b/ui-kit/vue/ai-conversation-starter.mdx @@ -1,6 +1,6 @@ --- title: "AI Conversation Starter" -description: "AI Conversation Starter — CometChat documentation." +description: "Use the Vue UI Kit AI Conversation Starter, which fetches AI-generated opening messages for a new chat and is configurable once enabled in the Dashboard." --- Configure Conversation Starter with this class. diff --git a/ui-kit/vue/ai-conversation-summary.mdx b/ui-kit/vue/ai-conversation-summary.mdx index 88549b22a..55e5fc9ef 100644 --- a/ui-kit/vue/ai-conversation-summary.mdx +++ b/ui-kit/vue/ai-conversation-summary.mdx @@ -1,6 +1,6 @@ --- title: "AI Conversation Summary" -description: "AI Conversation Summary — CometChat documentation." +description: "Use the Vue UI Kit AI Conversation Summary, which generates a summary of a conversation and is configurable once enabled in the Dashboard." --- AI Conversation Summary is a class which generates a summary of a given conversation. diff --git a/ui-kit/vue/ai-integration.mdx b/ui-kit/vue/ai-integration.mdx index d32aa8ecc..95743ae7a 100644 --- a/ui-kit/vue/ai-integration.mdx +++ b/ui-kit/vue/ai-integration.mdx @@ -1,6 +1,6 @@ --- title: "Integration" -description: "Integration — CometChat documentation." +description: "Enable specific AI features such as Smart Replies, or disable them all, in the Vue UI Kit by passing an AIEnabler to UIKitSettings before init." --- By default, SmartReplies and ConversationStarter will be enabled if they are enabled from the dashboard as well. diff --git a/ui-kit/vue/ai-smart-replies.mdx b/ui-kit/vue/ai-smart-replies.mdx index 75b290982..2fa6fe4dd 100644 --- a/ui-kit/vue/ai-smart-replies.mdx +++ b/ui-kit/vue/ai-smart-replies.mdx @@ -1,6 +1,6 @@ --- title: "AI Smart Replies" -description: "AI Smart Replies — CometChat documentation." +description: "Use the Vue UI Kit AI Smart Replies, which fetches AI-generated replies to a message and is configurable once enabled in the Dashboard." --- `AI Smart Replies` is a class which fetches a list of replies generated using AI for replying to a message in a conversation. diff --git a/ui-kit/vue/call-buttons.mdx b/ui-kit/vue/call-buttons.mdx index ca4fcef5e..716a368d2 100644 --- a/ui-kit/vue/call-buttons.mdx +++ b/ui-kit/vue/call-buttons.mdx @@ -1,6 +1,6 @@ --- title: "Call Buttons" -description: "Call Buttons — CometChat documentation." +description: "Use the Vue UI Kit Call Buttons component to add voice and video call buttons that place a call to a user or group." --- This component provides users with the ability to make calls, access call-related functionalities, and control call settings. Clicking this button typically triggers the call to be placed to the desired recipient. diff --git a/ui-kit/vue/calls-integration.mdx b/ui-kit/vue/calls-integration.mdx index 170bec647..127c80b75 100644 --- a/ui-kit/vue/calls-integration.mdx +++ b/ui-kit/vue/calls-integration.mdx @@ -1,6 +1,6 @@ --- title: "Integration" -description: "Integration — CometChat documentation." +description: "Add voice and video calling to a Vue UI Kit app by getting your app ID and region, adding the calling SDK files, and launching the component." --- ## Integration diff --git a/ui-kit/vue/contacts.mdx b/ui-kit/vue/contacts.mdx index 9041449c2..1ef053e76 100644 --- a/ui-kit/vue/contacts.mdx +++ b/ui-kit/vue/contacts.mdx @@ -1,6 +1,6 @@ --- title: "Contacts" -description: "Contacts — CometChat documentation." +description: "Use the Vue UI Kit Contacts component to show users and groups in tabs with search and selection mode, and customise its tab layout and appearance." --- CometChatContacts is a standalone UI component specifically designed to facilitate the display and management of users and groups within chat applications. It streamlines the process of showcasing all app users and available chat groups in a user-friendly interface, making it easier for users to connect and communicate effectively. diff --git a/ui-kit/vue/conversations-with-messages.mdx b/ui-kit/vue/conversations-with-messages.mdx index adecde89d..7d1a03a64 100644 --- a/ui-kit/vue/conversations-with-messages.mdx +++ b/ui-kit/vue/conversations-with-messages.mdx @@ -1,6 +1,6 @@ --- title: "Conversations With Messages" -description: "Conversations With Messages — CometChat documentation." +description: "Add the Vue UI Kit Conversations With Messages component, which pairs the recent conversations list with the messages view for 1:1 and group chats." --- This component is responsible for displaying the recent conversation between participants in a 1:1 or group chat. It also allows users to send text, images, videos, or other media as messages to communicate with one another in real-time. diff --git a/ui-kit/vue/conversations.mdx b/ui-kit/vue/conversations.mdx index b235239a1..989f37d76 100644 --- a/ui-kit/vue/conversations.mdx +++ b/ui-kit/vue/conversations.mdx @@ -1,6 +1,6 @@ --- title: "Conversations" -description: "Conversations — CometChat documentation." +description: "Use the Vue UI Kit Conversations component to list recent chats with users and groups, and set its properties so users can quickly resume a conversation." --- This component lists the most recent or latest conversations or contacts with whom you have exchanged messages. It provides a convenient way to quickly access and resume conversations with the people you have been in contact with recently. diff --git a/ui-kit/vue/group-add-members.mdx b/ui-kit/vue/group-add-members.mdx index cabe6a281..5075265b4 100644 --- a/ui-kit/vue/group-add-members.mdx +++ b/ui-kit/vue/group-add-members.mdx @@ -1,6 +1,6 @@ --- title: "Add Members" -description: "Add Members — CometChat documentation." +description: "Use the Vue UI Kit Add Members component so group admins or owners can search for users, select them and add them to a group." --- This component allows administrators or group owners to add new members to a specific group. It enables administrators or group owners to extend the membership of a group by adding new users to participate in the group's discussions and activities. By utilising this feature, administrators can manage group membership, and control access to group content. diff --git a/ui-kit/vue/group-banned-members.mdx b/ui-kit/vue/group-banned-members.mdx index 3e48e7d39..d57a3a8f5 100644 --- a/ui-kit/vue/group-banned-members.mdx +++ b/ui-kit/vue/group-banned-members.mdx @@ -1,6 +1,6 @@ --- title: "Banned Members" -description: "Banned Members — CometChat documentation." +description: "Use the Vue UI Kit Banned Members component to list users who are barred from a group, so admins and owners can review and manage the bans." --- This component lists all the users who have been restricted or prohibited from participating in specific groups or conversations. When the user is banned, they are no longer able to access or engage with the content and discussions within the banned group. diff --git a/ui-kit/vue/group-details.mdx b/ui-kit/vue/group-details.mdx index 6a3b30447..3d5174933 100644 --- a/ui-kit/vue/group-details.mdx +++ b/ui-kit/vue/group-details.mdx @@ -1,6 +1,6 @@ --- title: "Group Details" -description: "Group Details — CometChat documentation." +description: "Show a group's information and settings with the Vue UI Kit Details component, including managing participants and leaving or deleting the group." --- `CometChatDetails` is a component that provides additional information and settings related to a specific group. diff --git a/ui-kit/vue/group-members.mdx b/ui-kit/vue/group-members.mdx index 9f8fe8205..a2a5aa09d 100644 --- a/ui-kit/vue/group-members.mdx +++ b/ui-kit/vue/group-members.mdx @@ -1,6 +1,6 @@ --- title: "Group Members" -description: "Group Members — CometChat documentation." +description: "Use the Vue UI Kit Group Members component to list the users in a group with their roles, and let admins and owners manage membership." --- This component lists all the users who have been added or invited to participate in a particular group and have access to its discussions, shared content, and collaboration features. diff --git a/ui-kit/vue/group-transfer-ownership.mdx b/ui-kit/vue/group-transfer-ownership.mdx index e734f8c8c..2187f12ca 100644 --- a/ui-kit/vue/group-transfer-ownership.mdx +++ b/ui-kit/vue/group-transfer-ownership.mdx @@ -1,6 +1,6 @@ --- title: "Transfer Ownership" -description: "Transfer Ownership — CometChat documentation." +description: "Use the Vue UI Kit Transfer Ownership component so a group's owner can hand ownership and administrative control to another group member." --- This component allows the current owner or administrator of a group to transfer the ownership rights and administrative control of that group to another user. By transferring ownership, the original owner can designate a new user as the group owner, giving them full control and administrative privileges over the group. diff --git a/ui-kit/vue/groups-with-messages.mdx b/ui-kit/vue/groups-with-messages.mdx index 8e5703e4b..ff16db6fe 100644 --- a/ui-kit/vue/groups-with-messages.mdx +++ b/ui-kit/vue/groups-with-messages.mdx @@ -1,6 +1,6 @@ --- title: "Groups With Messages" -description: "Groups With Messages — CometChat documentation." +description: "Add the Vue UI Kit Groups With Messages component, which pairs the list of groups with the messages view so members can chat within a group." --- This component is responsible for listing all the groups created on CometChat. It also allows group members to send text, images, videos, or other media as messages to communicate with one another in real-time. diff --git a/ui-kit/vue/groups.mdx b/ui-kit/vue/groups.mdx index 383864f4a..906db816b 100644 --- a/ui-kit/vue/groups.mdx +++ b/ui-kit/vue/groups.mdx @@ -1,6 +1,6 @@ --- title: "Groups" -description: "Groups — CometChat documentation." +description: "Use the Vue UI Kit Groups component to list all groups created on CometChat with search, and set its properties to let users find and open a group." --- This component lists all the groups created on CometChat and also allows users to search for groups. It enables users to find and locate specific groups based on various search criteria or parameters. diff --git a/ui-kit/vue/incoming-call.mdx b/ui-kit/vue/incoming-call.mdx index 252c11bf9..ac7d450d9 100644 --- a/ui-kit/vue/incoming-call.mdx +++ b/ui-kit/vue/incoming-call.mdx @@ -1,6 +1,6 @@ --- title: "Incoming Call" -description: "Incoming Call — CometChat documentation." +description: "Use the Vue UI Kit Incoming Call component to show a voice or video call received by the user, with options to accept or decline it." --- The incoming call component is displayed when the user receives an incoming call, such as a voice call, video call. It serves as a visual representation of an incoming call and provides options for the user to answer or decline the call. diff --git a/ui-kit/vue/message-bubble.mdx b/ui-kit/vue/message-bubble.mdx index cb8f30091..4f2d1d431 100644 --- a/ui-kit/vue/message-bubble.mdx +++ b/ui-kit/vue/message-bubble.mdx @@ -1,6 +1,6 @@ --- title: "Message Bubble" -description: "Message Bubble — CometChat documentation." +description: "Use the Vue UI Kit Message Bubble component to display each message in a conversation, with its content, sender details and delivery or read status." --- This component is used to visually represent individual messages and display them in a conversation-like format. diff --git a/ui-kit/vue/message-composer.mdx b/ui-kit/vue/message-composer.mdx index e3abc2f7c..2ab0f3de8 100644 --- a/ui-kit/vue/message-composer.mdx +++ b/ui-kit/vue/message-composer.mdx @@ -1,6 +1,6 @@ --- title: "Message Composer" -description: "Message Composer — CometChat documentation." +description: "Use the Vue UI Kit Message Composer component to let users type and send text, attach files and media, record voice messages and send live reactions." --- This component allows users to compose and send messages. It provides a text input area or field where users can enter their messages or responses before sending them to other participants in the conversation. diff --git a/ui-kit/vue/message-header.mdx b/ui-kit/vue/message-header.mdx index ed54b39cb..7ebd0cdb7 100644 --- a/ui-kit/vue/message-header.mdx +++ b/ui-kit/vue/message-header.mdx @@ -1,6 +1,6 @@ --- title: "Message Header" -description: "Message Header — CometChat documentation." +description: "Use the Vue UI Kit Message Header component to show the chat's user or group name, avatar, online status and typing indicator, plus action buttons." --- This component contains relevant information relevant to the chat conversation. diff --git a/ui-kit/vue/message-information.mdx b/ui-kit/vue/message-information.mdx index 1bcea0b30..3d6e199bb 100644 --- a/ui-kit/vue/message-information.mdx +++ b/ui-kit/vue/message-information.mdx @@ -1,6 +1,6 @@ --- title: "Message Information" -description: "Message Information — CometChat documentation." +description: "Use the Vue UI Kit Message Information component to show a message's content along with its recipients and delivery and read receipts." --- CometChatMessageInformation is a standalone component that displays comprehensive information about the message receipts. This will enable users to easily access details such as the message content, recipient and delivery receipt information for a more informed communication experience. diff --git a/ui-kit/vue/message-list.mdx b/ui-kit/vue/message-list.mdx index dfd753218..4cb2233c1 100644 --- a/ui-kit/vue/message-list.mdx +++ b/ui-kit/vue/message-list.mdx @@ -1,6 +1,6 @@ --- title: "Message List" -description: "Message List — CometChat documentation." +description: "Use the Vue UI Kit Message List component to display a conversation's messages in order, with infinite scroll, formatting and actions like reactions and edit." --- This is a fundamental component of the chat interface that displays a list of chat messages exchanged between participants in a conversation. It serves as a chronological log of the conversation, presenting messages in the order they were sent. diff --git a/ui-kit/vue/messages.mdx b/ui-kit/vue/messages.mdx index 209623506..f937840ca 100644 --- a/ui-kit/vue/messages.mdx +++ b/ui-kit/vue/messages.mdx @@ -1,6 +1,6 @@ --- title: "Messages" -description: "Messages — CometChat documentation." +description: "Use the Vue UI Kit Messages component to build the full chat view for a 1:1 or group conversation from the message header, list and composer." --- This component is responsible for displaying the conversation between participants in a 1:1 or group chat. diff --git a/ui-kit/vue/ongoing-call.mdx b/ui-kit/vue/ongoing-call.mdx index 3dd030011..f47f6edc3 100644 --- a/ui-kit/vue/ongoing-call.mdx +++ b/ui-kit/vue/ongoing-call.mdx @@ -1,6 +1,6 @@ --- title: "Ongoing Call" -description: "Ongoing Call — CometChat documentation." +description: "Use the Vue UI Kit Ongoing Call component to show the call screen during a voice or video call, with video streams and call controls." --- This component is displayed during an ongoing voice or video call. This provides a dedicated screen or interface where users can engage in real-time conversation, view video streams, access call controls, and interact with various call-related features. diff --git a/ui-kit/vue/outgoing-call.mdx b/ui-kit/vue/outgoing-call.mdx index 610861e76..e2a58ebcf 100644 --- a/ui-kit/vue/outgoing-call.mdx +++ b/ui-kit/vue/outgoing-call.mdx @@ -1,6 +1,6 @@ --- title: "Outgoing Call" -description: "Outgoing Call — CometChat documentation." +description: "Use the Vue UI Kit Outgoing Call component to show the call a user has started, with the recipient's details, call status and a button to cancel." --- ## Overview diff --git a/ui-kit/vue/tabs.mdx b/ui-kit/vue/tabs.mdx index ea8f4788a..73c408e87 100644 --- a/ui-kit/vue/tabs.mdx +++ b/ui-kit/vue/tabs.mdx @@ -1,6 +1,6 @@ --- title: "Tabs" -description: "Tabs — CometChat documentation." +description: "Use the Vue UI Kit Tabs component to organise content into tab headers so users can switch between sections and customise the tabs' look." --- This component allows for the organisation and presentation of content or functionality into separate tabs or sections. It provides a way for users to switch between different tabs to access distinct sets of information or perform specific actions. diff --git a/ui-kit/vue/theme.mdx b/ui-kit/vue/theme.mdx index 1f5fbd2ee..3b1a459dc 100644 --- a/ui-kit/vue/theme.mdx +++ b/ui-kit/vue/theme.mdx @@ -1,6 +1,6 @@ --- title: "Theme" -description: "Theme — CometChat documentation." +description: "Customise the look and feel of the Vue UI Kit by providing a Theme object to your app, so the components match your application's branding." --- Theme class provides endless number of customisations to improve or transform the look and feel of the UI Kit as per your application need. [Learn more](/web-shared/theme). diff --git a/ui-kit/vue/threaded-messages.mdx b/ui-kit/vue/threaded-messages.mdx index a766fa3b5..c1a66998d 100644 --- a/ui-kit/vue/threaded-messages.mdx +++ b/ui-kit/vue/threaded-messages.mdx @@ -1,6 +1,6 @@ --- title: "Threaded Messages" -description: "Threaded Messages — CometChat documentation." +description: "Use the Vue UI Kit Threaded Messages component so users can reply to a parent message and keep related discussion in a separate thread." --- This component allows users to organise and group related messages into separate conversations within a larger conversation. It provides a way to maintain context, focus, and clarity when multiple discussions or topics are happening simultaneously within a chat. diff --git a/ui-kit/vue/ui-kit-methods.mdx b/ui-kit/vue/ui-kit-methods.mdx index 1999cb716..98a4a29a6 100644 --- a/ui-kit/vue/ui-kit-methods.mdx +++ b/ui-kit/vue/ui-kit-methods.mdx @@ -1,6 +1,6 @@ --- title: "CometChat UI Kit" -description: "CometChat UI Kit — CometChat documentation." +description: "Use the Vue UI Kit's CometChatUIKit class to initialise the SDK, log users in and out, create or update users, and send text, media, custom and form messages." --- `CometChatUIKit` is a class that contains all necessary methods to help initialise the [CometChat SDK](/sdk/javascript/overview) with valid credentials for the UI Kit to utilise. diff --git a/ui-kit/vue/user-details.mdx b/ui-kit/vue/user-details.mdx index a242b5356..0dca06157 100644 --- a/ui-kit/vue/user-details.mdx +++ b/ui-kit/vue/user-details.mdx @@ -1,6 +1,6 @@ --- title: "User Details" -description: "User Details — CometChat documentation." +description: "Show a user's profile and settings with the Vue UI Kit Details component, including their picture, name and status, plus actions to block or unblock them." --- `CometChatDetails` is a component that provides additional information and settings related to a specific user. diff --git a/ui-kit/vue/user-member-wrapper.mdx b/ui-kit/vue/user-member-wrapper.mdx index f128f9914..e2783ea0a 100644 --- a/ui-kit/vue/user-member-wrapper.mdx +++ b/ui-kit/vue/user-member-wrapper.mdx @@ -1,6 +1,6 @@ --- title: "User Member Wrapper" -description: "User Member Wrapper — CometChat documentation." +description: "Use the Vue UI Kit User Member Wrapper, which combines users and group members lists to show suggestions inside the Message Composer." --- The CometChatUserMemberWrapper is a UI component that combines the features of CometChatUsers and CometChatGroupMemberWrapper. It's designed to work behind the scenes in the CometChatMessageComposer to show a simple and smart list of suggestions when users want to mention others in their messages. This makes it easier for users to engage with each other and manage group conversations in a smooth and convenient way. diff --git a/ui-kit/vue/users-with-messages.mdx b/ui-kit/vue/users-with-messages.mdx index eb96c2ff4..8fe76b644 100644 --- a/ui-kit/vue/users-with-messages.mdx +++ b/ui-kit/vue/users-with-messages.mdx @@ -1,6 +1,6 @@ --- title: "Users With Messages" -description: "Users With Messages — CometChat documentation." +description: "Add the Vue UI Kit Users With Messages component, which pairs the list of all users with the messages view so people can start one-on-one chats." --- This component is responsible for listing all the users registered on CometChat. It also allows users to send text, images, videos, or other media as messages to communicate with one another in real-time. diff --git a/ui-kit/vue/users.mdx b/ui-kit/vue/users.mdx index 12b032c7c..3b1c3e57e 100644 --- a/ui-kit/vue/users.mdx +++ b/ui-kit/vue/users.mdx @@ -1,6 +1,6 @@ --- title: "Users" -description: "Users — CometChat documentation." +description: "Use the Vue UI Kit Users component to list all registered CometChat users with search and online status, and configure its properties to fit your app." --- This component lists all the users registered on CometChat and also allows users to search for other users. It enables users to find and locate specific individuals based on various search criteria or parameters. Online users are represented with a green colored dot.