> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-skills-v5-temp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS Chat SDK v4 — LLM docs index

> 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.

# iOS Chat SDK v4 — LLM docs index (Latest)

> Headless Swift chat SDK. Package `CometChatSDK@4`. This page is an **iOS-SDK-v4-only** routing
> index for AI agents — a scoped alternative to the site-wide `/docs/llms.txt`.

## How to use this index

Each link points to the docs page; **append `.md`** to its URL to fetch the clean Markdown twin.
Each page opens with an **"AI Integration Quick Reference"** block (package · import · key
methods) — read that FIRST, then the body for the full call.

* Convention: any docs page URL + `.md` → raw Markdown.
* Fallback: if a `.md` twin 404s, fetch the same URL **without** `.md` (HTML).
* Never answer a method signature from memory, and never read the framework binary's
  `.swiftinterface` to decide *behaviour* — it proves a symbol exists, nothing more.

## When to use this index

Two cases:

1. **Headless app** — no CometChat UI, you are building your own views on the SDK.
2. **UI Kit fallback** — the app uses the iOS UI Kit v5, but the feature you need ships **no UI
   Kit component** (AI agents, campaigns, moderation, adding group members, transient messages,
   low-level presence, webhooks). Check the kit first
   ([iOS UI Kit v5 index](/ui-kit/ios/llms-ios-v5)); if there is no component, come here.

## API facts an agent must not guess

* Callbacks use `.success` / `.onError` — **not** Swift's `Result.failure`.
* `CometChatException` does **not** conform to Swift's `Error`; read `errorDescription`, not
  `localizedDescription`, and downcast with `error as? CometChatException`.
* Request objects use the **builder** pattern (`MessagesRequest.MessagesRequestBuilder`), and
  listeners are registered per-class with a unique identifier you must later remove.
* In SwiftUI hosts, qualify SDK types (`CometChatSDK.User`, `CometChatSDK.Group`) — SwiftUI
  declares its own `Group`.

## Getting started

* [iOS SDK](/sdk/ios/overview)
* [Setup](/sdk/ios/setup)
* [Key Concepts](/sdk/ios/key-concepts)
* [Authentication](/sdk/ios/authentication-overview)
* [Changelog](/sdk/ios/changelog)
* [Upgrading From V3](/sdk/ios/upgrading-from-v3-to-v4)
* [Rate Limits](/sdk/ios/rate-limits)

## Messaging

* [Send Messages](/sdk/ios/send-message)
* [Receive Messages](/sdk/ios/receive-message)
* [Edit Message](/sdk/ios/edit-message)
* [Delete Message](/sdk/ios/delete-message)
* [Flag Message](/sdk/ios/flag-message)
* [Message Filtering](/sdk/ios/additional-message-filtering)
* [Message Structure And Hierarchy](/sdk/ios/message-structure-and-hierarchy)
* [Threaded Messages](/sdk/ios/threaded-messages)
* [Transient Messages](/sdk/ios/transient-messages)
* [Upload Files & Send Attachments](/sdk/ios/upload-files)
* [Reactions](/sdk/ios/reactions)
* [Mentions](/sdk/ios/mentions)
* [Delivery & Read Receipts](/sdk/ios/delivery-read-receipts)
* [Typing Indicators](/sdk/ios/typing-indicators)

## Conversations

* [Retrieve Conversations](/sdk/ios/retrieve-conversations)
* [Delete Conversation](/sdk/ios/delete-conversation)

## Users

* [Users](/sdk/ios/users-overview)
* [User Management](/sdk/ios/user-management)
* [Retrieve Users](/sdk/ios/retrieve-users)
* [User Presence](/sdk/ios/user-presence)
* [Block Users](/sdk/ios/block-users)

## Groups

* [Groups](/sdk/ios/groups-overview)
* [Create A Group](/sdk/ios/create-group)
* [Update A Group](/sdk/ios/update-group)
* [Delete A Group](/sdk/ios/delete-group)
* [Join A Group](/sdk/ios/join-group)
* [Leave A Group](/sdk/ios/leave-group)
* [Retrieve Groups](/sdk/ios/retrieve-groups)
* [Retrieve Group Members](/sdk/ios/retrieve-group-members)
* [Add Members To A Group](/sdk/ios/group-add-members)
* [Kick Member From A Group](/sdk/ios/group-kick-member)
* [Change Member Scope](/sdk/ios/group-change-member-scope)
* [Transfer Group Ownership](/sdk/ios/transfer-group-ownership)

## Calling

* [Calling](/sdk/ios/calling-overview)

## AI

* [AI](/sdk/ios/ai-user-copilot-overview)
* [AI Agents](/sdk/ios/ai-agents)
* [Bots](/sdk/ios/ai-chatbots-overview)
* [AI Moderation](/sdk/ios/ai-moderation)

## Real-time, connection, and lifecycle

* [All Real Time Delegates (Listeners)](/sdk/ios/all-real-time-delegates-listeners)
* [Connection Status](/sdk/ios/connection-status)
* [Connection Behaviour](/sdk/ios/web-socket-connection-behaviour)
* [Managing Web Socket Connections Manually](/sdk/ios/managing-web-socket-connections-manually)

## Push notifications

* [Prepare Your App For Background Updates](/sdk/ios/prepare-your-app-for-background-updates)
* [Launch Chat Window On Tap Of Push Notification](/sdk/ios/launch-chat-window-on-tap-of-push-notification)
* [Launch Call Screen On Tap Of Push Notification](/sdk/ios/launch-call-screen-on-tap-of-push-notification)
* [Marking Delivered From Push Notification](/sdk/ios/marking-delivered-with-push-notification)
* [Increment App Icon Badge Count](/sdk/ios/increment-app-icon-badge-count)
* [Remove Delivered Notifications](/sdk/ios/remove-delivered-notifications)

## Platform extras

* [Extensions](/sdk/ios/extensions-overview)
* [Campaigns](/sdk/ios/campaigns)
* [Webhooks](/sdk/ios/webhooks-overview)
* [Publishing App On App Store](/sdk/ios/publishing-app-on-appstore)
