Scrollable list of the logged-in user’s one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.
CometChatConversations displays a list of all conversations (one-on-one and group chats)
for the currently logged-in user. It shows the last message, unread count, typing
indicators and user presence, and updates in real time.
Where It Fits
CometChatConversations is the entry screen of a chat experience: the list a user lands
on, from which they open a conversation.
CometChatConversations ← you are here │ onItemClick(conversation) ▼ your message screen
Both toolkits read from the same store, so the SwiftUI and UIKit lists can never disagree
about what to show.
Quick Start
SwiftUI
UIKit
import CometChatSwiftUIstruct ChatsScreen: View { var body: some View { CometChatConversations( onItemClick: { conversation in openChat(conversation) } ) }}
That is a working list: it fetches the first page, paginates as you scroll, and updates
live as messages arrive. onItemClick hands you a CometChatSDK.Conversation.The list draws a system large-title navigation bar, so it brings its own NavigationStack.
If your screen already has one, pass embedsNavigationStack: false.Set-up: Getting Started.
That is a working list: it fetches the first page, paginates as you scroll, and updates
live as messages arrive.CometChatConversations inherits from CometChatListBase, which supplies the navigation
bar, search bar, and the loading, empty and error states. Anything on CometChatListBase
is available here too.Set-up: Getting Started.
The builder closure is called fresh for every fetch, so return a new builder each
time rather than capturing one instance. Reusing one instance across pages produces
undefined paging behaviour.
Filter Recipes
Goal
Builder
Groups only
.setConversationType(conversationType: .group)
One-on-one only
.setConversationType(conversationType: .user)
Larger pages
.set(limit: 50)
Unread only
.set(unread: true)
Include blocked users
.include(blockedUsers: true)
Actions and Events
Callback Methods
SwiftUI
UIKit
Prop
Signature
onItemClick
(Conversation) -> Void
onItemLongClick
(Conversation) -> Void
onSelection
(Set<String>) -> Void
onOptionSelected
(Conversation, MenuOption) -> Void
onSearchClick
() -> Void
onBack
() -> Void
onLoad
([Conversation]) -> Void
onEmpty
() -> Void
onError
(CometChatError) -> Void
Set on the instance, fluently. These take precedence over the delegate.
Setter
Signature
set(onItemClick:)
(Conversation, IndexPath) -> Void
set(onItemLongClick:)
(Conversation, IndexPath) -> Void
set(onSelection:)
([Conversation]) -> Void
set(onSearchClick:)
() -> Void
set(onError:)
(CometChatException) -> Void
set(onBack:)
() -> Void
set(onLoad:)
([Conversation]) -> Void
set(onEmpty:)
() -> Void
conversations.set(onItemClick: { conversation, _ in openChat(conversation) })
CometChatConversationsDelegate is the alternative to closures, and the idiomatic
choice for a coordinator. Every method is optional.
onItemLongClick fires only when no context menu is configured. iOS gives the
long-press gesture to the context menu, so the two are mutually exclusive. In selection
mode it does not fire.
Global Events
The list listens on the Kit event bus, whoever emits the events.
SwiftUI
UIKit
A .conversationDeleted event removes the row and a .conversationUpdated event merges it.
Subscribe from any view:
.onCometChatConversationDeleted { conversation in print("deleted", conversation.conversationId ?? "") }
ccConversationDeleted removes the row and ccUpdateConversation merges it. Listen from
anywhere with CometChatConversationEvents.addListener(_:_:) and a
CometChatConversationEventListener. See Events.
SDK Events (Real-Time, Automatic)
No wiring required — the store listens and the list updates itself.
Event
Effect
Message received
conversation moves to top, unread count increments
Message read
receipt updates
Typing started / ended
subtitle shows the typing indicator
User online / offline
presence dot updates
Message edited / deleted
last-message line updates
Connection lost / restored
connection notice appears, then a refresh
Navigation and Search
SwiftUI
UIKit
The screen draws a system large-title navigation bar — “Chats”, with the search field in
the bar under the large title. That gives you Liquid Glass on iOS 26 and an opaque bar below
it. The field is the bar’s own, so it stays on screen while the list scrolls, and rows
passing under it fade into the bar. The screen supplies its own NavigationStack so it works
on its own; pass embedsNavigationStack: false if you already have one.
The controller sets up large titles on the host’s UINavigationController and the search
field in navigationItem.searchController. Push it onto a navigation controller — on its own
it has no bar to draw into. Leaving navigationBarTintColor unset is deliberate: the bar is
then the system’s, which means Liquid Glass on iOS 26 and an opaque bar below it.Pulling the list down reloads its first page; the rows stay on screen until it lands.
The search field is a button. Touching it calls onSearchClick and nothing else — the
list does not filter itself. The field opens a search screen: wire onSearchClick to yours.
Pin and unpin appear in the swipe actions and in the long-press menu. Pinning happens at
once; unpinning asks first. A pinned row stays above the rest and keeps its place when new
messages arrive elsewhere.The affordance is hidden when the app does not have the pin feature enabled server-side, or
when an administrator pinned the row — the server refuses to let a user unpin that one, so
offering it would only produce an error. Delete is hidden on that row as well, for the same
reason: the row is the administrator’s, and it comes back pinned whatever the user deletes.
SwiftUI
UIKit
hidePinOption hides the Pin / Unpin affordance, and hideDeleteOption hides Delete from
the swipe actions and the long-press menu.
hidePinConversationOption and enablePinConversation hide the pin affordance, and
hideDeleteConversationOption hides Delete. enablePinConversation is on by default; set it
to false to turn pinning off. Deleting asks first, and a full swipe does not delete — you
have to tap. Override isDeleteOptionShown(for:) to change the rule for the administrator’s
row.
dateFormat formats the timestamp on each row and takes precedence over
dateTimeFormatter. hideSeparator is true by default: pass false to draw the separator
and separatorColor / separatorHeight to style it.cometChatConversationsHidden(_:) takes an option set and unions with the hide*
arguments — neither cancels the other.
hideBackButton hides the back button in the navigation bar, hideReceipts hides delivery
and read receipts on each row, hideUserStatus hides the online presence indicator and
hideGroupType hides the group-type icon. customSoundForMessages is a sound file played on
incoming messages. hideSeparator is true by default: set it to false to draw the
separator.
Custom View Slots
SwiftUI
UIKit
Every slot is available two ways: as an initialiser argument, and as a modifier that
cascades to every CometChatConversations below it in the hierarchy.
Supply both and the initialiser argument wins. Full order: initialiser argument,
then modifier, then theme, then the Kit default. This is the usual answer to “why
didn’t my change apply?”.
For comparison, the list with no overrides at all:
itemView replaces the entire row. It receives the conversation and whether it is
selected.
Setting a custom state view after the view has loaded requires renderCurrentState() —
otherwise the state was already rendered with the previous view and your replacement stays
hidden.Replacing the cell. For full control over layout and reuse, supply your own cell class
instead of slots.
Subclass CometChatConversationListItem and override its one configure — the method the list
calls for every row — to keep the built-in row and change part of it:
Clear custom subviews and cancel in-flight image loads in prepareForReuse(), or the
wrong content appears on the next row during fast scrolling. The built-in cell does
this; a subclass must too.
Menu Options
Give the list options and each row shows them twice: as trailing swipe actions and as a
long-press menu. optionsreplaces the built-in options; addOptionsappends to
them. Reach for addOptions unless you want the defaults gone. The two built-ins are Delete
and Pin / Unpin.
A context menu claims the long-press gesture, so onItemLongClick fires only when no menu is
configured. Use onOptionSelected to react to a menu choice.
set(options:) and set(addOptions:) take [CometChatConversationOption].
conversations.set(addOptions: { conversation, indexPath in [CometChatConversationOption(id: "archive", title: "Archive", icon: UIImage(systemName: "archivebox")) { conversation, _ in archive(conversation) }]})
The UIKit list shows its selection controls in the navigation bar. To act on the selection,
use set(onSelection:) — see Selection under Advanced Methods.
let vc = CometChatConversations( conversationsStore: .init(seeded: .populated(entries, hasMore: false)))
Date Time Formatter
Row timestamps use a relative format by default — “now”, “12:04”, “Yesterday”, “9 Oct 25”.
SwiftUI
UIKit
There are two ways to change it. dateFormat replaces it wholesale and wins over everything
else:
let formatter = DateFormatter()formatter.dateFormat = "HH:mm"CometChatConversations(dateFormat: formatter)
dateTimeFormatter changes one bucket at a time — today’s time, “Yesterday”, the weekday
inside a week, a date beyond it. Implement only the methods you care about; the rest fall
back to the default:
Replace it wholesale with datePattern. dateFormat (a DateFormatter) wins over
datePattern when both are set.
conversations.set(datePattern: { conversation in myFormatter.string(from: conversation.updatedAt)})
Mention Configuration
A row’s last-message line runs the text-formatter chain, as the message list does. The
default is one CometChatMentionsFormatter, so <@uid:…> reads as @Name (from the
message’s mentionedUsers) and <@all:…> as @all. A mention of someone else draws in the
theme’s primary colour, a mention of you or of everyone in its warning colour.
SwiftUI
UIKit
style.mentionTextColor and style.mentionBackgroundColor restyle the first.
textFormattersreplaces the chain: pass your own formatters to change what the line
says, or [] to show the raw text. mentionAllLabelId / mentionAllLabel configure the
default formatter only.
let conversations = CometChatConversations()conversations.setMentionAllLabel("all", "everyone")conversations.setMentionsStyle(textColor: .systemTeal, backgroundColor: UIColor.systemTeal.withAlphaComponent(0.2))
set(textFormatters:)replaces the chain: pass your own formatters to change what the line
says, or [] to show the raw text. setMentionAllLabel configures the default formatter only.
Advanced Methods
Selection
While selection is on, tapping a row only toggles it: onItemClick does not fire, so a tap
handler cannot push a screen out from under someone who is picking rows.
SwiftUI
UIKit
searchText and selection are Bindings, so your view owns them:
@State private var search = ""@State private var selected: Set<String> = []CometChatConversations( searchText: $search, selection: $selected, selectionMode: .multiple)
Selection reports in two places, and the difference matters:
Callback
When it fires
the selection binding
on every toggle — pass one to see each change
onSelection
once, when the user taps submit in the selection toolbar, with the whole set
@State private var selection: Set<String> = []CometChatConversations( selection: $selection, selectionMode: .multiple, onSelection: { picked in forward(picked) } // submit, once)
onSelection fires once, from the submit button in the navigation bar, with everything
picked — not on every tap.
conversations.selectionMode = .multipleconversations.set(onSelection: { picked in forward(picked) }) // submit, once
Store Access
SwiftUI
UIKit
The store is the data source. It is injectable and non-final. Seed it to render fixed state
with no session:
A seeded store performs no fetching, searching or pagination.The view has no imperative methods; ask the list to return to the top through the store, not
the view — a SwiftUI view is a value and has nothing to call a method on.
@State private var store = ConversationsStore()CometChatConversations(store: store)Button("Jump to top") { store.scrollToTop() }
The store already scrolls to top by itself when a new message arrives; this is the same
mechanism exposed for your own use.
conversationsStore is the data source. It is injectable, and non-final so it can be
subclassed. Seed it to render fixed state with no session:
start the store’s realtime listeners — the store owns them, and disconnect() does nothing
Subclassing
SwiftUI
UIKit
CometChatConversations is a View struct, so behaviour that a UIKit app would achieve by
subclassing is supplied as values instead. ConversationsPolicy carries the behaviour
hooks — which custom messages update their conversation, and threaded-message detection.
Style properties are optional and resolved at render, so anything left unset falls
through to the theme instead of being frozen at construction.Global level:
MyApp() .cometChatTheme(brandTheme) // see Theming for how brandTheme is built
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"CometChat Docs","description":"Technical documentation \u0026 Implementation guides to add In-app Messaging \u0026 Voice \u0026 Video Calling to your apps and websites in minutes.","colors":{"primary":"#6851D6","light":"#6851D6","dark":"#6851D6"},"logo":{"light":"https://mintcdn.com/cometchat-22654f5b/rnJE5Ok_8RIDEPUR/logo/light.svg?fit=max\u0026auto=format\u0026n=rnJE5Ok_8RIDEPUR\u0026q=85\u0026s=461a8ced4bf934b4f3a2770f090f2d3c","dark":"https://mintcdn.com/cometchat-22654f5b/rnJE5Ok_8RIDEPUR/logo/dark.svg?fit=max\u0026auto=format\u0026n=rnJE5Ok_8RIDEPUR\u0026q=85\u0026s=12aa48fcf137edde64a9539360548174"},"favicon":"https://mintcdn.com/cometchat-22654f5b/8ODUflBxloB1jkgP/favicon.png?fit=max\u0026auto=format\u0026n=8ODUflBxloB1jkgP\u0026q=85\u0026s=b5c68dc37f6a82e5cfb5f96746e433c8","navbar":{"links":[{"href":"https://app.cometchat.com/","label":"Dashboard"}],"primary":{"type":"button","label":"Contact Support","href":"https://help.cometchat.com/hc/en-us/requests/new"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/cometchat","x":"https://twitter.com/CometChat","github":"https://www.github.com/cometchat"}},"seo":{"metatags":{"charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","description":"Learn how to integrate, customize, and scale real-time chat using CometChat’s UI Kits, SDKs, and widgets across popular frameworks. Get step-by-step guides, best practices, and implementation details to build production-ready chat experiences.","language":"en"},"indexing":"all"},"errors":{"404":{"redirect":true}},"contextual":{"options":["claude","cursor","chatgpt","vscode","perplexity","mcp","copy"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cometchat-22654f5b","hasAudioNarration":false,"actualSubdomain":"cometchat-22654f5b","customDomains":["www.cometchat.com"],"gitSource":{"type":"github","owner":"cometchat","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"}},"buildId":"6b1029ef5ecbc72521bb9fa0","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Chat \u0026 Messaging","count":2750},{"language":"default","tag":"UI Kits","count":1414},{"language":"default","tag":"SDKs","count":948},{"language":"default","tag":"Components","count":706},{"language":"default","tag":"Android","count":503},{"language":"default","tag":"APIs","count":479},{"language":"default","tag":"iOS","count":452},{"language":"default","tag":"Flutter","count":412},{"language":"default","tag":"React Native","count":373},{"language":"default","tag":"React","count":322}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"help@cometchat.com","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"assets/feedback-support-ticket.css","content":".feedback-toolbar>div:has(#feedback-thumbs-up){justify-content:flex-start;gap:0.75rem}.feedback-toolbar>div>div:has(#feedback-thumbs-up){display:contents}.feedback-toolbar>div>div>div:has(>a[href*=\"github.com\"]),.feedback-toolbar>div>div>div:has(>#feedback-support-ticket){flex-wrap:wrap}@media (min-width: 640px){.feedback-toolbar #feedback-thumbs-down{margin-right:1.5rem}}"},{"filePath":"assets/version-selector-placement.css","content":"@media (min-width: 1024px){#sidebar-content .text-sm.relative>.pl-2{position:sticky;top:0;z-index:20;background-color:var(--color-background-light)}.dark #sidebar-content .text-sm.relative>.pl-2{background-color:var(--color-background-dark)}#sidebar-content .text-sm.relative>.pl-2::before{content:\"\";position:absolute;left:0;right:0;top:-16px;height:16px;background-color:inherit}#sidebar-content .text-sm.relative>.pl-2>button[aria-haspopup=\"menu\"]{width:195px;max-width:195px}#navbar .hidden.lg\\:flex.items-center.gap-x-2{position:absolute;top:123px;left:195px;z-index:30}}@media (max-width: 1023.98px){#mobile-nav #navigation-items{display:flex;flex-direction:column;gap:0.5rem}#mobile-nav #navigation-items>.flex.flex-col.gap-y-2.mb-6{display:contents}#mobile-nav #navigation-items>button:nth-of-type(1){order:1}#mobile-nav #navigation-items>.flex.flex-col.gap-y-2.mb-6>.flex.flex-wrap.gap-2{order:2}#mobile-nav #navigation-items>button:nth-of-type(2){order:3}#mobile-nav #navigation-items>.flex.flex-col.gap-y-2.mb-6>button{order:4}#mobile-nav #navigation-items>.mt-6{order:5}}"},{"filePath":"assets/global-fixes.css","content":".nav-dropdown-products-selector-trigger{border-radius:999px!important;border:1px solid rgba(15, 23, 42, 0.15);transition:border-color 0.2s ease, background-color 0.2s ease;width:12rem;max-width:12rem;flex:0 0 12rem;overflow:visible}@media (max-width: 1023.98px){#mobile-nav .nav-dropdown-products-selector-trigger{width:auto;max-width:none;flex:initial;border-radius:0.85rem!important}}html.dark .nav-dropdown-products-selector-trigger{border-color:rgba(226, 232, 240, 0.2)}.nav-dropdown-products-selector-trigger:hover,.nav-dropdown-products-selector-trigger[aria-expanded=\"true\"]{border-color:rgba(104, 81, 214, 0.7)}.nav-dropdown-products-selector-trigger>span{max-width:none!important;white-space:normal!important;-webkit-line-clamp:unset!important;display:inline!important}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0em;margin-bottom:0em}:not(pre)>code{padding:.125rem 0rem}#content-area #header .mt-2.text-lg p{font-size:0.875rem!important;line-height:1.375rem!important}#sidebar-content div.w-\\[78px\\].h-\\[21px\\]{width:auto!important;white-space:nowrap!important;padding:2px 6px!important}"}]}
{"page":{"pagePath":"ui-kit/ios/v6/conversations","slug":"/ui-kit/ios/v6/conversations","pageMetadata":{"title":"Conversations","description":"Scrollable list of the logged-in user's one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.","href":"/ui-kit/ios/v6/conversations"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Scrollable list of the logged-in user’s one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Tab,Table,Tabs,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatConversations`}),` displays a list of all conversations (one-on-one and group chats)\nfor the currently logged-in user. It shows the last message, unread count, typing\nindicators and user presence, and updates in real time.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=5cf84e8ef71a971a359efd0260259506`,alt:`CometChatConversations showing recent chats with avatars, last-message previews, receipts, timestamps and unread badges`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/docs-overview-conversations.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=347953ed96f7566f57015e77343c7a37 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=5705ee4f457d7870907119363c5babc7 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=afa79e7fe571555dcc49fe07d7ea9bf3 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=debee5e0977e296f9c1922f3b5197aec 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=683d58f071382a86fce7ba63682b4d67 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-conversations.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=90b5c330c3730f73fef473aca92d8fe6 2500w`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`where-it-fits`,children:`Where It Fits`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatConversations`}),` is the entry screen of a chat experience: the list a user lands\non, from which they open a conversation.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`CometChatConversations ← you are here`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` │ onItemClick(conversation)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ▼`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` your message screen`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Both toolkits read from the same store, so the SwiftUI and UIKit lists can never disagree\nabout `,_jsx(_components.em,{children:`what`}),` to show.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start`,children:`Quick Start`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CometChatSwiftUI`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`struct`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ChatsScreen`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`View `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` body: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`some`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` View {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` onItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` openChat`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation) }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`That is a working list: it fetches the first page, paginates as you scroll, and updates\nlive as messages arrive. `,_jsx(_components.code,{children:`onItemClick`}),` hands you a `,_jsx(_components.code,{children:`CometChatSDK.Conversation`}),`.`]}),_jsxs(_components.p,{children:[`The list draws a system large-title navigation bar, so it brings its own `,_jsx(_components.code,{children:`NavigationStack`}),`.\nIf your screen already has one, pass `,_jsx(_components.code,{children:`embedsNavigationStack: false`}),`.`]}),_jsxs(_components.p,{children:[`Set-up: `,_jsx(_components.a,{href:`/ui-kit/ios/v6/getting-started-swiftui`,children:`Getting Started`}),`.`]})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CometChatUIKit`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CometChatSDK`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`final`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ChatsViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`UIViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@MainActor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` CometChatConversationsDelegate `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` showConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`delegate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` self`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` navigationController`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`pushViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversations, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`animated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Conversation, `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`indexPath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: IndexPath) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` openChat`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`That is a working list: it fetches the first page, paginates as you scroll, and updates\nlive as messages arrive.`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatConversations`}),` inherits from `,_jsx(_components.code,{children:`CometChatListBase`}),`, which supplies the navigation\nbar, search bar, and the loading, empty and error states. Anything on `,_jsx(_components.code,{children:`CometChatListBase`}),`\nis available here too.`]}),_jsxs(_components.p,{children:[`Set-up: `,_jsx(_components.a,{href:`/ui-kit/ios/v6/getting-started-uikit`,children:`Getting Started`}),`.`]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`filtering-conversations`,children:`Filtering Conversations`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` conversationsRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ConversationRequest.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`group`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})}),_jsxs(Tab,{title:`UIKit`,id:`uikit-2`,children:[_jsxs(_components.p,{children:[`Pass a `,_jsx(_components.code,{children:`ConversationRequestBuilder`}),` through the store to filter what is fetched.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` store `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` ConversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` conversationsRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ConversationRequest.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`group`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: store)`})]}),`\n`]})})}),_jsx(_components.p,{children:`Or hand the controller a builder; it takes effect on the next fetch:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationsRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ConversationRequest.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`user`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`]})})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The builder closure is called `,_jsx(_components.strong,{children:`fresh for every fetch`}),`, so return a new builder each\ntime rather than capturing one instance. Reusing one instance across pages produces\nundefined paging behaviour.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`filter-recipes`,children:`Filter Recipes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Goal`}),_jsx(_components.th,{children:`Builder`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Groups only`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.setConversationType(conversationType: .group)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One-on-one only`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.setConversationType(conversationType: .user)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Larger pages`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.set(limit: 50)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Unread only`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.set(unread: true)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Include blocked users`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.include(blockedUsers: true)`})})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`actions-and-events`,children:`Actions and Events`}),`\n`,_jsx(Heading,{level:`3`,id:`callback-methods`,children:`Callback Methods`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-3`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prop`}),_jsx(_components.th,{children:`Signature`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onItemClick`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(Conversation) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onItemLongClick`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(Conversation) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onSelection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(Set\u003cString>) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onOptionSelected`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(Conversation, MenuOption) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onSearchClick`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onBack`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onLoad`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`([Conversation]) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onEmpty`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onError`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(CometChatError) -> Void`})})]})]})]})}),_jsxs(Tab,{title:`UIKit`,id:`uikit-3`,children:[_jsx(_components.p,{children:`Set on the instance, fluently. These take precedence over the delegate.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setter`}),_jsx(_components.th,{children:`Signature`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onItemClick:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(Conversation, IndexPath) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onItemLongClick:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(Conversation, IndexPath) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onSelection:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`([Conversation]) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onSearchClick:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onError:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(CometChatException) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onBack:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onLoad:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`([Conversation]) -> Void`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`set(onEmpty:)`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`() -> Void`})})]})]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`_`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` openChat`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation) })`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatConversationsDelegate`}),` is the alternative to closures, and the idiomatic\nchoice for a coordinator. Every method is optional.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` protocol`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` CometChatConversationsDelegate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`AnyObject `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Conversation, `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`indexPath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: IndexPath)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Conversation, `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`indexPath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: IndexPath)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSelection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`conversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [Conversation])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: NSError)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onLoad`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`conversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [Conversation])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onEmpty`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` @objc`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` optional`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onBack`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`onItemLongClick`}),` fires `,_jsx(_components.strong,{children:`only when no context menu is configured`}),`. iOS gives the\nlong-press gesture to the context menu, so the two are mutually exclusive. In selection\nmode it does not fire.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`global-events`,children:`Global Events`}),`\n`,_jsx(_components.p,{children:`The list listens on the Kit event bus, whoever emits the events.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-4`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`.conversationDeleted`}),` event removes the row and a `,_jsx(_components.code,{children:`.conversationUpdated`}),` event merges it.\nSubscribe from any view:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onCometChatConversationDeleted`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"deleted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, conversation.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`conversationId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ??`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) }`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/ui-kit/ios/v6/events`,children:`Events`}),` for the whole bus.`]})]}),_jsx(Tab,{title:`UIKit`,id:`uikit-4`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ccConversationDeleted`}),` removes the row and `,_jsx(_components.code,{children:`ccUpdateConversation`}),` merges it. Listen from\nanywhere with `,_jsx(_components.code,{children:`CometChatConversationEvents.addListener(_:_:)`}),` and a\n`,_jsx(_components.code,{children:`CometChatConversationEventListener`}),`. See `,_jsx(_components.a,{href:`/ui-kit/ios/v6/events`,children:`Events`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`sdk-events-real-time-automatic`,children:`SDK Events (Real-Time, Automatic)`}),`\n`,_jsx(_components.p,{children:`No wiring required — the store listens and the list updates itself.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Event`}),_jsx(_components.th,{children:`Effect`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Message received`}),_jsx(_components.td,{children:`conversation moves to top, unread count increments`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Message read`}),_jsx(_components.td,{children:`receipt updates`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Typing started / ended`}),_jsx(_components.td,{children:`subtitle shows the typing indicator`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User online / offline`}),_jsx(_components.td,{children:`presence dot updates`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Message edited / deleted`}),_jsx(_components.td,{children:`last-message line updates`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Connection lost / restored`}),_jsx(_components.td,{children:`connection notice appears, then a refresh`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`navigation-and-search`,children:`Navigation and Search`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-5`,children:_jsxs(_components.p,{children:[`The screen draws a `,_jsx(_components.strong,{children:`system large-title navigation bar`}),` — “Chats”, with the search field in\nthe bar under the large title. That gives you Liquid Glass on iOS 26 and an opaque bar below\nit. The field is the bar’s own, so it stays on screen while the list scrolls, and rows\npassing under it fade into the bar. The screen supplies its own `,_jsx(_components.code,{children:`NavigationStack`}),` so it works\non its own; pass `,_jsx(_components.code,{children:`embedsNavigationStack: false`}),` if you already have one.`]})}),_jsxs(Tab,{title:`UIKit`,id:`uikit-5`,children:[_jsxs(_components.p,{children:[`The controller sets up large titles on the host’s `,_jsx(_components.code,{children:`UINavigationController`}),` and the search\nfield in `,_jsx(_components.code,{children:`navigationItem.searchController`}),`. Push it onto a navigation controller — on its own\nit has no bar to draw into. Leaving `,_jsx(_components.code,{children:`navigationBarTintColor`}),` unset is deliberate: the bar is\nthen the system’s, which means Liquid Glass on iOS 26 and an opaque bar below it.`]}),_jsx(_components.p,{children:`Pulling the list down reloads its first page; the rows stay on screen until it lands.`})]})]}),`\n`,_jsxs(_components.p,{children:[`The search field is a `,_jsx(_components.strong,{children:`button`}),`. Touching it calls `,_jsx(_components.code,{children:`onSearchClick`}),` and nothing else — the\nlist does not filter itself. The field opens a search screen: wire `,_jsx(_components.code,{children:`onSearchClick`}),` to yours.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-6`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onSearchClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`showSearch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() })`})]}),`\n`]})})})}),_jsx(Tab,{title:`UIKit`,id:`uikit-6`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onSearchClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`showSearch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() })`})]}),`\n`]})})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`pinning-conversations`,children:`Pinning Conversations`}),`\n`,_jsx(_components.p,{children:`Pin and unpin appear in the swipe actions and in the long-press menu. Pinning happens at\nonce; unpinning asks first. A pinned row stays above the rest and keeps its place when new\nmessages arrive elsewhere.`}),`\n`,_jsx(_components.p,{children:`The affordance is hidden when the app does not have the pin feature enabled server-side, or\nwhen an administrator pinned the row — the server refuses to let a user unpin that one, so\noffering it would only produce an error. Delete is hidden on that row as well, for the same\nreason: the row is the administrator’s, and it comes back pinned whatever the user deletes.`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-7`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`hidePinOption`}),` hides the Pin / Unpin affordance, and `,_jsx(_components.code,{children:`hideDeleteOption`}),` hides Delete from\nthe swipe actions and the long-press menu.`]})}),_jsx(Tab,{title:`UIKit`,id:`uikit-7`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`hidePinConversationOption`}),` and `,_jsx(_components.code,{children:`enablePinConversation`}),` hide the pin affordance, and\n`,_jsx(_components.code,{children:`hideDeleteConversationOption`}),` hides Delete. `,_jsx(_components.code,{children:`enablePinConversation`}),` is on by default; set it\nto `,_jsx(_components.code,{children:`false`}),` to turn pinning off. Deleting asks first, and a full swipe does not delete — you\nhave to tap. Override `,_jsx(_components.code,{children:`isDeleteOptionShown(for:)`}),` to change the rule for the administrator’s\nrow.`]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`functionality`,children:`Functionality`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-8`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prop`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`store`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ConversationsStore?`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`nil`}),` — one is created for you`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pageSize`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Int`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`30`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`policy`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ConversationsPolicy`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ConversationsPolicy()`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversationsRequestBuilder`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(() -> ConversationRequest.ConversationRequestBuilder)?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`searchText`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Binding\u003cString>?`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`nil`}),` — the component owns it`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`selection`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Binding\u003cSet\u003cString>>?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`selectionMode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SelectionMode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.disabled`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`title`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`String?`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`nil`}),` — a localised default is used`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`style`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CometChatConversationsStyle`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CometChatConversationsStyle()`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dateFormat`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`DateFormatter?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dateTimeFormatter`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`(any CometChatDateTimeFormatter)?`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`nil`}),` — a relative formatter is used`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`textFormatters`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[any CometChatTextFormatter]?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`mentionAllLabelId`}),`, `,_jsx(_components.code,{children:`mentionAllLabel`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`String?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`imageSource`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`any ImageSource`})}),_jsx(_components.td,{children:`a shared cached loader`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`embedsNavigationStack`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideBackIcon`}),`, `,_jsx(_components.code,{children:`hideSeparator`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideToolbar`}),`, `,_jsx(_components.code,{children:`hideSearchBox`}),`, `,_jsx(_components.code,{children:`hideSearchEndIcon`}),`, `,_jsx(_components.code,{children:`hideUserStatus`}),`, `,_jsx(_components.code,{children:`hideGroupType`}),`, `,_jsx(_components.code,{children:`hideReceipts`}),`, `,_jsx(_components.code,{children:`hideDeleteOption`}),`, `,_jsx(_components.code,{children:`hidePinOption`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideLoadingState`}),`, `,_jsx(_components.code,{children:`hideEmptyState`}),`, `,_jsx(_components.code,{children:`hideErrorState`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`disableSoundForMessages`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customSoundForMessages`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`URL?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`dateFormat`}),` formats the timestamp on each row and takes precedence over\n`,_jsx(_components.code,{children:`dateTimeFormatter`}),`. `,_jsx(_components.code,{children:`hideSeparator`}),` is `,_jsx(_components.code,{children:`true`}),` by default: pass `,_jsx(_components.code,{children:`false`}),` to draw the separator\nand `,_jsx(_components.code,{children:`separatorColor`}),` / `,_jsx(_components.code,{children:`separatorHeight`}),` to style it.`]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cometChatConversationsHidden(_:)`}),` takes an option set and `,_jsx(_components.strong,{children:`unions`}),` with the `,_jsx(_components.code,{children:`hide*`}),`\narguments — neither cancels the other.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cometChatConversationsHidden`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`searchBox`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`receipts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-8`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delegate`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CometChatConversationsDelegate?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conversationsStore`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ConversationsStore`})}),_jsx(_components.td,{children:`a store created for you`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`listItemCellClass`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`AnyClass`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CometChatConversationListItem.self`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`selectionMode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SelectionMode`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`.disabled`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`style`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ConversationsStyle`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ConversationsStyle()`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideBackButton`}),`, `,_jsx(_components.code,{children:`hideSeparator`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideNavigationBar`}),`, `,_jsx(_components.code,{children:`hideSearch`}),`, `,_jsx(_components.code,{children:`hideReceipts`}),`, `,_jsx(_components.code,{children:`hideUserStatus`}),`, `,_jsx(_components.code,{children:`hideGroupType`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideDeleteConversationOption`}),`, `,_jsx(_components.code,{children:`hidePinConversationOption`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`enablePinConversation`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`disableTyping`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`hideLoadingState`}),`, `,_jsx(_components.code,{children:`hideErrorView`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`disableSoundForMessages`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bool`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customSoundForMessages`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`URL?`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`nil`})})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`hideBackButton`}),` hides the back button in the navigation bar, `,_jsx(_components.code,{children:`hideReceipts`}),` hides delivery\nand read receipts on each row, `,_jsx(_components.code,{children:`hideUserStatus`}),` hides the online presence indicator and\n`,_jsx(_components.code,{children:`hideGroupType`}),` hides the group-type icon. `,_jsx(_components.code,{children:`customSoundForMessages`}),` is a sound file played on\nincoming messages. `,_jsx(_components.code,{children:`hideSeparator`}),` is `,_jsx(_components.code,{children:`true`}),` by default: set it to `,_jsx(_components.code,{children:`false`}),` to draw the\nseparator.`]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`custom-view-slots`,children:`Custom View Slots`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-9`,children:[_jsxs(_components.p,{children:[`Every slot is available `,_jsx(_components.strong,{children:`two ways`}),`: as an initialiser argument, and as a modifier that\ncascades to every `,_jsx(_components.code,{children:`CometChatConversations`}),` below it in the hierarchy.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Supply both and the `,_jsx(_components.strong,{children:`initialiser argument wins`}),`. Full order: initialiser argument,\nthen modifier, then theme, then the Kit default. This is the usual answer to “why\ndidn’t my change apply?”.`]})}),_jsx(_components.p,{children:`For comparison, the list with no overrides at all:`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=52632d9b876614d3adc2ff672fa4795f`,alt:`Default Conversations list with the built-in row: avatar, name, last message, timestamp and unread badge`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-none.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=71862bf224a8ec1abaa5cecd46968190 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=4f0c83abf5c2a5e2969c317af37bd701 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=36f1dda383de2481f33381f0af756601 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=e0e4bd493e60d816e8f4806def462ec3 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=8c39a1fd50e15ac1bf182419f391a0a7 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-none.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=6c8c418844e72e50ce3abd2acfa61554 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`itemView`})}),` replaces the entire row. It receives the conversation and whether it is\nselected.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` itemView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation, isSelected `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyRow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`selected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: isSelected))`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a93a74ff97fdd37115133446b6ccf714`,alt:`Conversations list where itemView replaces the entire row with a custom card layout`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-itemView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=423f322023a7b187121090680d0166fd 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=ed111958a1e37e567845a56c7f7fc370 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=37056a21743631675119e67c02808526 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1b90c311a96186cd7cd422c6aca17b0f 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=f0c0508b7c24d1c0518e54f4dd9688e9 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-itemView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=eee7691516c10eda8eb657e28decb2af 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`leadingView`})}),` replaces the avatar.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cometChatConversationLeadingView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MyAvatar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation) }`})]}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a9f321591a5efcf584d013f1c01b5581`,alt:`Conversations list with a custom leading view replacing the default avatar`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-leadingView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=c5d6ab286aec8c81684509c6257f306c 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=8b904d13e12cca45628cbbbfcfbf629c 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=0c497aaf820ed873d93dbd00cc51794b 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=23d40f116f9be9b299db9bdb95686d6d 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=06fc1ddca02e00b63956846546fa226f 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-leadingView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=283dada9d3032ca79e97567e404685a7 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`titleView`})}),` replaces the name line.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cometChatConversationTitleView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`bold`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() }`})]}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=5b8e09e271b5bb639bf3a841403c9a35`,alt:`Conversations list with a custom title view replacing the default name line`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-titleView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=3731a0eb9ccc508ccb7720adcb186744 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=d5dca89ab3559dcddf50e92b3079d470 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=98b9623f65e8cc9100aeb6e8bd23bdde 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=c032839d15e349d33482d7904828fd16 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=fbbccb9cad874b0e1d68f8845b315666 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-titleView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=b44bbae9488fab9f297820d2ce7dd66a 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`subtitleView`})}),` replaces the last-message line.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cometChatConversationSubtitleView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MySubtitle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation) }`})]}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=5d7fdfbda402f7be62cd41c51d540cdb`,alt:`Conversations list with a custom subtitle view replacing the last-message line`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-subtitleView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=4e82ecaf10b80b1846aa21fb06519451 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=fb657b79b89f998642e6a6a5a6036ee0 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=f79f8eea2058be8d96385369d6efad1c 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a5a0c2b21344652ba23533adcea1081c 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=3908e7d512a090328d42bafbe229389a 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-subtitleView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=d0f5aaa93163d93287b16a7bb8b0f61e 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`trailingView`})}),` replaces the date, badge and receipt column.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cometChatConversationTrailingView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MyUnreadPill`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`count`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`unreadCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=26177991a1a37ef6f988204e904653f3`,alt:`Conversations list with a custom trailing view replacing the date and unread badge column`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-trailingView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=b841415739234e17e69fe02db7814f69 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=801cdb9dbb212a5f7afe32d9b9793faf 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=07cebefa2e98ee712a93f42e4e7180d4 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=2924de8b9d463575a47da4478bf7ce1d 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=247bc8f93483237e7634fd9731032223 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-trailingView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1badb093bf5dda39ad12ca4a47221c25 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`State views.`}),` `,_jsx(_components.code,{children:`errorView`}),` receives a `,_jsx(_components.code,{children:`retry`}),` closure — call it to re-attempt the fetch.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` loadingView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MySpinner`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()) },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` emptyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyEmptyState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()) },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` errorView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { retry `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyErrorState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onRetry`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: retry)) }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(Frame,{caption:`loadingView`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=64924fdc83ef0bb79d0f874d38d5e8fe`,alt:`Conversations list showing a custom loading view`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-loadingView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=8fd681e7e5e2a5fbc94b937c6c3deba6 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1d440380d02ce9ae2993f6aea20b3039 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=6d8747263d10d0032ecf305506aa7a78 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=0680789932d99296096b0bb9591c08d3 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=47be3a8493958ecb66c7b23ac376a892 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-loadingView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=0ceb4b6367c4e503ed4dedf89d58b28f 2500w`})}),_jsx(Frame,{caption:`emptyView`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=b5ea7cce2b5d91c821166daaee66a906`,alt:`Conversations list showing a custom empty state`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-emptyView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=515d629f2b1fa6e52d68888fedd4e517 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1cca9642db662610fe4de1d91e11b05d 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=6f19b2a444b7351c45a8e5682558c468 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=be219ccd4362c702e9636acb60bb5777 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=26706e74aa93c467529f7b7426656181 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-emptyView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=20060db8a2c5bbf470bf14dcb1286914 2500w`})}),_jsx(Frame,{caption:`errorView`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=cc0b7243346f62bcfbc30805e5c91628`,alt:`Conversations list showing a custom error state with a retry button`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-errorView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=db4c71a1f1de1dc24a7cd3cfc310b334 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=c88355dac87dff14c792e1ab0afeb4f6 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=baa6ab30d08281b09cd00327ae2f0a71 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a84d484865800a7a3bb103a7a8bca753 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=04b4f709df87c21ccd3715b3d6755c66 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-errorView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=05bac482409b13d700ef4746d525166f 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`overflowMenu`})}),` adds your own toolbar menu.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`overflowMenu`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyToolbarMenu`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()) })`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-9`,children:[_jsxs(_components.p,{children:[`Each slot replaces one region of the row and receives the SDK `,_jsx(_components.code,{children:`Conversation`}),`.`]}),_jsx(_components.p,{children:`The stock row, for comparison:`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=e30742b920e808a1588ea95e163faab7`,alt:`Default UIKit Conversations list with the built-in cell`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/uikit-stock.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=138436d7c2b06f6301ca86df5710b78a 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=c006f678b5deb0402cb5092bf688e9b8 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a34a93a95be50617165b2730c5350d21 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=e6281887f10ef9ba811753c2f2d907a7 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=57f6ac6e901703330f7da4ea8c749145 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-stock.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=334c515df0d1272b349de94c82d53e0e 2500w`})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`listItemView`})}),` replaces the entire row.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`listItemView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MyConversationRow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`leadingView`})}),` replaces the avatar.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`leadingView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MyAvatarView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`titleView`})}),` replaces the name line.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`titleView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MyTitleView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`text`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lastMessage`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sender`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`subtitleView`})}),` replaces the last-message line.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`subtitleView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MySubtitleView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`trailView`})}),` replaces the date, badge and receipt column.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`trailView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MyUnreadPill`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`State views.`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`loadingView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MySpinner`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`emptyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyEmptyState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`errorView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyErrorState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`]})})}),_jsx(Frame,{caption:`loadingView`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=14d20bdf123a7754e34a39b6076a36ec`,alt:`UIKit Conversations showing a custom loading view`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/uikit-loadingView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=692e8205ea5bc6b2b2c5105fd0c1d7a9 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=70916e7182b3f148868f2b0fd23b9a37 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a11a962ab0dab7046da2e9b52a462104 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=eb74b0b140cb1b7b50d6f5d11afdd7cf 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=2795658e691872192f6e307b1d2aece3 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-loadingView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1e0868996a8e51c90b18c13e5ccc0080 2500w`})}),_jsx(Frame,{caption:`emptyView`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=cc6a7f48b780e1bb97d9e1a20b173c72`,alt:`UIKit Conversations showing a custom empty state`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/uikit-emptyView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=e82413e48be66f73adf10cbecc05e5d9 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=20e15281190986372d58b145e8660a67 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=8dc6c2d5c4b4026d9d9742e4d1fa3c7a 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=67cecb05353c9fca730ba64c6803af5e 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=99554ebaddb7341fcbd08dc0914e7afd 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-emptyView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=7d9c5df9e1e4e04fa797d5c94ea890df 2500w`})}),_jsx(Frame,{caption:`errorView`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=81a58eb539de84bba3a3348cf22f8327`,alt:`UIKit Conversations showing a custom error state`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/uikit-errorView.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=c886fc980ed742d1c1d7d9056124cccb 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a64261341266034f26c56cc85840ba9f 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=72c48d1e84a25380a1321d125f95ad4c 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=77963c18e8481a813b93bb6d4422b2c6 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=57100b79f3167befa6ec6c88bd18546e 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-errorView.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=53d32131437b081068e8e72f6ef60b51 2500w`})}),_jsxs(_components.p,{children:[`Setting a custom state view after the view has loaded requires `,_jsx(_components.code,{children:`renderCurrentState()`}),` —\notherwise the state was already rendered with the previous view and your replacement stays\nhidden.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Replacing the cell.`}),` For full control over layout and reuse, supply your own cell class\ninstead of slots.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`listItemCellClass`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MyConversationCell.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`self`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Subclass `,_jsx(_components.code,{children:`CometChatConversationListItem`}),` and override its one `,_jsx(_components.code,{children:`configure`}),` — the method the list\ncalls for every row — to keep the built-in row and change part of it:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`final`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` MyConversationCell`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatConversationListItem `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` configure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: ChatConversation,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` style`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: ConversationsStyle,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: CometChatUIKitTheme,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` hideReceipts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` hideUserStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` hideGroupType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` selectionMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: SelectionMode,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` isSelected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Bool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` dateTimeFormatter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: ((Date) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` super`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`configure`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`with`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`style`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: style, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`theme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: theme, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hideReceipts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: hideReceipts,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` hideUserStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: hideUserStatus, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hideGroupType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: hideGroupType,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selectionMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: selectionMode, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`isSelected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: isSelected,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` dateTimeFormatter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: dateTimeFormatter)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` titleLabel.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`textColor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`systemIndigo`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=f387d185932e7d75804c503ffe220598`,alt:`UIKit Conversations list rendering a custom UITableViewCell subclass`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/uikit-customCell.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=39f058113e3625a0d81802422d3780c7 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a3ddd2eec053f72df4da2a8679869041 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=d7bf850080b97f78bcce6526cc735c12 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=25163780236695301ff9c3c1f1790310 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1d548fd99ec93bc52bba120c8699da07 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/uikit-customCell.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=a84378c2606a48f5002e59d7d571fe66 2500w`})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Clear custom subviews and cancel in-flight image loads in `,_jsx(_components.code,{children:`prepareForReuse()`}),`, or the\nwrong content appears on the next row during fast scrolling. The built-in cell does\nthis; a subclass must too.`]})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`menu-options`,children:`Menu Options`}),`\n`,_jsxs(_components.p,{children:[`Give the list options and each row shows them twice: as trailing swipe actions and as a\nlong-press menu. `,_jsx(_components.code,{children:`options`}),` `,_jsx(_components.strong,{children:`replaces`}),` the built-in options; `,_jsx(_components.code,{children:`addOptions`}),` `,_jsx(_components.strong,{children:`appends`}),` to\nthem. Reach for `,_jsx(_components.code,{children:`addOptions`}),` unless you want the defaults gone. The two built-ins are Delete\nand Pin / Unpin.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-10`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` addOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MenuOption`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`systemImage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`isDestructive`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(Frame,{caption:`options — defaults replaced`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=2174a6ebbc6e80c97128a3fd579332cd`,alt:`Conversations context menu showing only custom actions, replacing the built-in ones`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-options.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=4b5e25d49f93c979cb2247b18a1bebe4 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=59c11c7c07ce79137f9f3715043852ba 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=09605be1505998cbd85985e29b42020f 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=2dfe9870fbeab923284923479d3296aa 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=b654d3dfec215cbac80446d42f28c50b 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-options.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=f44e600e079d26aa53149a6cc585637b 2500w`})}),_jsx(Frame,{caption:`addOptions — appended to defaults`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=fe744eb31f2a312facea4d8fdb3461c3`,alt:`Conversations context menu showing custom actions appended below the built-in ones`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/override-addOptions.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=4b86392681d656aa4650e7507149fedd 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=175eab90122f4335d38b1c7025455b7a 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=86c5b6aaa2d93cc209ffc2d011074c8d 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=7b1f07c7d6b4fef3ab18dac316eaf8da 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=db6cb3db15d74a1c4bc465a882de9bdc 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/override-addOptions.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=f9176c7ed17cd0774b0460f135a7e487 2500w`})}),_jsxs(_components.p,{children:[`A context menu claims the long-press gesture, so `,_jsx(_components.code,{children:`onItemLongClick`}),` fires only when no menu is\nconfigured. Use `,_jsx(_components.code,{children:`onOptionSelected`}),` to react to a menu choice.`]})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-10`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`set(options:)`}),` and `,_jsx(_components.code,{children:`set(addOptions:)`}),` take `,_jsx(_components.code,{children:`[CometChatConversationOption]`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`addOptions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation, indexPath `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversationOption`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"archive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Archive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` icon`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`UIImage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`systemName`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"archivebox\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) { conversation, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`_`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` archive`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`common-patterns`,children:`Common Patterns`}),`\n`,_jsx(Heading,{level:`3`,id:`open-a-chat-on-tap`,children:`Open a chat on tap`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-11`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@State`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` path: [Conversation] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`NavigationStack`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`path`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: $path) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { path.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`append`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`$0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) })`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`navigationDestination`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Conversation.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`self`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MessagesScreen`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`$0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Tab,{title:`UIKit`,id:`uikit-11`,children:[_jsx(_components.p,{children:`A coordinator owns the navigation and is the list’s delegate. Keep a strong reference to\nit — the list holds its delegate weakly.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@MainActor`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`final`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ChatsFlow`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`NSObject`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@MainActor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` CometChatConversationsDelegate `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` navigationController: UINavigationController`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`navigationController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: UINavigationController) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` self`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`navigationController`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` navigationController`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` start`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`delegate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` self`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` navigationController.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`pushViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversations, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`animated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Conversation, `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`indexPath`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: IndexPath) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messages `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` MessagesViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` navigationController.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`pushViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(messages, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`animated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`multi-select-with-a-custom-toolbar`,children:`Multi-select with a custom toolbar`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-12`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@State`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` selected: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: $selected,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` overflowMenu`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Delete `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`\\\\(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`selected.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`count`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`)`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`deleteAll`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(selected) }) },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selectionMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`multiple`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})}),_jsx(Tab,{title:`UIKit`,id:`uikit-12`,children:_jsxs(_components.p,{children:[`The UIKit list shows its selection controls in the navigation bar. To act on the selection,\nuse `,_jsx(_components.code,{children:`set(onSelection:)`}),` — see Selection under Advanced Methods.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`groups-only-with-your-own-empty-state`,children:`Groups only, with your own empty state`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-13`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` conversationsRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ConversationRequest.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`group`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` emptyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`AnyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`NoGroupsYet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onCreate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: createGroup)) }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})}),_jsx(Tab,{title:`UIKit`,id:`uikit-13`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` store `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` ConversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationsRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ConversationRequest.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`limit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationType`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`group`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: store)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`emptyView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`NoGroupsYetView`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`renderCurrentState`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`preview-without-credentials`,children:`Preview without credentials`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`SwiftUI`,id:`swiftui-14`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`#Preview`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`store`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`seeded`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`populated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(entries, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hasMore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)))`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Tab,{title:`UIKit`,id:`uikit-14`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` vc `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` conversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`seeded`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`populated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(entries, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hasMore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`date-time-formatter`,children:`Date Time Formatter`}),`\n`,_jsx(_components.p,{children:`Row timestamps use a relative format by default — “now”, “12:04”, “Yesterday”, “9 Oct 25”.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-15`,children:[_jsxs(_components.p,{children:[`There are two ways to change it. `,_jsx(_components.code,{children:`dateFormat`}),` replaces it wholesale and wins over everything\nelse:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` formatter `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` DateFormatter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`formatter.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dateFormat`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"HH:mm\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`dateFormat`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: formatter)`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`dateTimeFormatter`}),` changes one bucket at a time — today’s time, “Yesterday”, the weekday\ninside a week, a date beyond it. Implement only the methods you care about; the rest fall\nback to the default:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`struct`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` WeekdayOnly`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatDateTimeFormatter `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` otherDays`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`_`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: Date) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` date.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`formatted`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dateTime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`weekday`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`wide`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`dateTimeFormatter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`WeekdayOnly`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-15`,children:[_jsxs(_components.p,{children:[`Replace it wholesale with `,_jsx(_components.code,{children:`datePattern`}),`. `,_jsx(_components.code,{children:`dateFormat`}),` (a `,_jsx(_components.code,{children:`DateFormatter`}),`) wins over\n`,_jsx(_components.code,{children:`datePattern`}),` when both are set.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`datePattern`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { conversation `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` myFormatter.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: conversation.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`updatedAt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`mention-configuration`,children:`Mention Configuration`}),`\n`,_jsxs(_components.p,{children:[`A row’s last-message line runs the text-formatter chain, as the message list does. The\ndefault is one `,_jsx(_components.code,{children:`CometChatMentionsFormatter`}),`, so `,_jsx(_components.code,{children:`\u003c@uid:…>`}),` reads as `,_jsx(_components.code,{children:`@Name`}),` (from the\nmessage’s `,_jsx(_components.code,{children:`mentionedUsers`}),`) and `,_jsx(_components.code,{children:`\u003c@all:…>`}),` as `,_jsx(_components.code,{children:`@all`}),`. A mention of someone else draws in the\ntheme’s primary colour, a mention of you or of everyone in its warning colour.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-16`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`style.mentionTextColor`}),` and `,_jsx(_components.code,{children:`style.mentionBackgroundColor`}),` restyle the first.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` mentionAllLabelId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` mentionAllLabel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"everyone\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`textFormatters`}),` `,_jsx(_components.strong,{children:`replaces`}),` the chain: pass your own formatters to change what the line\nsays, or `,_jsx(_components.code,{children:`[]`}),` to show the raw text. `,_jsx(_components.code,{children:`mentionAllLabelId`}),` / `,_jsx(_components.code,{children:`mentionAllLabel`}),` configure the\ndefault formatter only.`]})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-16`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversations `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setMentionAllLabel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"everyone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setMentionsStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`textColor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`systemTeal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` backgroundColor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: UIColor.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`systemTeal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`withAlphaComponent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`set(textFormatters:)`}),` `,_jsx(_components.strong,{children:`replaces`}),` the chain: pass your own formatters to change what the line\nsays, or `,_jsx(_components.code,{children:`[]`}),` to show the raw text. `,_jsx(_components.code,{children:`setMentionAllLabel`}),` configures the default formatter only.`]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-methods`,children:`Advanced Methods`}),`\n`,_jsx(Heading,{level:`3`,id:`selection`,children:`Selection`}),`\n`,_jsxs(_components.p,{children:[`While selection is on, tapping a row only toggles it: `,_jsx(_components.code,{children:`onItemClick`}),` does not fire, so a tap\nhandler cannot push a screen out from under someone who is picking rows.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-17`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`searchText`}),` and `,_jsx(_components.code,{children:`selection`}),` are `,_jsx(_components.code,{children:`Binding`}),`s, so your view owns them:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@State`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` search `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@State`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` selected: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` searchText`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: $search,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: $selected,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selectionMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`multiple`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(_components.p,{children:`Selection reports in two places, and the difference matters:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Callback`}),_jsx(_components.th,{children:`When it fires`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`the `,_jsx(_components.code,{children:`selection`}),` binding`]}),_jsx(_components.td,{children:`on every toggle — pass one to see each change`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onSelection`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`once`}),`, when the user taps submit in the selection toolbar, with the whole set`]})]})]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@State`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` selection: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` []`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: $selection,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` selectionMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`multiple`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` onSelection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { picked `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` forward`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(picked) } `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// submit, once`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-17`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`onSelection`}),` fires `,_jsx(_components.strong,{children:`once`}),`, from the submit button in the navigation bar, with everything\npicked — not on every tap.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`selectionMode`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`multiple`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`onSelection`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { picked `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` forward`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(picked) }) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// submit, once`})]}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`store-access`,children:`Store Access`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-18`,children:[_jsxs(_components.p,{children:[`The store is the data source. It is injectable and non-`,_jsx(_components.code,{children:`final`}),`. Seed it to render fixed state\nwith no session:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`store`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`seeded`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`populated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(entries, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hasMore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)))`})]}),`\n`]})})}),_jsx(_components.p,{children:`A seeded store performs no fetching, searching or pagination.`}),_jsx(_components.p,{children:`The view has no imperative methods; ask the list to return to the top through the store, not\nthe view — a SwiftUI view is a value and has nothing to call a method on.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`@State`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` store `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` ConversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`store`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: store)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jump to top\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) { store.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`scrollToTop`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() }`})]}),`\n`]})})}),_jsx(_components.p,{children:`The store already scrolls to top by itself when a new message arrives; this is the same\nmechanism exposed for your own use.`})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-18`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`conversationsStore`}),` is the data source. It is injectable, and non-`,_jsx(_components.code,{children:`final`}),` so it can be\nsubclassed. Seed it to render fixed state with no session:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`conversationsStore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`seeded`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`populated`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(entries, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`hasMore`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)))`})]}),`\n`]})})}),_jsx(_components.p,{children:`A seeded store performs no fetching, searching or pagination.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reloadData()`})}),_jsx(_components.td,{children:`re-render from current store state`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`renderCurrentState()`})}),_jsx(_components.td,{children:`re-apply the loading/empty/error view after changing one`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getConversationList()`})}),_jsxs(_components.td,{children:[`every row, as SDK `,_jsx(_components.code,{children:`Conversation`}),`s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getSelectedConversations()`})}),_jsxs(_components.td,{children:[`the rows picked, as SDK `,_jsx(_components.code,{children:`Conversation`}),`s`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size()`})}),_jsx(_components.td,{children:`how many rows there are`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`selectConversation(id:)`})}),_jsx(_components.td,{children:`select a row without a tap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`clearSelection()`})}),_jsx(_components.td,{children:`drop the whole selection`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`insert(conversation:)`}),` `,_jsx(_components.code,{children:`update(conversation:)`}),` `,_jsx(_components.code,{children:`remove(conversation:)`})]}),_jsx(_components.td,{children:`mutate the list directly`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`clearList()`})}),_jsx(_components.td,{children:`empty it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`refreshConversations()`})}),_jsx(_components.td,{children:`re-fetch, keeping the rows on screen`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`refreshStyle()`})}),_jsx(_components.td,{children:`re-read the style and redraw`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connect()`})}),_jsxs(_components.td,{children:[`start the store’s realtime listeners — the store owns them, and `,_jsx(_components.code,{children:`disconnect()`}),` does nothing`]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`subclassing`,children:`Subclassing`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-19`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatConversations`}),` is a `,_jsx(_components.code,{children:`View`}),` struct, so behaviour that a UIKit app would achieve by\nsubclassing is supplied as values instead. `,_jsx(_components.code,{children:`ConversationsPolicy`}),` carries the behaviour\nhooks — which custom messages update their conversation, and threaded-message detection.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` policy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationsPolicy`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` shouldUpdateForCustomMessage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { message `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` message.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meeting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` isThreadedMessage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`$0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`parentMessageId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` >`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-19`,children:[_jsxs(_components.p,{children:[`These override points are `,_jsx(_components.code,{children:`open`}),`:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Override to`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defaultSetup()`})}),_jsx(_components.td,{children:`change initial configuration`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`setupStyle()`})}),_jsx(_components.td,{children:`apply your own appearance`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`showEmptyView()`}),` `,_jsx(_components.code,{children:`showErrorView()`})]}),_jsx(_components.td,{children:`replace state presentation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reloadData()`})}),_jsx(_components.td,{children:`intercept refreshes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`configureMenu(for:indexPath:)`})}),_jsx(_components.td,{children:`build the context menu yourself`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`updateNavigationBarTitleWithCount(_:)`})}),_jsx(_components.td,{children:`react to the selection count — the bar already shows it beside the cross`})]})]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`final`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AddMembersViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatConversations `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setupStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` super`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setupStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` view.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`backgroundColor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`systemGroupedBackground`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`final`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` AddMembersViewController`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatConversations `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` defaultSetup`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` super`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`defaultSetup`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` selectionMode `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`multiple`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hideDeleteConversationOption `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` func`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setupStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` super`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setupStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` view.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`backgroundColor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`systemGroupedBackground`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`style`,children:`Style`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`SwiftUI`,id:`swiftui-20`,children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`initialiser argument > modifier > theme > Kit default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Style properties are optional and resolved at render, so anything left unset falls\nthrough to the theme instead of being frozen at construction.`}),_jsx(_components.p,{children:`Global level:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`MyApp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cometChatTheme`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(brandTheme) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// see Theming for how brandTheme is built`})]}),`\n`]})})}),_jsx(_components.p,{children:`Instance level:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` style`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`CometChatConversationsStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` titleColor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`purple`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` itemStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`ConversationListItemStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`titleFont`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`title3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Affects`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`backgroundColor`})}),_jsx(_components.td,{children:`screen background`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`titleColor`}),` `,_jsx(_components.code,{children:`titleFont`})]}),_jsx(_components.td,{children:`toolbar title`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`itemStyle`})}),_jsx(_components.td,{children:`the row — name, subtitle, date, badge, avatar, receipt`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`searchBackgroundColor`}),` `,_jsx(_components.code,{children:`searchTextColor`}),` `,_jsx(_components.code,{children:`searchPlaceholderColor`})]}),_jsx(_components.td,{children:`no effect; the search field is the system bar’s and keeps its look`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`searchCornerRadius`}),` `,_jsx(_components.code,{children:`cornerRadius`})]}),_jsx(_components.td,{children:`shape`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`showToolbarSeparator`}),` `,_jsx(_components.code,{children:`toolbarSeparatorColor`})]}),_jsx(_components.td,{children:`toolbar rule`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`emptyStateStyle`}),` `,_jsx(_components.code,{children:`errorStateStyle`})]}),_jsx(_components.td,{children:`state views`})]})]})]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Need`}),_jsx(_components.th,{children:`Use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Brand colour everywhere`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`.cometChatTheme(_:)`}),` at the app root`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One screen looks different`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`style:`}),` argument`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One region of the row`}),_jsx(_components.td,{children:`a slot argument or modifier`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Whole row layout`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`itemView`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Behaviour, not appearance`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`policy:`})})]})]})]})]}),_jsxs(Tab,{title:`UIKit`,id:`uikit-20`,children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`instance style > theme > Kit default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`A style property left unset falls through to the theme rather than freezing a value\nwhen the component is created.`}),_jsx(_components.p,{children:`Global level:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`CometChatUIKitTheme.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`shared`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`setBrandColor`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`systemIndigo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`CometChatUIKitTheme.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`shared`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`textPrimary`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`label`})]}),`\n`]})})}),_jsx(_components.p,{children:`One style for every instance:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` house `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` ConversationsStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`house.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`largeTitleColor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`label`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`house.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tableViewSeparator`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`separator`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ConversationsStyle.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`style`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` house`})]}),`\n`]})})}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=6a70acc67abc49182bbf5553cdb11831`,alt:`UIKit Conversations after setting a brand colour on the shared theme`,\"data-og-width\":`2560`,width:`2560`,\"data-og-height\":`1520`,height:`1520`,\"data-path\":`images/ui-kit/ios/v6/docs-uikitBrand.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?w=280\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=af441ebba4720c2c0fc859a791d9b8af 280w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?w=560\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=001528bc3b9286943a2974abae471f2a 560w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?w=840\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=225aa7ad38ee6f22e945b25e49745da6 840w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?w=1100\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=1f13fe15954fcfe83ec559e595dac907 1100w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?w=1650\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=f67a5729f7fedbe1bb6fd5e8afe23862 1650w, https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-uikitBrand.png?w=2500\u0026fit=max\u0026auto=format\u0026n=pWDsskjSUHgot30F\u0026q=85\u0026s=15976d9b8143fbd468346daec15d8885 2500w`})}),_jsx(_components.p,{children:`Instance level:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` style `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` ConversationsStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`style.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`titleColor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`purple`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`style.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`itemTitleFont`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`preferredFont`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`forTextStyle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headline`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversations.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`set`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`style`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: style)`})]}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Affects`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`backgroundColor`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`screen background`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`titleColor`}),` `,_jsx(_components.code,{children:`titleFont`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UIColor?`}),` `,_jsx(_components.code,{children:`UIFont?`})]}),_jsx(_components.td,{children:`navigation title`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`itemTitleColor`}),` `,_jsx(_components.code,{children:`itemTitleFont`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UIColor?`}),` `,_jsx(_components.code,{children:`UIFont?`})]}),_jsx(_components.td,{children:`conversation name`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`itemSubtitleColor`}),` `,_jsx(_components.code,{children:`itemSubtitleFont`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UIColor?`}),` `,_jsx(_components.code,{children:`UIFont?`})]}),_jsx(_components.td,{children:`last-message line`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`dateColor`}),` `,_jsx(_components.code,{children:`dateFont`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UIColor?`}),` `,_jsx(_components.code,{children:`UIFont?`})]}),_jsx(_components.td,{children:`timestamp`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`badgeBackgroundColor`}),` `,_jsx(_components.code,{children:`badgeTextColor`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`unread badge`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`avatarBackgroundColor`}),` `,_jsx(_components.code,{children:`avatarTextColor`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`avatar initials`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`separatorColor`}),` `,_jsx(_components.code,{children:`tableViewSeparator`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsxs(_components.td,{children:[`row separator (hidden until `,_jsx(_components.code,{children:`hideSeparator = false`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`largeTitleColor`}),` `,_jsx(_components.code,{children:`largeTitleFont`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UIColor?`}),` `,_jsx(_components.code,{children:`UIFont?`})]}),_jsx(_components.td,{children:`the large navigation title`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`navigationBarTintColor`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`leave unset`}),` for the system bar, which is Liquid Glass on iOS 26`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`messageTypeImageTint`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`the glyph in front of the preview`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`receiptSentTint`}),` … `,_jsx(_components.code,{children:`receiptFailedTint`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`the four receipt states`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`typingIndicatorTextColor`}),` `,_jsx(_components.code,{children:`…Font`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`UIColor?`}),` `,_jsx(_components.code,{children:`UIFont?`})]}),_jsx(_components.td,{children:`the typing line`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pinIconTint`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`the pin glyph beside the date`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`onlineStatusColor`}),` `,_jsx(_components.code,{children:`privateGroupImageBackgroundColor`}),` `,_jsx(_components.code,{children:`passwordGroupImageBackgroundColor`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`the avatar’s badge`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`listItemSelectedImage`}),` `,_jsx(_components.code,{children:`listItemDeSelectedImage`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIImage?`})}),_jsx(_components.td,{children:`selection, in place of a checkmark`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pinActionBackgroundColor`}),` `,_jsx(_components.code,{children:`deleteActionBackgroundColor`})]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`the swipe actions`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`searchBarTextColor`}),` `,_jsx(_components.code,{children:`searchBarPlaceholderTextColor`}),` …`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UIColor?`})}),_jsx(_components.td,{children:`the bar’s search field`})]})]})]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Need`}),_jsx(_components.th,{children:`Use`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Brand colour everywhere`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CometChatUIKitTheme.shared.setBrandColor(_:)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One screen looks different`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`set(style:)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`One region of the row`}),_jsx(_components.td,{children:`a view slot`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Whole row layout`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`listItemCellClass`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Behaviour, not appearance`}),_jsx(_components.td,{children:`subclass and override`})]})]})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Users`,icon:`users`,href:`/ui-kit/ios/v6/users`,children:_jsx(_components.p,{children:`List the users a person can start a chat with`})}),_jsx(Card,{title:`Message List`,icon:`comments`,href:`/ui-kit/ios/v6/message-list`,children:_jsx(_components.p,{children:`Show the messages of the conversation a tap opens`})}),_jsx(Card,{title:`Theming`,icon:`palette`,href:`/ui-kit/ios/v6/theming`,children:_jsx(_components.p,{children:`Colour, typography and shape tokens`})}),_jsx(Card,{title:`Overview`,icon:`book`,href:`/ui-kit/ios/v6/overview`,children:_jsx(_components.p,{children:`Choose a toolkit and see what the Kit includes`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Conversations","description":"Scrollable list of the logged-in user's one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.","href":"/ui-kit/ios/v6/conversations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where It Fits","slug":"where-it-fits","depth":2,"children":[]},{"title":"Quick Start","slug":"quick-start","depth":2,"children":[]},{"title":"Filtering Conversations","slug":"filtering-conversations","depth":2,"children":[{"title":"Filter Recipes","slug":"filter-recipes","depth":3,"children":[]}]},{"title":"Actions and Events","slug":"actions-and-events","depth":2,"children":[{"title":"Callback Methods","slug":"callback-methods","depth":3,"children":[]},{"title":"Global Events","slug":"global-events","depth":3,"children":[]},{"title":"SDK Events (Real-Time, Automatic)","slug":"sdk-events-real-time-automatic","depth":3,"children":[]}]},{"title":"Navigation and Search","slug":"navigation-and-search","depth":2,"children":[]},{"title":"Pinning Conversations","slug":"pinning-conversations","depth":2,"children":[]},{"title":"Functionality","slug":"functionality","depth":2,"children":[]},{"title":"Custom View Slots","slug":"custom-view-slots","depth":2,"children":[]},{"title":"Menu Options","slug":"menu-options","depth":2,"children":[]},{"title":"Common Patterns","slug":"common-patterns","depth":2,"children":[{"title":"Open a chat on tap","slug":"open-a-chat-on-tap","depth":3,"children":[]},{"title":"Multi-select with a custom toolbar","slug":"multi-select-with-a-custom-toolbar","depth":3,"children":[]},{"title":"Groups only, with your own empty state","slug":"groups-only-with-your-own-empty-state","depth":3,"children":[]},{"title":"Preview without credentials","slug":"preview-without-credentials","depth":3,"children":[]}]},{"title":"Date Time Formatter","slug":"date-time-formatter","depth":2,"children":[]},{"title":"Mention Configuration","slug":"mention-configuration","depth":2,"children":[]},{"title":"Advanced Methods","slug":"advanced-methods","depth":2,"children":[{"title":"Selection","slug":"selection","depth":3,"children":[]},{"title":"Store Access","slug":"store-access","depth":3,"children":[]},{"title":"Subclassing","slug":"subclassing","depth":3,"children":[]}]},{"title":"Style","slug":"style","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/cometchat-22654f5b/36ac8063d2fb5fe5/assets/consent.js","/docs/_mintlify/custom/cometchat-22654f5b/5c3dfb209223f9f6/assets/feedback-support-ticket.js"],"subdomain":"cometchat-22654f5b","siteName":"CometChat Docs","title":"Conversations - CometChat Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v6":{"href":"/ui-kit/ios/v6/conversations","matchLevel":0},"v5":{"href":"/ui-kit/ios/overview","matchLevel":2},"v4":{"href":"/ui-kit/ios/v4/conversations","matchLevel":1},"v3":{"href":"/ui-kit/ios/v3/overview","matchLevel":2},"v2":{"href":"/ui-kit/ios/v2/overview","matchLevel":2},"v7":{"href":"/ui-kit/react/overview","matchLevel":4},"v6":{"href":"/ui-kit/react/v6/conversations","matchLevel":1},"v5":{"href":"/ui-kit/react/v5/overview","matchLevel":4},"v4":{"href":"/ui-kit/react/v4/overview","matchLevel":4},"v3":{"href":"/ui-kit/react/v3/overview","matchLevel":4},"v2":{"href":"/ui-kit/react/v2/overview","matchLevel":4},"v5":{"href":"/ui-kit/react-native/overview","matchLevel":4},"v4":{"href":"/ui-kit/react-native/v4/overview","matchLevel":4},"v3":{"href":"/ui-kit/react-native/v3/overview","matchLevel":4},"v2":{"href":"/ui-kit/react-native/v2/overview","matchLevel":4},"v6":{"href":"/ui-kit/android/overview","matchLevel":4},"v5":{"href":"/ui-kit/android/v5/overview","matchLevel":4},"v4":{"href":"/ui-kit/android/v4/overview","matchLevel":4},"v3":{"href":"/ui-kit/android/v3/overview","matchLevel":4},"v2":{"href":"/ui-kit/android/v2/overview","matchLevel":4},"v6":{"href":"/ui-kit/flutter/overview","matchLevel":4},"v5":{"href":"/ui-kit/flutter/v5/overview","matchLevel":4},"v4":{"href":"/ui-kit/flutter/v4/overview","matchLevel":4},"v5":{"href":"/ui-kit/angular/overview","matchLevel":4},"v4":{"href":"/ui-kit/angular/v4/overview","matchLevel":4},"v3":{"href":"/ui-kit/angular/3.0/overview","matchLevel":4},"v2":{"href":"/ui-kit/angular/2.0/overview","matchLevel":4},"v4":{"href":"/ui-kit/vue/overview","matchLevel":4},"v3":{"href":"/ui-kit/vue/3.0/overview","matchLevel":4},"v2":{"href":"/ui-kit/vue/2.0/overview","matchLevel":4},"v4":{"href":"/sdk/javascript/overview","matchLevel":4},"v3":{"href":"/sdk/javascript/3.0/overview","matchLevel":4},"v2":{"href":"/sdk/javascript/2.0/overview","matchLevel":4},"v4":{"href":"/sdk/react-native/overview","matchLevel":4},"v3":{"href":"/sdk/react-native/3.0/overview","matchLevel":4},"v2":{"href":"/sdk/react-native/2.0/overview","matchLevel":4},"v4":{"href":"/sdk/ios/overview","matchLevel":4},"v3":{"href":"/sdk/ios/3.0/overview","matchLevel":4},"v2":{"href":"/sdk/ios/2.0/overview","matchLevel":4},"v5":{"href":"/sdk/android/overview","matchLevel":4},"v4":{"href":"/sdk/android/v4/overview","matchLevel":4},"v3":{"href":"/sdk/android/3.0/overview","matchLevel":4},"v2":{"href":"/sdk/android/2.0/overview","matchLevel":4},"v5":{"href":"/sdk/flutter/overview","matchLevel":4},"v4":{"href":"/sdk/flutter/v4/overview","matchLevel":4},"v3":{"href":"/sdk/flutter/3.0/overview","matchLevel":4},"v5":{"href":"/calls/javascript/overview","matchLevel":4},"v4":{"href":"/calls/v4/javascript/overview","matchLevel":4},"v5":{"href":"/calls/react-native/overview","matchLevel":4},"v4":{"href":"/calls/v4/react-native/overview","matchLevel":4},"v5":{"href":"/calls/ios/overview","matchLevel":4},"v4":{"href":"/calls/v4/ios/overview","matchLevel":4},"v5":{"href":"/calls/android/overview","matchLevel":4},"v4":{"href":"/calls/v4/android/overview","matchLevel":4},"v5":{"href":"/calls/flutter/overview","matchLevel":4},"v4":{"href":"/calls/v4/flutter/overview","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T14:13:00.798Z","originalFileLocation":"ui-kit/ios/v6/conversations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Scrollable list of the logged-in user\u0026#x27;s one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CometChat Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Conversations - CometChat Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Scrollable list of the logged-in user\u0026#x27;s one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CometChat Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cometchat-22654f5b.mintlify.site/docs/_mintlify/api/og/v2?division=Components\u0026amp;title=Conversations\u0026amp;description=Scrollable+list+of+the+logged-in+user%27s+one-on-one+and+group+conversations%2C+with+last+messages%2C+unread+counts%2C+typing+indicators%2C+presence%2C+filters+and+item+cal\u0026amp;theme=9023e5a089383a08d2dd3ea6\u0026amp;signature=fb45933211e3c4e3dd39fa9370931d979b3bdc0179f60a72b63a31ea8013a524\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Conversations - CometChat Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Scrollable list of the logged-in user\u0026#x27;s one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cometchat-22654f5b.mintlify.site/docs/_mintlify/api/og/v2?division=Components\u0026amp;title=Conversations\u0026amp;description=Scrollable+list+of+the+logged-in+user%27s+one-on-one+and+group+conversations%2C+with+last+messages%2C+unread+counts%2C+typing+indicators%2C+presence%2C+filters+and+item+cal\u0026amp;theme=9023e5a089383a08d2dd3ea6\u0026amp;signature=fb45933211e3c4e3dd39fa9370931d979b3bdc0179f60a72b63a31ea8013a524\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/cometchat-22654f5b/9HQD26P0kBVs3M5H/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CometChat Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6851D6\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/ui-kit/ios/v6/conversations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.cometchat.com/#organization\",\"name\":\"CometChat Docs\",\"url\":\"https://www.cometchat.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cometchat-22654f5b/rnJE5Ok_8RIDEPUR/logo/light.svg?fit=max\u0026auto=format\u0026n=rnJE5Ok_8RIDEPUR\u0026q=85\u0026s=461a8ced4bf934b4f3a2770f090f2d3c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.cometchat.com/docs#website\",\"name\":\"CometChat Docs\",\"url\":\"https://www.cometchat.com/docs\",\"publisher\":{\"@id\":\"https://www.cometchat.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations#webpage\",\"url\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations\",\"name\":\"Conversations\",\"description\":\"Scrollable list of the logged-in user's one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.\",\"dateModified\":\"2026-12-02T14:13:00.798Z\",\"isPartOf\":{\"@id\":\"https://www.cometchat.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\" \",\"item\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Components\",\"item\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/components-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Conversations\",\"item\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations#article\",\"headline\":\"Conversations\",\"name\":\"Conversations\",\"description\":\"Scrollable list of the logged-in user's one-on-one and group conversations, with last messages, unread counts, typing indicators, presence, filters and item callbacks.\",\"url\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations\",\"mainEntityOfPage\":{\"@id\":\"https://www.cometchat.com/docs/ui-kit/ios/v6/conversations#webpage\"},\"dateModified\":\"2026-12-02T14:13:00.798Z\",\"publisher\":{\"@id\":\"https://www.cometchat.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.cometchat.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CometChat Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CometChat Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/ui-kit/ios/v6/conversations.md","siteName":"CometChat Docs","nav":{"global":null,"products":[{"product":"Home","pages":[{"title":"Home","href":""}]},{"product":"Home","hidden":true,"pages":[{"title":"Home","href":"/on-premise-deployment/docker/overview","hidden":true}]},{"product":"Chat \u0026 Messaging","tabs":[{"tab":"Chat \u0026 Messaging","pages":[{"title":"Chat \u0026 Messaging","href":"/chat-call"}]},{"tab":"Platform","pages":[{"title":"Platform","href":"/fundamentals/overview"}]},{"tab":"Widget Builder","dropdowns":[{"dropdown":"HTML","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/html5.svg","pages":[{"title":"CometChat Widget Builder For HTML","sidebarTitle":"Overview","href":"/widget/html/overview"},{"title":"Add CometChat Widget to a Static HTML Website","sidebarTitle":"Integration","href":"/widget/html/integration"},{"title":"Advanced CometChat Widget Setup for Static HTML","sidebarTitle":"Advanced Setup","href":"/widget/html/advanced"}]},{"dropdown":"WordPress","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/wordpress.svg","pages":[{"title":"CometChat Widget Builder For WordPress","sidebarTitle":"Overview","href":"/widget/wordpress/overview"},{"title":"Add CometChat Widget to WordPress via Plugin","sidebarTitle":"Integration","href":"/widget/wordpress/integration"}]},{"dropdown":"Shopify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/shopify.svg","pages":[{"title":"CometChat Widget Builder For Shopify","sidebarTitle":"Overview","href":"/widget/shopify/overview"},{"title":"Add CometChat Widget to Shopify","sidebarTitle":"Integration","href":"/widget/shopify/integration"}]},{"dropdown":"Squarespace","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/squarespace.svg","pages":[{"title":"CometChat Widget Builder For Squarespace","sidebarTitle":"Overview","href":"/widget/squarespace/overview"},{"title":"Add CometChat Widget to Squarespace","sidebarTitle":"Integration","href":"/widget/squarespace/integration"}]},{"dropdown":"Wix","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/wix.svg","pages":[{"title":"CometChat Widget Builder For Wix","sidebarTitle":"Overview","href":"/widget/wix/overview"},{"title":"Add CometChat Widget to Wix","sidebarTitle":"Integration","href":"/widget/wix/integration"}]},{"dropdown":"Webflow","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/webflow.svg","pages":[{"title":"CometChat Widget Builder For Webflow","sidebarTitle":"Overview","href":"/widget/webflow/overview"},{"title":"Add CometChat Widget to Webflow","sidebarTitle":"Integration","href":"/widget/webflow/integration"}]}]},{"tab":"UI Kit Builder","dropdowns":[{"dropdown":"React","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/react.svg","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit Builder For React","sidebarTitle":"Overview","href":"/chat-builder/react/overview"},{"title":"UI Kit Builder Integration","sidebarTitle":"Integration","href":"/chat-builder/react/integration"}]},{"group":"Reference","pages":[{"title":"UI Kit Builder Settings","sidebarTitle":"Builder Settings","href":"/chat-builder/react/builder-settings"},{"title":"Directory Structure","sidebarTitle":"Directory Structure","href":"/chat-builder/react/builder-dir-structure"},{"title":"Customizing Your UI Kit Builder","sidebarTitle":"Customizations","href":"/chat-builder/react/builder-customisations"}]}]},{"dropdown":"Next.js","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/nextjs.svg","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit Builder For Next.js","sidebarTitle":"Overview","href":"/chat-builder/nextjs/overview"},{"title":"UI Kit Builder Integration","sidebarTitle":"Integration","href":"/chat-builder/nextjs/integration"}]},{"group":"Reference","pages":[{"title":"UI Kit Builder Settings","sidebarTitle":"Builder Settings","href":"/chat-builder/nextjs/builder-settings"},{"title":"Directory Structure","sidebarTitle":"Directory Structure","href":"/chat-builder/nextjs/builder-dir-structure"},{"title":"Customizing Your UI Kit Builder","sidebarTitle":"Customizations","href":"/chat-builder/nextjs/builder-customisations"}]}]},{"dropdown":"React Router","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/react-router.svg","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit Builder For React Router","sidebarTitle":"Overview","href":"/chat-builder/react-router/overview"},{"title":"UI Kit Builder Integration","sidebarTitle":"Integration","href":"/chat-builder/react-router/integration"}]},{"group":"Reference","pages":[{"title":"UI Kit Builder Settings","sidebarTitle":"Builder Settings","href":"/chat-builder/react-router/builder-settings"},{"title":"Directory Structure","sidebarTitle":"Directory Structure","href":"/chat-builder/react-router/builder-dir-structure"},{"title":"Customizing Your UI Kit Builder","sidebarTitle":"Customizations","href":"/chat-builder/react-router/builder-customisations"}]}]},{"dropdown":"Angular","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/angular.svg","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit Builder For Angular","sidebarTitle":"Overview","href":"/chat-builder/angular/overview"},{"title":"UI Kit Builder Integration","sidebarTitle":"Integration","href":"/chat-builder/angular/integration"}]},{"group":"Reference","pages":[{"title":"UI Kit Builder Settings","href":"/chat-builder/angular/builder-settings"},{"title":"Directory Structure","sidebarTitle":"Directory Structure","href":"/chat-builder/angular/builder-dir-structure"},{"title":"Customizing Your UI Kit Builder","sidebarTitle":"Customizations","href":"/chat-builder/angular/builder-customisations"}]}]}]},{"tab":"UI Kits","dropdowns":[{"dropdown":"React","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/react.svg","versions":[{"version":"v7","default":true,"groups":[{"group":" ","pages":[{"title":"React UI Kit","sidebarTitle":"Overview","href":"/ui-kit/react/overview"},{"group":"Getting Started","pages":[{"group":"React.js","pages":[{"title":"React.js Integration","sidebarTitle":"Integration","href":"/ui-kit/react/integration-react"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/react-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/react/react-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/react/react-tab-based-chat"}]},{"group":"Next.js","pages":[{"title":"Next.js Integration","sidebarTitle":"Integration","href":"/ui-kit/react/integration-nextjs"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/next-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/react/next-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/react/next-tab-based-chat"}]},{"group":"React Router","pages":[{"title":"React Router Integration","sidebarTitle":"Integration","href":"/ui-kit/react/integration-react-router"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/react-router-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/react/react-router-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/react/react-router-tab-based-chat"}]},{"group":"Astro","pages":[{"title":"Astro Integration","sidebarTitle":"Integration","href":"/ui-kit/react/integration-astro"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/astro-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/react/astro-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/react/astro-tab-based-chat"}]},{"title":"Calling Integration","href":"/ui-kit/react/calling-integration"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/react/core-features"},{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/ui-kit/react/offline-support"},{"title":"Extensions","href":"/ui-kit/react/extensions"},{"title":"Smart Chat Features","href":"/ui-kit/react/ai-features"}]},{"title":"Call","href":"/ui-kit/react/call-features"},{"title":"Campaigns","href":"/ui-kit/react/campaigns"},{"title":"RTL Support","href":"/ui-kit/react/rtl-support"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/react/components-overview"},{"title":"Conversations","href":"/ui-kit/react/components/conversations"},{"title":"Users","href":"/ui-kit/react/components/users"},{"title":"Groups","href":"/ui-kit/react/components/groups"},{"title":"Group Members","href":"/ui-kit/react/components/group-members"},{"title":"Message Header","href":"/ui-kit/react/components/message-header"},{"title":"Message List","href":"/ui-kit/react/components/message-list"},{"title":"Message Composer","href":"/ui-kit/react/components/message-composer"},{"group":"Message Bubbles","pages":[{"title":"Message Bubble","href":"/ui-kit/react/components/message-bubble"},{"title":"Text Bubble","sidebarTitle":"Text Bubble","href":"/ui-kit/react/components/text-bubble"},{"title":"Image Bubble","sidebarTitle":"Image Bubble","href":"/ui-kit/react/components/image-bubble"},{"title":"Video Bubble","sidebarTitle":"Video Bubble","href":"/ui-kit/react/components/video-bubble"},{"title":"Audio Bubble","sidebarTitle":"Audio Bubble","href":"/ui-kit/react/components/audio-bubble"},{"title":"Voice Note Bubble","sidebarTitle":"Voice Note Bubble","href":"/ui-kit/react/components/voice-note-bubble"},{"title":"File Bubble","sidebarTitle":"File Bubble","href":"/ui-kit/react/components/file-bubble"},{"title":"Poll Bubble","sidebarTitle":"Poll Bubble","href":"/ui-kit/react/components/poll-bubble"},{"title":"Sticker Bubble","sidebarTitle":"Sticker Bubble","href":"/ui-kit/react/components/sticker-bubble"},{"title":"Collaborative Document Bubble","sidebarTitle":"Collaborative Document Bubble","href":"/ui-kit/react/components/collaborative-document-bubble"},{"title":"Collaborative Whiteboard Bubble","sidebarTitle":"Collaborative Whiteboard Bubble","href":"/ui-kit/react/components/collaborative-whiteboard-bubble"},{"title":"Card Bubble","sidebarTitle":"Card Bubble","href":"/ui-kit/react/components/card-bubble"},{"title":"Call Bubble","sidebarTitle":"Call Bubble","href":"/ui-kit/react/components/call-bubble"},{"title":"Call Action Bubble","sidebarTitle":"Call Action Bubble","href":"/ui-kit/react/components/call-action-bubble"},{"title":"Group Action Bubble","sidebarTitle":"Group Action Bubble","href":"/ui-kit/react/components/group-action-bubble"},{"title":"Delete Bubble","sidebarTitle":"Delete Bubble","href":"/ui-kit/react/components/delete-bubble"}]},{"title":"Thread Header","href":"/ui-kit/react/components/thread-header"},{"title":"Pinned Messages","sidebarTitle":"Pinned Messages","href":"/ui-kit/react/components/pinned-messages"},{"title":"Saved Messages","sidebarTitle":"Saved Messages","href":"/ui-kit/react/components/saved-messages"},{"title":"Message Information","href":"/ui-kit/react/components/message-information"},{"title":"Reactions","href":"/ui-kit/react/components/reactions"},{"title":"Reaction List","href":"/ui-kit/react/components/reaction-list"},{"title":"Flag Message Dialog","sidebarTitle":"Flag Message Dialog","href":"/ui-kit/react/components/flag-message-dialog"},{"title":"Call Buttons","href":"/ui-kit/react/components/call-buttons"},{"title":"Incoming Call","href":"/ui-kit/react/components/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/react/components/outgoing-call"},{"title":"Call Logs","href":"/ui-kit/react/components/call-logs"},{"title":"Search","href":"/ui-kit/react/components/search"},{"title":"AI Assistant Chat","href":"/ui-kit/react/components/ai-assistant-chat"},{"title":"Notification Feed","href":"/ui-kit/react/components/notification-feed"}]},{"group":"Plugins","pages":[{"title":"Plugins","sidebarTitle":"Overview","href":"/ui-kit/react/plugins/overview"},{"title":"Creating a Custom Plugin","sidebarTitle":"Custom Plugin","href":"/ui-kit/react/plugins/custom-plugin"},{"title":"Text Formatters","sidebarTitle":"Text Formatters","href":"/ui-kit/react/plugins/text-formatters"}]},{"group":"Architecture","pages":[{"title":"CometChatProvider","href":"/ui-kit/react/cometchat-provider"},{"title":"Event System","href":"/ui-kit/react/event-system"}]},{"group":"Customization","pages":[{"title":"Theming","href":"/ui-kit/react/theming"},{"title":"Color Resources","href":"/ui-kit/react/theme/color-resources"},{"title":"Message Bubble Styling","href":"/ui-kit/react/theme/message-bubble-styling"},{"title":"Localization","href":"/ui-kit/react/localization"},{"title":"Sound Manager","href":"/ui-kit/react/sound-manager"}]},{"group":"Guides","pages":[{"title":"Block/Unblock User","sidebarTitle":"Block/Unblock User","href":"/ui-kit/react/guide-block-unblock-user"},{"title":"Group Chat Setup","sidebarTitle":"Group Chat Setup","href":"/ui-kit/react/guide-group-chat-setup"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/ui-kit/react/guide-threaded-messages"},{"title":"Pin \u0026 Save Messages","sidebarTitle":"Pin \u0026 Save Messages","href":"/ui-kit/react/guide-pin-and-save-messages"},{"title":"Custom Text Formatter","sidebarTitle":"Custom Text Formatter","href":"/ui-kit/react/guide-custom-text-formatter"},{"title":"Search Messages","sidebarTitle":"Search Messages","href":"/ui-kit/react/guide-search-messages"},{"title":"New Chat Creation","sidebarTitle":"New Chat Creation","href":"/ui-kit/react/guide-new-chat-creation"},{"title":"Message Privately","sidebarTitle":"Message Privately","href":"/ui-kit/react/guide-message-privately"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/react/methods"}]},{"group":"Migration Guide","pages":[{"title":"Upgrading from v6 to v7","sidebarTitle":"Overview","href":"/ui-kit/react/migration-overview"},{"title":"Property Changes","sidebarTitle":"Property Changes","href":"/ui-kit/react/migration-property-changes"}]},{"title":"Troubleshooting","href":"/ui-kit/react/troubleshooting"},{"title":"React Sample App","url":"https://github.com/cometchat/cometchat-uikit-react/tree/v7/sample-app","href":"/ui-kit/react/link/sample"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-react/releases?q=v7\u0026expanded=true","href":"/ui-kit/react/link/changelog"},{"title":"Figma Design","url":"https://www.figma.com/community/file/1442863561340379957/cometchat-ui-kit-for-web","href":"/ui-kit/react/link/figma"}]}]},{"version":"v6","default":false,"pages":[{"title":"v6","href":"/ui-kit/react/v6/conversations"}]},{"version":"v5","pages":[{"title":"v5","href":"/ui-kit/react/v5/overview"}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/react/v4/overview"}]},{"version":"v3","pages":[{"title":"v3","href":"/ui-kit/react/v3/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/ui-kit/react/v2/overview"}]}]},{"dropdown":"React Native","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/react.svg","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"title":"React Native UI Kit","sidebarTitle":"Overview","href":"/ui-kit/react-native/overview"},{"group":"Getting Started","pages":[{"group":"React Native CLI","pages":[{"title":"React Native CLI Integration","sidebarTitle":"Integration","href":"/ui-kit/react-native/react-native-cli-integration"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react-native/react-native-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/react-native/react-native-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/react-native/react-native-tab-based-chat"}]},{"group":"Expo","pages":[{"title":"Expo Integration","sidebarTitle":"Integration","href":"/ui-kit/react-native/expo-integration"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react-native/expo-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/react-native/expo-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/react-native/expo-tab-based-chat"}]}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/react-native/core-features"},{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/ui-kit/react-native/offline-support"},{"title":"RTL Support","sidebarTitle":"RTL Support","href":"/ui-kit/react-native/rtl-support"},{"title":"Extensions","href":"/ui-kit/react-native/extensions"},{"title":"Smart Chat Features","href":"/ui-kit/react-native/ai-features"}]},{"title":"Calling Integration","href":"/ui-kit/react-native/calling-integration"},{"title":"Call","href":"/ui-kit/react-native/call-features"},{"title":"Campaigns","href":"/ui-kit/react-native/campaigns"}]},{"group":"Theming","pages":[{"title":"Customizing UI With Theming","sidebarTitle":"Overview","href":"/ui-kit/react-native/theme"},{"title":"Color Resources","sidebarTitle":"Colors","href":"/ui-kit/react-native/colors"},{"title":"Component Styling","sidebarTitle":"Component Styling","href":"/ui-kit/react-native/component-styling"},{"title":"Message Bubble Styling","href":"/ui-kit/react-native/message-bubble-styling"},{"title":"Localization","sidebarTitle":"Localize","href":"/ui-kit/react-native/localize"},{"title":"Sound Manager","href":"/ui-kit/react-native/sound-manager"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/react-native/components-overview"},{"title":"Conversations","href":"/ui-kit/react-native/conversations"},{"title":"Users","href":"/ui-kit/react-native/users"},{"title":"Groups","href":"/ui-kit/react-native/groups"},{"title":"Group Members","href":"/ui-kit/react-native/group-members"},{"title":"Message Header","href":"/ui-kit/react-native/message-header"},{"title":"Message List","href":"/ui-kit/react-native/message-list"},{"title":"Pinned Messages","sidebarTitle":"Pinned Messages","href":"/ui-kit/react-native/pinned-messages"},{"title":"Saved Messages","sidebarTitle":"Saved Messages","href":"/ui-kit/react-native/saved-messages"},{"title":"Message Composer","href":"/ui-kit/react-native/message-composer"},{"title":"Compact Message Composer","href":"/ui-kit/react-native/compact-message-composer"},{"title":"Threaded Messages Header","href":"/ui-kit/react-native/threaded-messages-header"},{"title":"Message Information","sidebarTitle":"Message Information","href":"/ui-kit/react-native/message-information"},{"title":"Incoming Call","href":"/ui-kit/react-native/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/react-native/outgoing-call"},{"title":"Ongoing Call","href":"/ui-kit/react-native/ongoing-call"},{"title":"Call Buttons","href":"/ui-kit/react-native/call-buttons"},{"title":"Call Logs","href":"/ui-kit/react-native/call-logs"},{"title":"AI Assistant Chat History","href":"/ui-kit/react-native/ai-assistant-chat-history"},{"title":"Notification Feed","href":"/ui-kit/react-native/notification-feed"},{"title":"Search","href":"/ui-kit/react-native/search"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/react-native/methods"},{"title":"Events","href":"/ui-kit/react-native/events"}]},{"group":"Guides","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/ui-kit/react-native/guide-overview"},{"title":"AI Agent Integration","sidebarTitle":"AI Agent Integration","href":"/ui-kit/react-native/guide-ai-agent"},{"title":"New Chat","sidebarTitle":"New Chat","href":"/ui-kit/react-native/guide-new-chat"},{"title":"Group Chat","sidebarTitle":"Group Chat","href":"/ui-kit/react-native/guide-group-chat"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/ui-kit/react-native/guide-threaded-messages"},{"title":"Pin \u0026 Save Messages","sidebarTitle":"Pin \u0026 Save Messages","href":"/ui-kit/react-native/guide-pin-and-save-messages"},{"title":"Text Color","sidebarTitle":"Text Color","href":"/ui-kit/react-native/guide-text-color"},{"title":"Custom Text Formatter","sidebarTitle":"Custom Text Formatter","href":"/ui-kit/react-native/guide-custom-text-formatter"},{"title":"Search Messages","sidebarTitle":"Search Messages","href":"/ui-kit/react-native/guide-search-messages"},{"title":"Message Privately","sidebarTitle":"Message Privately","href":"/ui-kit/react-native/guide-message-privately"},{"title":"Block/Unblock Users","sidebarTitle":"Block/Unblock Users","href":"/ui-kit/react-native/guide-block-unblock-user"},{"title":"Custom Message Types","sidebarTitle":"Custom Message Types","href":"/ui-kit/react-native/custom-message-types"},{"title":"Text Formatters","sidebarTitle":"Text Formatters","href":"/ui-kit/react-native/custom-text-formatter-guide"},{"title":"Mentions Formatter","href":"/ui-kit/react-native/mentions-formatter-guide"},{"title":"URL Formatter","href":"/ui-kit/react-native/url-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/react-native/shortcut-formatter-guide"},{"title":"Apple Privacy Manifest","href":"/ui-kit/react-native/apple-privacy-manifest-guide"}]},{"group":"Migration Guide","pages":[{"title":"Upgrading From V4 to V5","href":"/ui-kit/react-native/upgrading-from-v4"},{"title":"Property Changes","href":"/ui-kit/react-native/property-changes"}]},{"title":"Troubleshooting","href":"/ui-kit/react-native/troubleshooting"},{"title":"React Native Sample App","url":"https://github.com/cometchat/cometchat-uikit-react-native/tree/v5","href":"/ui-kit/react-native/link/sample"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-react-native/releases","href":"/ui-kit/react-native/link/changelog"}]}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/react-native/v4/overview"}]},{"version":"v3","pages":[{"title":"v3","href":"/ui-kit/react-native/v3/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/ui-kit/react-native/v2/overview"}]}]},{"dropdown":"iOS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/swift.svg","versions":[{"version":"v6","default":false,"groups":[{"group":" ","pages":[{"title":"iOS UI Kit","sidebarTitle":"Overview","href":"/ui-kit/ios/v6/overview"},{"group":"Getting Started","pages":[{"title":"Getting Started With CometChat iOS UI Kit","sidebarTitle":"Integration","href":"/ui-kit/ios/v6/getting-started"},{"title":"Getting Started With the SwiftUI UI Kit","sidebarTitle":"SwiftUI","href":"/ui-kit/ios/v6/getting-started-swiftui"},{"title":"Getting Started With the UIKit UI Kit","sidebarTitle":"UIKit","href":"/ui-kit/ios/v6/getting-started-uikit"},{"title":"Building A One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/ios/v6/one-to-one-chat"},{"title":"Building A Tab-Based Messaging UI","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/ios/v6/tab-based-chat"},{"title":"Calling Integration","href":"/ui-kit/ios/v6/calling-integration"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/ios/v6/core-features"},{"title":"Extensions","href":"/ui-kit/ios/v6/extensions"},{"title":"Smart Chat Features","href":"/ui-kit/ios/v6/ai-features"}]},{"title":"Call","href":"/ui-kit/ios/v6/call-features"}]},{"group":"Theming","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/ui-kit/ios/v6/theming"},{"title":"Color Resources","href":"/ui-kit/ios/v6/color-resources"},{"title":"Component Styling","href":"/ui-kit/ios/v6/component-styling"},{"title":"Message Bubble Styling","href":"/ui-kit/ios/v6/message-bubble-styling"},{"title":"Localize","href":"/ui-kit/ios/v6/localize"},{"title":"Sound Manager","href":"/ui-kit/ios/v6/sound-manager"}]},{"group":"Customization","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/ui-kit/ios/v6/customization-overview"},{"title":"View Slots","href":"/ui-kit/ios/v6/customization-view-slots"},{"title":"Styles","href":"/ui-kit/ios/v6/customization-styles"},{"title":"Stores \u0026 Data","sidebarTitle":"Stores \u0026 Data","href":"/ui-kit/ios/v6/customization-store-data"},{"title":"Events \u0026 Callbacks","href":"/ui-kit/ios/v6/customization-events"},{"title":"State Views","href":"/ui-kit/ios/v6/customization-state-views"},{"title":"Text Formatters","href":"/ui-kit/ios/v6/customization-text-formatters"},{"title":"Menu \u0026 Options","href":"/ui-kit/ios/v6/customization-menu-options"}]},{"group":"Components","pages":[{"title":"Overview","sidebarTitle":"Components","description":"Browse every prebuilt component in the CometChat iOS UI Kit v6, and the API pattern they share in the SwiftUI and UIKit toolkits.","href":"/ui-kit/ios/v6/components-overview"},{"title":"Conversations","href":"/ui-kit/ios/v6/conversations"},{"title":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","description":"Build a conversation list that opens a full-screen chat, with the CometChat iOS UI Kit v6 SwiftUI or UIKit toolkit.","href":"/ui-kit/ios/v6/conversation-message-view"},{"title":"Users","href":"/ui-kit/ios/v6/users"},{"title":"Groups","href":"/ui-kit/ios/v6/groups"},{"title":"Group Members","href":"/ui-kit/ios/v6/group-members"},{"title":"Message Header","href":"/ui-kit/ios/v6/message-header"},{"title":"Message List","href":"/ui-kit/ios/v6/message-list"},{"title":"Message Composer","href":"/ui-kit/ios/v6/message-composer"},{"title":"Message Bubbles","sidebarTitle":"Message Bubbles","href":"/ui-kit/ios/v6/message-template"},{"title":"Thread Header","href":"/ui-kit/ios/v6/thread-header"},{"title":"Outgoing Call","href":"/ui-kit/ios/v6/outgoing-call"},{"title":"Ongoing Call","href":"/ui-kit/ios/v6/ongoing-call"},{"title":"Call Buttons","href":"/ui-kit/ios/v6/call-buttons"},{"title":"Call Logs","href":"/ui-kit/ios/v6/call-logs"},{"title":"Call Log Details","href":"/ui-kit/ios/v6/call-log-details"},{"title":"Search","href":"/ui-kit/ios/v6/search"},{"title":"Pinned Messages","href":"/ui-kit/ios/v6/pinned-messages"},{"title":"Saved Messages","href":"/ui-kit/ios/v6/saved-messages"},{"title":"AI Assistant Chat History","href":"/ui-kit/ios/v6/ai-assistant-chat-history"},{"title":"Notification Feed","href":"/ui-kit/ios/v6/notification-feed"},{"title":"Create Poll","href":"/ui-kit/ios/v6/create-poll"},{"title":"Sticker Keyboard","href":"/ui-kit/ios/v6/sticker-keyboard"},{"title":"Emoji Keyboard","href":"/ui-kit/ios/v6/emoji-keyboard"},{"title":"Reaction List","href":"/ui-kit/ios/v6/reaction-list"},{"title":"Message Information","href":"/ui-kit/ios/v6/message-information"},{"title":"Flag Message","href":"/ui-kit/ios/v6/flag-message"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/ios/v6/methods"},{"title":"Events","href":"/ui-kit/ios/v6/events"}]},{"group":"Guides","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/ui-kit/ios/v6/guide-overview"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/ui-kit/ios/v6/guide-threaded-messages"},{"title":"Pin \u0026 Save Messages","sidebarTitle":"Pin \u0026 Save Messages","href":"/ui-kit/ios/v6/guide-pin-and-save-messages"},{"title":"Block/Unblock User","sidebarTitle":"Block/Unblock User","href":"/ui-kit/ios/v6/guide-block-unblock-user"},{"title":"New Chat","sidebarTitle":"New Chat","href":"/ui-kit/ios/v6/guide-new-chat"},{"title":"Message Privately","sidebarTitle":"Message Privately","href":"/ui-kit/ios/v6/guide-message-privately"},{"title":"Call Log Details","sidebarTitle":"Call Log Details","href":"/ui-kit/ios/v6/guide-call-log-details"},{"title":"Group Management","sidebarTitle":"Group Chat","href":"/ui-kit/ios/v6/guide-group-chat"},{"title":"Color Selected Text","sidebarTitle":"Color Selected Text","href":"/ui-kit/ios/v6/guide-text-color"},{"title":"Text Formatter Base Class","sidebarTitle":"Custom Text Formatter","href":"/ui-kit/ios/v6/custom-text-formatter-guide"},{"title":"Mentions Formatter","href":"/ui-kit/ios/v6/mentions-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/ios/v6/shortcut-formatter-guide"},{"title":"Search Messages","sidebarTitle":"Search Messages","href":"/ui-kit/ios/v6/guide-search-messages"},{"title":"AI Agent Integration","sidebarTitle":"AI Agent","href":"/ui-kit/ios/v6/guide-ai-agent"}]},{"title":"Architecture \u0026 Data Flow","sidebarTitle":"Architecture","href":"/ui-kit/ios/v6/architecture-data-flow"},{"group":"Migration Guide","pages":[{"title":"Upgrading from v5","sidebarTitle":"Upgrading from v5","href":"/ui-kit/ios/v6/migrating-from-v5"}]},{"title":"Troubleshooting","href":"/ui-kit/ios/v6/troubleshooting"}]}]},{"version":"v5","default":true,"pages":[{"title":"v5","href":"/ui-kit/ios/overview"}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/ios/v4/conversations"}]},{"version":"v3","pages":[{"title":"v3","href":"/ui-kit/ios/v3/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/ui-kit/ios/v2/overview"}]}]},{"dropdown":"Android","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/android.svg","versions":[{"version":"v6","groups":[{"group":" ","pages":[{"title":"Android UI Kit","sidebarTitle":"Overview","href":"/ui-kit/android/overview"},{"group":"Getting Started","pages":[{"title":"Getting Started With CometChat Android UI Kit","sidebarTitle":"Integration","href":"/ui-kit/android/getting-started"},{"title":"Getting Started With Kotlin UI Kit","sidebarTitle":"Kotlin (XML Views)","href":"/ui-kit/android/getting-started-kotlin"},{"title":"Getting Started With Jetpack Compose UI Kit","sidebarTitle":"Jetpack Compose","href":"/ui-kit/android/getting-started-jetpack"},{"title":"Building A One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/android/one-to-one-chat"},{"title":"Building A Tab-Based Messaging UI","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/android/tab-based-chat"},{"title":"Calling Integration","href":"/ui-kit/android/calling-integration"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/android/core-features"},{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/ui-kit/android/offline-support"},{"title":"RTL Support","sidebarTitle":"RTL Support","href":"/ui-kit/android/rtl-support"},{"title":"Extensions","href":"/ui-kit/android/extensions"},{"title":"Smart Chat Features","href":"/ui-kit/android/ai-features"}]},{"title":"Call","href":"/ui-kit/android/call-features"},{"title":"Campaigns","href":"/ui-kit/android/campaigns"}]},{"group":"Theming","pages":[{"title":"Introduction","href":"/ui-kit/android/theme-introduction"},{"title":"Color Resources","href":"/ui-kit/android/color-resources"},{"title":"Component Styling","href":"/ui-kit/android/component-styling"},{"title":"Message Bubble Styling","href":"/ui-kit/android/message-bubble-styling"},{"title":"Localize","href":"/ui-kit/android/localize"},{"title":"Sound Manager","href":"/ui-kit/android/sound-manager"}]},{"group":"Customization","pages":[{"title":"Overview","href":"/ui-kit/android/customization-overview"},{"title":"View Slots","href":"/ui-kit/android/customization-view-slots"},{"title":"Styles","href":"/ui-kit/android/customization-styles"},{"title":"ViewModel \u0026 Data","href":"/ui-kit/android/customization-viewmodel-data"},{"title":"Events \u0026 Callbacks","href":"/ui-kit/android/customization-events"},{"title":"State Views","href":"/ui-kit/android/customization-state-views"},{"title":"Text Formatters","href":"/ui-kit/android/customization-text-formatters"},{"title":"Menu \u0026 Options","href":"/ui-kit/android/customization-menu-options"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/android/components-overview"},{"title":"Conversations","href":"/ui-kit/android/conversations"},{"title":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/android/conversation-message-view"},{"title":"Users","href":"/ui-kit/android/users"},{"title":"Groups","href":"/ui-kit/android/groups"},{"title":"Group Members","href":"/ui-kit/android/group-members"},{"title":"Message Header","href":"/ui-kit/android/message-header"},{"title":"Message List","href":"/ui-kit/android/message-list"},{"title":"Message Composer","href":"/ui-kit/android/message-composer"},{"title":"Message Bubble Factory","href":"/ui-kit/android/message-template"},{"title":"Threaded Messages Header","href":"/ui-kit/android/threaded-messages-header"},{"title":"Incoming Call","href":"/ui-kit/android/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/android/outgoing-call"},{"title":"Ongoing Call","href":"/ui-kit/android/ongoing-call"},{"title":"Call Buttons","href":"/ui-kit/android/call-buttons"},{"title":"Call Logs","href":"/ui-kit/android/call-logs"},{"title":"Search","href":"/ui-kit/android/search"},{"title":"Pinned Messages","href":"/ui-kit/android/pinned-messages"},{"title":"Saved Messages","href":"/ui-kit/android/saved-messages"},{"title":"AI Assistant Chat History","href":"/ui-kit/android/ai-assistant-chat-history"},{"title":"Notification Feed","href":"/ui-kit/android/notification-feed"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/android/methods"},{"title":"Events","href":"/ui-kit/android/events"}]},{"group":"Guides","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/ui-kit/android/guide-overview"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/ui-kit/android/guide-threaded-messages"},{"title":"Pin \u0026 Save Messages","sidebarTitle":"Pin \u0026 Save Messages","href":"/ui-kit/android/guide-pin-and-save-messages"},{"title":"Block/Unblock User","sidebarTitle":"Block/Unblock User","href":"/ui-kit/android/guide-block-unblock-user"},{"title":"New Chat","sidebarTitle":"New Chat","href":"/ui-kit/android/guide-new-chat"},{"title":"Message Privately","sidebarTitle":"Message Privately","href":"/ui-kit/android/guide-message-privately"},{"title":"Call Log Details","sidebarTitle":"Call Log Details","href":"/ui-kit/android/guide-call-log-details"},{"title":"Group Management","sidebarTitle":"Group Management","href":"/ui-kit/android/guide-group-chat"},{"title":"Color Selected Text","sidebarTitle":"Color Selected Text","href":"/ui-kit/android/guide-text-color"},{"title":"Text Formatter Base Class","sidebarTitle":"Text Formatter Base Class","href":"/ui-kit/android/custom-text-formatter-guide"},{"title":"Mentions Formatter","href":"/ui-kit/android/mentions-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/android/shortcut-formatter-guide"},{"title":"Search Messages","sidebarTitle":"Search Messages","href":"/ui-kit/android/guide-search-messages"},{"title":"AI Agent Integration","sidebarTitle":"AI Agent Integration","href":"/ui-kit/android/guide-ai-agent"}]},{"title":"Architecture \u0026 Data Flow","href":"/ui-kit/android/architecture-data-flow"},{"group":"Migration Guide","pages":[{"title":"Upgrading from V5 to V6","href":"/ui-kit/android/upgrading-from-v5"}]},{"title":"Troubleshooting","href":"/ui-kit/android/troubleshooting"},{"title":"Android Sample App","url":"https://github.com/cometchat/cometchat-uikit-android/tree/v6","href":"/ui-kit/android/link/sample"},{"title":"Figma Design","url":"https://www.figma.com/community/file/1444324233177163609/cometchat-ui-kit-for-android","href":"/ui-kit/android/link/figma"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-android/releases","href":"/ui-kit/android/link/changelog"}]}]},{"version":"v5","pages":[{"title":"v5","href":"/ui-kit/android/v5/overview"}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/android/v4/overview"}]},{"version":"v3","pages":[{"title":"v3","href":"/ui-kit/android/v3/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/ui-kit/android/v2/overview"}]}]},{"dropdown":"Flutter","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/flutter.svg","versions":[{"version":"v6","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit For Flutter (V6)","sidebarTitle":"Overview","href":"/ui-kit/flutter/overview"},{"group":"Getting Started","pages":[{"title":"Getting Started With CometChat Flutter UI Kit V6","sidebarTitle":"Getting Started","href":"/ui-kit/flutter/getting-started"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/flutter/flutter-conversation"},{"title":"Building A One To One/Group Chat Experience","sidebarTitle":"One To One/Group Chat","href":"/ui-kit/flutter/flutter-one-to-one-chat"},{"title":"Building A Messaging UI With Tabs, Sidebar, And Message View","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/flutter/flutter-tab-based-chat"},{"title":"Calling Integration","href":"/ui-kit/flutter/calling-integration"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core Features","href":"/ui-kit/flutter/core-features"},{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/ui-kit/flutter/offline-support"},{"title":"RTL Support","sidebarTitle":"RTL Support","href":"/ui-kit/flutter/rtl-support"},{"title":"Extensions","href":"/ui-kit/flutter/extensions"}]},{"title":"Call","href":"/ui-kit/flutter/call-features"},{"title":"Campaigns","href":"/ui-kit/flutter/campaigns"}]},{"group":"Theming","pages":[{"title":"Theming In CometChat Flutter UI Kit V6","sidebarTitle":"Theming","href":"/ui-kit/flutter/theme-introduction"},{"title":"Color Resources","href":"/ui-kit/flutter/color-resources"},{"title":"Component Styling","sidebarTitle":"Component Styling","href":"/ui-kit/flutter/component-styling"},{"title":"Customizing Message Bubbles","sidebarTitle":"Message Bubble Styling","href":"/ui-kit/flutter/message-bubble-styling"},{"title":"Localize","href":"/ui-kit/flutter/localize"},{"title":"Sound Manager","href":"/ui-kit/flutter/sound-manager"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/flutter/components-overview"},{"title":"Conversations","href":"/ui-kit/flutter/conversations"},{"title":"Users","href":"/ui-kit/flutter/users"},{"title":"Groups","href":"/ui-kit/flutter/groups"},{"title":"Group Members","href":"/ui-kit/flutter/group-members"},{"title":"Message Header","href":"/ui-kit/flutter/message-header"},{"title":"Message List","href":"/ui-kit/flutter/message-list"},{"title":"Message Composer","href":"/ui-kit/flutter/message-composer"},{"title":"Threaded Messages Header","href":"/ui-kit/flutter/threaded-messages-header"},{"title":"Incoming Call","href":"/ui-kit/flutter/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/flutter/outgoing-call"},{"title":"Call Buttons","href":"/ui-kit/flutter/call-buttons"},{"title":"Call Logs","href":"/ui-kit/flutter/call-logs"},{"title":"Search","href":"/ui-kit/flutter/search"},{"title":"Pinned Messages","href":"/ui-kit/flutter/pinned-messages"},{"title":"Saved Messages","href":"/ui-kit/flutter/saved-messages"},{"title":"Notification Feed","href":"/ui-kit/flutter/notification-feed"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/flutter/methods"},{"title":"Events","href":"/ui-kit/flutter/events"}]},{"group":"Customization","pages":[{"title":"Customization Overview","href":"/ui-kit/flutter/customization-overview"},{"title":"View Slots","href":"/ui-kit/flutter/customization-view-slots"},{"title":"BLoC \u0026 Data","href":"/ui-kit/flutter/customization-bloc-data"},{"title":"State Views","href":"/ui-kit/flutter/customization-state-views"},{"title":"Text Formatters","href":"/ui-kit/flutter/customization-text-formatters"},{"title":"Menu \u0026 Options","href":"/ui-kit/flutter/customization-menu-options"},{"title":"MessageTemplateUtils \u0026 Data Source","href":"/ui-kit/flutter/customization-datasource"}]},{"group":"Advanced","pages":[{"title":"Message Template","href":"/ui-kit/flutter/message-template"},{"title":"Mentions Formatter","href":"/ui-kit/flutter/mentions-formatter-guide"},{"title":"Shortcut Formatter","href":"/ui-kit/flutter/shortcut-formatter-guide"},{"title":"Custom Text Formatter Guide","href":"/ui-kit/flutter/custom-text-formatter-guide"},{"title":"Troubleshooting","href":"/ui-kit/flutter/troubleshooting"}]},{"group":"Guides","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/ui-kit/flutter/guide-overview"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/ui-kit/flutter/guide-threaded-messages"},{"title":"Thread Subscription","sidebarTitle":"Thread Subscription","href":"/ui-kit/flutter/guide-thread-subscription"},{"title":"Pin \u0026 Save Messages","sidebarTitle":"Pin \u0026 Save Messages","href":"/ui-kit/flutter/guide-pin-and-save-messages"},{"title":"Implementing Block/Unblock User in Flutter with CometChat UIKit","sidebarTitle":"Block/Unblock User","href":"/ui-kit/flutter/guide-block-unblock-user"},{"title":"New Chat","sidebarTitle":"New Chat","href":"/ui-kit/flutter/guide-new-chat"},{"title":"Message Privately","sidebarTitle":"Message Privately","href":"/ui-kit/flutter/guide-message-privately"},{"title":"Call Log Details","sidebarTitle":"Call Log Details","href":"/ui-kit/flutter/guide-call-log-details"},{"title":"Group Chat","sidebarTitle":"Group Chat","href":"/ui-kit/flutter/guide-group-chat"},{"title":"Message Agentic Flow","sidebarTitle":"Message Agentic Flow","href":"/ui-kit/flutter/guide-message-agentic-flow"},{"title":"Multi Tab Chat UI Guide","href":"/ui-kit/flutter/multi-tab-chat-ui-guide"}]},{"group":"Migration Guide","pages":[{"title":"Upgrading From V5","sidebarTitle":"Upgrading From V5","href":"/ui-kit/flutter/upgrading-from-v5"}]},{"title":"Flutter Sample App","url":"https://github.com/cometchat/cometchat-sample-app-flutter","href":"/ui-kit/flutter/link/sample"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-flutter/releases","href":"/ui-kit/flutter/link/changelog"}]}]},{"version":"v5","pages":[{"title":"v5","href":"/ui-kit/flutter/v5/overview"}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/flutter/v4/overview"}]}]},{"dropdown":"Angular","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/angular.svg","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"title":"Angular UI Kit","sidebarTitle":"Overview","href":"/ui-kit/angular/overview"},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/ui-kit/angular/quickstart"},{"title":"Integration","sidebarTitle":"Integration","href":"/ui-kit/angular/integration"},{"title":"Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/angular/angular-conversation"},{"title":"One-to-One / Group Chat","sidebarTitle":"One-to-One / Group Chat","href":"/ui-kit/angular/angular-one-to-one-chat"},{"title":"Tab-Based Chat","sidebarTitle":"Tab-Based Chat","href":"/ui-kit/angular/angular-tab-based-chat"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core Features","href":"/ui-kit/angular/core-features"},{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/ui-kit/angular/offline-support"},{"title":"Extensions","href":"/ui-kit/angular/extensions"},{"title":"AI Smart Chat Features","href":"/ui-kit/angular/ai-features"}]},{"title":"Call Features","href":"/ui-kit/angular/call-features"},{"title":"Campaigns","href":"/ui-kit/angular/campaigns"},{"title":"RTL Support","href":"/ui-kit/angular/rtl-support"}]},{"group":"Theming","pages":[{"title":"Theming","href":"/ui-kit/angular/customization/theming"},{"title":"Message Bubble Styling","href":"/ui-kit/angular/message-bubble-styling"},{"title":"Localization","href":"/ui-kit/angular/customization/localization"},{"title":"Global Configuration","href":"/ui-kit/angular/customization/global-config"},{"title":"Date \u0026 Time Formatting","href":"/ui-kit/angular/customization/date-time-formatting"},{"title":"Sound Manager","href":"/ui-kit/angular/sound-manager"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/angular/components/components-overview"},{"group":"Conversations","pages":[{"title":"Conversations","href":"/ui-kit/angular/components/cometchat-conversations"},{"title":"Conversation Item","href":"/ui-kit/angular/components/cometchat-conversation-item"}]},{"group":"Users","pages":[{"title":"Users","href":"/ui-kit/angular/components/cometchat-users"},{"title":"User Item","href":"/ui-kit/angular/components/cometchat-user-item"}]},{"group":"Groups","pages":[{"title":"Groups","href":"/ui-kit/angular/components/cometchat-groups"},{"title":"Group Item","href":"/ui-kit/angular/components/cometchat-group-item"}]},{"group":"Group Members","pages":[{"title":"Group Members","href":"/ui-kit/angular/components/cometchat-group-members"},{"title":"Group Member Item","href":"/ui-kit/angular/components/cometchat-group-member-item"}]},{"title":"Message Header","href":"/ui-kit/angular/components/cometchat-message-header"},{"title":"Search","href":"/ui-kit/angular/components/cometchat-search"},{"title":"Message List","href":"/ui-kit/angular/components/cometchat-message-list"},{"title":"Message Composer","href":"/ui-kit/angular/components/cometchat-message-composer"},{"title":"Message Bubble","href":"/ui-kit/angular/components/cometchat-message-bubble"},{"title":"Message Information","href":"/ui-kit/angular/components/cometchat-message-information"},{"title":"Thread Header","href":"/ui-kit/angular/components/cometchat-thread-header"},{"title":"Pinned Messages","href":"/ui-kit/angular/components/cometchat-pinned-messages"},{"title":"Saved Messages","href":"/ui-kit/angular/components/cometchat-saved-messages"},{"group":"Message Bubbles","pages":[{"title":"Text Bubble","href":"/ui-kit/angular/components/cometchat-text-bubble"},{"title":"Card Bubble","href":"/ui-kit/angular/components/cometchat-card-bubble"},{"title":"Image Bubble","href":"/ui-kit/angular/components/cometchat-image-bubble"},{"title":"Video Bubble","href":"/ui-kit/angular/components/cometchat-video-bubble"},{"title":"Audio Bubble","href":"/ui-kit/angular/components/cometchat-audio-bubble"},{"title":"File Bubble","href":"/ui-kit/angular/components/cometchat-file-bubble"},{"title":"Action Bubble","href":"/ui-kit/angular/components/cometchat-action-bubble"},{"title":"Delete Bubble","href":"/ui-kit/angular/components/cometchat-delete-bubble"},{"title":"Call Bubble","href":"/ui-kit/angular/components/cometchat-call-bubble"},{"title":"Poll Bubble","href":"/ui-kit/angular/components/cometchat-poll-bubble"},{"title":"Collaborative Document Bubble","href":"/ui-kit/angular/components/cometchat-collaborative-document-bubble"},{"title":"Collaborative Whiteboard Bubble","href":"/ui-kit/angular/components/cometchat-collaborative-whiteboard-bubble"},{"title":"Sticker Bubble","href":"/ui-kit/angular/components/cometchat-sticker-bubble"},{"title":"Stickers Keyboard","href":"/ui-kit/angular/components/cometchat-stickers-keyboard"}]},{"group":"Reactions","pages":[{"title":"Reactions","href":"/ui-kit/angular/components/cometchat-reactions"},{"title":"Reaction List","href":"/ui-kit/angular/components/cometchat-reaction-list"},{"title":"Reaction Info","href":"/ui-kit/angular/components/cometchat-reaction-info"}]},{"group":"Calls","pages":[{"title":"Call Buttons","href":"/ui-kit/angular/components/cometchat-call-buttons"},{"title":"Incoming Call","href":"/ui-kit/angular/components/cometchat-incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/angular/components/cometchat-outgoing-call"},{"title":"Call Logs","href":"/ui-kit/angular/components/cometchat-call-logs"}]},{"group":"AI","pages":[{"title":"Smart Replies","href":"/ui-kit/angular/components/cometchat-smart-replies"},{"title":"Conversation Starter","href":"/ui-kit/angular/components/cometchat-conversation-starter"},{"title":"Conversation Summary","href":"/ui-kit/angular/components/cometchat-conversation-summary"},{"title":"CometChatAIAssistantChat","href":"/ui-kit/angular/components/cometchat-ai-assistant-chat"},{"title":"CometChatMarkdownRenderer","href":"/ui-kit/angular/components/cometchat-markdown-renderer"}]},{"title":"Notification Feed","href":"/ui-kit/angular/components/notification-feed"}]},{"group":"Reference","pages":[{"title":"Events","href":"/ui-kit/angular/events"},{"title":"Methods","href":"/ui-kit/angular/methods"},{"title":"Accessibility","href":"/ui-kit/angular/accessibility"},{"title":"Troubleshooting","href":"/ui-kit/angular/troubleshooting"}]},{"group":"Guides","pages":[{"title":"Guides","sidebarTitle":"Overview","href":"/ui-kit/angular/guides/guides-overview"},{"title":"State Management","href":"/ui-kit/angular/guides/state-management"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/ui-kit/angular/guides/threaded-messages"},{"title":"Thread Subscription","sidebarTitle":"Thread Subscription","href":"/ui-kit/angular/guides/thread-subscription"},{"title":"Pin and Save Messages","sidebarTitle":"Pin \u0026 Save","href":"/ui-kit/angular/guides/pin-and-save-messages"},{"title":"Group Chat","sidebarTitle":"Group Chat","href":"/ui-kit/angular/guides/group-chat"},{"title":"New Chat","sidebarTitle":"New Chat","href":"/ui-kit/angular/guides/new-chat"},{"title":"Block/Unblock Users","sidebarTitle":"Block/Unblock Users","href":"/ui-kit/angular/guides/block-unblock-user"},{"title":"Message Privately","sidebarTitle":"Message Privately","href":"/ui-kit/angular/guides/message-privately"},{"title":"Call Log Details","sidebarTitle":"Call Log Details","href":"/ui-kit/angular/guides/call-log-details"},{"title":"Search Messages","sidebarTitle":"Search Messages","href":"/ui-kit/angular/guides/search-messages"},{"title":"Rich Text Formatting","sidebarTitle":"Rich Text Formatting","href":"/ui-kit/angular/guides/rich-text-formatting"},{"title":"Custom Message Types","href":"/ui-kit/angular/guides/custom-message-types"},{"title":"Card Messages","href":"/ui-kit/angular/guides/card-messages"},{"title":"Custom Text Formatter","sidebarTitle":"Custom Text Formatter","href":"/ui-kit/angular/guides/custom-text-formatter"},{"title":"Mentions Formatter","href":"/ui-kit/angular/guides/mentions-formatter"},{"title":"ShortCut Formatter","href":"/ui-kit/angular/guides/shortcut-formatter"},{"title":"Hashtag Formatter","href":"/ui-kit/angular/guides/hashtag-formatter"},{"title":"URL Formatter","href":"/ui-kit/angular/guides/url-formatter"},{"title":"RxJS Subscription Patterns","href":"/ui-kit/angular/guides/subscription-patterns"}]},{"group":"Services","pages":[{"title":"Services","href":"/ui-kit/angular/api-reference/introduction"},{"title":"Chat State Service","href":"/ui-kit/angular/api-reference/chat-state-service"},{"title":"Message Bubble Config Service","href":"/ui-kit/angular/api-reference/message-bubble-config-service"},{"title":"CometChat Templates Service","href":"/ui-kit/angular/api-reference/templates-service"},{"title":"Search Conversations Service","href":"/ui-kit/angular/api-reference/search-conversations-service"},{"title":"Search Messages Service","href":"/ui-kit/angular/api-reference/search-messages-service"},{"title":"Formatter Config Service","href":"/ui-kit/angular/api-reference/formatter-config-service"},{"title":"Rich Text Editor Service","href":"/ui-kit/angular/api-reference/rich-text-editor-service"}]},{"title":"Upgrading From V4","href":"/ui-kit/angular/customization/migration-guide"}]}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/angular/v4/overview"}]},{"version":"v3","pages":[{"title":"v3","href":"/ui-kit/angular/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/ui-kit/angular/2.0/overview"}]}]},{"dropdown":"Vue","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/vuejs.svg","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"title":"Overview","href":"/ui-kit/vue/overview"},{"title":"Key Concepts","href":"/ui-kit/vue/key-concepts"},{"group":"Integration","pages":[{"title":"Integration","sidebarTitle":"Overview","href":"/ui-kit/vue/integration"},{"title":"CometChat UI Kit","href":"/ui-kit/vue/ui-kit-methods"},{"title":"Theme","href":"/ui-kit/vue/theme"}]},{"title":"Nuxt.Js Integration","href":"/ui-kit/vue/nuxtjs-integration"},{"title":"UI Components","href":"/ui-kit/vue/ui-components-overview"},{"group":"Conversations","pages":[{"title":"Conversations With Messages","href":"/ui-kit/vue/conversations-with-messages"},{"title":"Conversations","href":"/ui-kit/vue/conversations"},{"title":"Contacts","href":"/ui-kit/vue/contacts"}]},{"group":"Users","pages":[{"title":"Users With Messages","href":"/ui-kit/vue/users-with-messages"},{"title":"Users","href":"/ui-kit/vue/users"},{"title":"User Details","href":"/ui-kit/vue/user-details"}]},{"group":"Groups","pages":[{"title":"Groups With Messages","href":"/ui-kit/vue/groups-with-messages"},{"title":"Groups","href":"/ui-kit/vue/groups"},{"title":"Group Members","href":"/ui-kit/vue/group-members"},{"title":"Add Members","href":"/ui-kit/vue/group-add-members"},{"title":"Banned Members","href":"/ui-kit/vue/group-banned-members"},{"title":"Transfer Ownership","href":"/ui-kit/vue/group-transfer-ownership"},{"title":"Group Details","href":"/ui-kit/vue/group-details"}]},{"group":"Messages","pages":[{"title":"Messages","href":"/ui-kit/vue/messages"},{"title":"Message Header","href":"/ui-kit/vue/message-header"},{"title":"Message List","href":"/ui-kit/vue/message-list"},{"title":"Message Composer","href":"/ui-kit/vue/message-composer"},{"title":"Message Information","href":"/ui-kit/vue/message-information"},{"title":"Threaded Messages","href":"/ui-kit/vue/threaded-messages"}]},{"group":"Calls","pages":[{"title":"Integration","href":"/ui-kit/vue/calls-integration"},{"title":"Incoming Call","href":"/ui-kit/vue/incoming-call"},{"title":"Ongoing Call","href":"/ui-kit/vue/ongoing-call"},{"title":"Outgoing Call","href":"/ui-kit/vue/outgoing-call"},{"title":"Call Buttons","href":"/ui-kit/vue/call-buttons"}]},{"group":"AI","pages":[{"title":"Integration","href":"/ui-kit/vue/ai-integration"},{"title":"AI Conversation Starter","href":"/ui-kit/vue/ai-conversation-starter"},{"title":"AI Smart Replies","href":"/ui-kit/vue/ai-smart-replies"},{"title":"AI Conversation Summary","href":"/ui-kit/vue/ai-conversation-summary"},{"title":"AI Assist Bot","href":"/ui-kit/vue/ai-assist-bot"}]},{"group":"Views","pages":[{"title":"Message Bubble","href":"/ui-kit/vue/message-bubble"},{"title":"User Member Wrapper","href":"/ui-kit/vue/user-member-wrapper"},{"title":"Tabs","href":"/ui-kit/vue/tabs"}]},{"title":"Elements","href":"/ui-kit/vue/web-elements"},{"title":"Shared","href":"/ui-kit/vue/shared-elements"},{"title":"Vue Sample App","url":"https://github.com/cometchat/cometchat-sample-app-vue/releases","href":"/ui-kit/vue/link/sample"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-vue/releases","href":"/ui-kit/vue/link/changelog"}]}]},{"version":"v3","pages":[{"title":"v3","href":"/ui-kit/vue/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/ui-kit/vue/2.0/overview"}]}]}]},{"tab":"SDKs","dropdowns":[{"dropdown":"JavaScript","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/js.svg","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"title":"Overview","href":"/sdk/javascript/overview"},{"title":"Setup","sidebarTitle":"Setup","href":"/sdk/javascript/setup-sdk"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/sdk/javascript/authentication-overview"},{"title":"PHP Backend + JS SDK: Auth Token Login","sidebarTitle":"PHP Auth Token Sample","href":"/sdk/javascript/php-auth-token-sample"},{"group":"Messaging","pages":[{"title":"Send A Message","href":"/sdk/javascript/send-message"},{"title":"Upload Files \u0026 Send Attachments","sidebarTitle":"Upload Files","href":"/sdk/javascript/upload-files"},{"title":"Receive A Message","href":"/sdk/javascript/receive-message"},{"title":"Card Messages","href":"/sdk/javascript/card-messages"},{"title":"Additional Message Filtering","href":"/sdk/javascript/message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/javascript/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/javascript/threaded-messages"},{"title":"Thread Subscription","href":"/sdk/javascript/thread-subscription"},{"title":"Edit A Message","href":"/sdk/javascript/edit-message"},{"title":"Delete A Message","href":"/sdk/javascript/delete-message"},{"title":"Flag Message","href":"/sdk/javascript/flag-message"},{"title":"Pin A Message","href":"/sdk/javascript/pin-message"},{"title":"Save A Message","href":"/sdk/javascript/save-message"},{"title":"Delete A Conversation","href":"/sdk/javascript/delete-conversation"},{"title":"Pin A Conversation","href":"/sdk/javascript/pin-conversation"},{"title":"Typing Indicators","href":"/sdk/javascript/typing-indicators"},{"title":"Transient Messages","href":"/sdk/javascript/transient-messages"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/javascript/delivery-read-receipts"},{"title":"Mentions","href":"/sdk/javascript/mentions"},{"title":"Reactions","href":"/sdk/javascript/reactions"}]},{"group":"Offline Support","pages":[{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/sdk/javascript/offline-overview"},{"title":"Enable Offline Support","sidebarTitle":"Enable Offline Support","href":"/sdk/javascript/offline-enable"},{"title":"Show Cached Data","sidebarTitle":"Show Cached Data","href":"/sdk/javascript/offline-cached-data"},{"title":"Send While Offline","sidebarTitle":"Send While Offline","href":"/sdk/javascript/offline-send"},{"title":"Stay in Sync","sidebarTitle":"Stay in Sync","href":"/sdk/javascript/offline-sync"},{"title":"Media Caching","sidebarTitle":"Media Caching","href":"/sdk/javascript/offline-media-caching"},{"title":"Encrypt the Cache","sidebarTitle":"Encrypt the Cache","href":"/sdk/javascript/offline-encryption"},{"title":"Offline Configuration \u0026 API Reference","sidebarTitle":"Configuration \u0026 API Reference","href":"/sdk/javascript/offline-reference"}]},{"title":"Calling","sidebarTitle":"Calling","href":"/sdk/javascript/calling-overview"},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/javascript/users-overview"},{"title":"Retrieve Users","href":"/sdk/javascript/retrieve-users"},{"title":"User Management","href":"/sdk/javascript/user-management"},{"title":"Block Users","href":"/sdk/javascript/block-users"}]},{"title":"User Presence","sidebarTitle":"Overview","href":"/sdk/javascript/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/javascript/groups-overview"},{"title":"Retrieve Groups","href":"/sdk/javascript/retrieve-groups"},{"title":"Create A Group","href":"/sdk/javascript/create-group"},{"title":"Update A Group","href":"/sdk/javascript/update-group"},{"title":"Join A Group","href":"/sdk/javascript/join-group"},{"title":"Leave A Group","href":"/sdk/javascript/leave-group"},{"title":"Delete A Group","href":"/sdk/javascript/delete-group"},{"title":"Retrieve Group Members","href":"/sdk/javascript/retrieve-group-members"},{"title":"Add Members To A Group","href":"/sdk/javascript/group-add-members"},{"title":"Ban Or Kick Member From A Group","href":"/sdk/javascript/group-kick-ban-members"},{"title":"Change Member Scope","href":"/sdk/javascript/group-change-member-scope"},{"title":"Transfer Group Ownership","href":"/sdk/javascript/transfer-group-ownership"}]},{"title":"AI Moderation","sidebarTitle":"AI Moderation","href":"/sdk/javascript/ai-moderation"},{"title":"AI Agents","href":"/sdk/javascript/ai-agents"},{"title":"Smart Chat Features","sidebarTitle":"Smart Chat Features","href":"/sdk/javascript/ai-copilot"},{"title":"Campaigns","href":"/sdk/javascript/campaigns"},{"title":"Webhooks","href":"/sdk/javascript/webhooks"},{"group":"Resources","pages":[{"title":"Key Concepts","href":"/sdk/javascript/key-concepts"},{"title":"Message","sidebarTitle":"Message Structure And Hierarchy","href":"/sdk/javascript/message-structure-and-hierarchy"},{"title":"All Real Time Listeners","href":"/sdk/javascript/all-real-time-listeners"},{"title":"Rate Limits","href":"/sdk/javascript/rate-limits"},{"title":"Connection Status","href":"/sdk/javascript/connection-status"},{"title":"Managing Web Sockets Connections Manually","href":"/sdk/javascript/managing-web-sockets-connections-manually"}]},{"group":"Reference","pages":[{"title":"Messages","sidebarTitle":"Messages","href":"/sdk/reference/messages"},{"title":"Entities","sidebarTitle":"Entities","href":"/sdk/reference/entities"},{"title":"Auxiliary","sidebarTitle":"Auxiliary","href":"/sdk/reference/auxiliary"},{"title":"Calls","sidebarTitle":"Calls","href":"/sdk/reference/calls"}]},{"title":"Best Practices","sidebarTitle":"Best Practices","href":"/sdk/javascript/best-practices"},{"title":"Error Codes","sidebarTitle":"Error Codes","href":"/sdk/javascript/error-codes"},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/sdk/javascript/troubleshooting"},{"title":"Upgrading From V3","href":"/sdk/javascript/upgrading-from-v3"},{"title":"Extensions","url":"/fundamentals/extensions-overview","href":"/sdk/javascript/extensions-overview"},{"title":"AI","url":"/fundamentals/ai-user-copilot/overview","href":"/sdk/javascript/ai-user-copilot-overview"},{"title":"Bots","url":"https://assets.cometchat.io/legacy-docs/ai-chatbots/ai-bots/overview.html","href":"/sdk/javascript/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks","href":"/sdk/javascript/webhooks-overview"},{"title":"Changelog","url":"https://github.com/cometchat/chat-sdk-javascript/releases","href":"/sdk/javascript/changelog"}]}]},{"version":"v3","pages":[{"title":"v3","href":"/sdk/javascript/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/sdk/javascript/2.0/overview"}]}]},{"dropdown":"React Native","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/react.svg","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"title":"React Native SDK","sidebarTitle":"Overview","href":"/sdk/react-native/overview"},{"title":"Setup","sidebarTitle":"Setup","href":"/sdk/react-native/setup-sdk"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/sdk/react-native/authentication-overview"},{"group":"Messaging","pages":[{"title":"Send Messages","sidebarTitle":"Send Messages","href":"/sdk/react-native/send-message"},{"title":"Upload Files \u0026 Send Attachments","sidebarTitle":"Upload Files","href":"/sdk/react-native/upload-files"},{"title":"Receive Messages","sidebarTitle":"Receive Messages","href":"/sdk/react-native/receive-messages"},{"title":"Message Filtering","sidebarTitle":"Message Filtering","href":"/sdk/react-native/additional-message-filtering"},{"title":"Retrieve Conversations","sidebarTitle":"Retrieve Conversations","href":"/sdk/react-native/retrieve-conversations"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/sdk/react-native/threaded-messages"},{"title":"Thread Subscription","sidebarTitle":"Thread Subscription","href":"/sdk/react-native/thread-subscription"},{"title":"Edit Message","sidebarTitle":"Edit Message","href":"/sdk/react-native/edit-message"},{"title":"Delete Message","sidebarTitle":"Delete Message","href":"/sdk/react-native/delete-message"},{"title":"Flag Message","sidebarTitle":"Flag Message","href":"/sdk/react-native/flag-message"},{"title":"Pin A Message","sidebarTitle":"Pin A Message","href":"/sdk/react-native/pin-message"},{"title":"Save A Message","sidebarTitle":"Save A Message","href":"/sdk/react-native/save-message"},{"title":"Delete Conversation","sidebarTitle":"Delete Conversation","href":"/sdk/react-native/delete-conversation"},{"title":"Pin A Conversation","sidebarTitle":"Pin A Conversation","href":"/sdk/react-native/pin-conversation"},{"title":"Typing Indicators","sidebarTitle":"Typing Indicators","href":"/sdk/react-native/typing-indicators"},{"title":"Transient Messages","sidebarTitle":"Transient Messages","href":"/sdk/react-native/transient-messages"},{"title":"Delivery \u0026 Read Receipts","sidebarTitle":"Delivery \u0026 Read Receipts","href":"/sdk/react-native/delivery-read-receipts"},{"title":"Mentions","sidebarTitle":"Mentions","href":"/sdk/react-native/mentions"},{"title":"Reactions","sidebarTitle":"Reactions","href":"/sdk/react-native/reactions"}]},{"group":"Offline Support","pages":[{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/sdk/react-native/offline-overview"},{"title":"Enable Offline Support","sidebarTitle":"Enable Offline Support","href":"/sdk/react-native/offline-enable"},{"title":"Show Cached Data","sidebarTitle":"Show Cached Data","href":"/sdk/react-native/offline-cached-data"},{"title":"Send While Offline","sidebarTitle":"Send While Offline","href":"/sdk/react-native/offline-send"},{"title":"Stay in Sync","sidebarTitle":"Stay in Sync","href":"/sdk/react-native/offline-sync"},{"title":"Media Caching","sidebarTitle":"Media Caching","href":"/sdk/react-native/offline-media-caching"},{"title":"Encrypt the Cache","sidebarTitle":"Encrypt the Cache","href":"/sdk/react-native/offline-encryption"},{"title":"Offline Configuration \u0026 API Reference","sidebarTitle":"Configuration \u0026 API Reference","href":"/sdk/react-native/offline-reference"}]},{"title":"Calling","sidebarTitle":"Calling","href":"/sdk/react-native/calling-overview"},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/react-native/users-overview"},{"title":"Retrieve Users","sidebarTitle":"Retrieve Users","href":"/sdk/react-native/retrieve-users"},{"title":"User Management","sidebarTitle":"User Management","href":"/sdk/react-native/user-management"},{"title":"Block Users","sidebarTitle":"Block Users","href":"/sdk/react-native/block-users"}]},{"title":"User Presence","sidebarTitle":"User Presence","href":"/sdk/react-native/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/react-native/groups-overview"},{"title":"Retrieve Groups","sidebarTitle":"Retrieve Groups","href":"/sdk/react-native/retrieve-groups"},{"title":"Create A Group","sidebarTitle":"Create Group","href":"/sdk/react-native/create-group"},{"title":"Update A Group","sidebarTitle":"Update Group","href":"/sdk/react-native/update-group"},{"title":"Join A Group","sidebarTitle":"Join Group","href":"/sdk/react-native/join-group"},{"title":"Leave A Group","sidebarTitle":"Leave Group","href":"/sdk/react-native/leave-group"},{"title":"Delete A Group","sidebarTitle":"Delete Group","href":"/sdk/react-native/delete-group"},{"title":"Retrieve Group Members","sidebarTitle":"Retrieve Members","href":"/sdk/react-native/retrieve-group-members"},{"title":"Add Members To A Group","sidebarTitle":"Add Members","href":"/sdk/react-native/group-add-members"},{"title":"Ban Or Kick Member From A Group","sidebarTitle":"Kick \u0026 Ban Members","href":"/sdk/react-native/group-kick-ban-members"},{"title":"Change Member Scope","sidebarTitle":"Change Scope","href":"/sdk/react-native/group-change-member-scope"},{"title":"Transfer Group Ownership","sidebarTitle":"Transfer Ownership","href":"/sdk/react-native/transfer-group-ownership"}]},{"title":"AI Moderation","sidebarTitle":"AI Moderation","href":"/sdk/react-native/ai-moderation"},{"title":"AI Agents","sidebarTitle":"AI Agents","href":"/sdk/react-native/ai-agents"},{"title":"Campaigns","href":"/sdk/react-native/campaigns"},{"group":"Resources","pages":[{"title":"Key Concepts","href":"/sdk/react-native/key-concepts"},{"title":"Message Structure and Hierarchy","sidebarTitle":"Message Structure","href":"/sdk/react-native/message-structure-and-hierarchy"},{"title":"All Real Time Listeners","href":"/sdk/react-native/real-time-listeners"},{"title":"Rate Limits","href":"/sdk/react-native/rate-limits"},{"title":"Connection Status","href":"/sdk/react-native/connection-status"},{"title":"Managing Web Sockets Connections Manually","href":"/sdk/react-native/managing-web-sockets-connections-manually"},{"title":"Push Notification Content Customization","href":"/sdk/react-native/push-notification-html-stripping"}]},{"title":"Upgrading From V3","href":"/sdk/react-native/upgrading-from-v3"},{"title":"Extensions","url":"/fundamentals/extensions-overview","href":"/sdk/react-native/extensions-overview"},{"title":"AI","url":"/fundamentals/ai-user-copilot/overview","href":"/sdk/react-native/ai-user-copilot-overview"},{"title":"Bots","url":"https://assets.cometchat.io/legacy-docs/ai-chatbots/ai-bots/overview.html","href":"/sdk/react-native/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks","href":"/sdk/react-native/webhooks-overview"},{"title":"React Native UI Kit","url":"/ui-kit/react-native/overview","href":"/sdk/react-native/react-native-overview"},{"title":"Changelog","url":"https://github.com/cometchat/chat-sdk-react-native/releases","href":"/sdk/react-native/changelog"}]}]},{"version":"v3","pages":[{"title":"v3","href":"/sdk/react-native/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/sdk/react-native/2.0/overview"}]}]},{"dropdown":"iOS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/swift.svg","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"title":"iOS SDK","sidebarTitle":"Overview","href":"/sdk/ios/overview"},{"title":"Setup","sidebarTitle":"Setup","href":"/sdk/ios/setup"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/sdk/ios/authentication-overview"},{"group":"Messaging","pages":[{"title":"Send Messages","sidebarTitle":"Send Messages","href":"/sdk/ios/send-message"},{"title":"Upload Files \u0026 Send Attachments","sidebarTitle":"Upload Files","href":"/sdk/ios/upload-files"},{"title":"Receive Messages","sidebarTitle":"Receive Messages","href":"/sdk/ios/receive-message"},{"title":"Message Filtering","sidebarTitle":"Message Filtering","href":"/sdk/ios/additional-message-filtering"},{"title":"Retrieve Conversations","sidebarTitle":"Retrieve Conversations","href":"/sdk/ios/retrieve-conversations"},{"title":"Threaded Messages","sidebarTitle":"Threaded Messages","href":"/sdk/ios/threaded-messages"},{"title":"Thread Subscription","href":"/sdk/ios/thread-subscription"},{"title":"Edit Message","sidebarTitle":"Edit Message","href":"/sdk/ios/edit-message"},{"title":"Delete Message","sidebarTitle":"Delete Message","href":"/sdk/ios/delete-message"},{"title":"Delete Conversation","sidebarTitle":"Delete Conversation","href":"/sdk/ios/delete-conversation"},{"title":"Flag Message","sidebarTitle":"Flag Message","href":"/sdk/ios/flag-message"},{"title":"Typing Indicators","sidebarTitle":"Typing Indicators","href":"/sdk/ios/typing-indicators"},{"title":"Transient Messages","sidebarTitle":"Transient Messages","href":"/sdk/ios/transient-messages"},{"title":"Delivery \u0026 Read Receipts","sidebarTitle":"Delivery \u0026 Read Receipts","href":"/sdk/ios/delivery-read-receipts"},{"title":"Mentions","sidebarTitle":"Mentions","href":"/sdk/ios/mentions"},{"title":"Reactions","sidebarTitle":"Reactions","href":"/sdk/ios/reactions"},{"title":"Pin \u0026 Save Messages","sidebarTitle":"Pin \u0026 Save Messages","href":"/sdk/ios/pin-save-message"}]},{"group":"Offline Support","pages":[{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/sdk/ios/offline-overview"},{"title":"Enable Offline Support","sidebarTitle":"Enable Offline Support","href":"/sdk/ios/offline-enable"},{"title":"Show Cached Data","sidebarTitle":"Show Cached Data","href":"/sdk/ios/offline-cached-data"},{"title":"Send While Offline","sidebarTitle":"Send While Offline","href":"/sdk/ios/offline-send"},{"title":"Stay in Sync","sidebarTitle":"Stay in Sync","href":"/sdk/ios/offline-sync"},{"title":"Media Caching","sidebarTitle":"Media Caching","href":"/sdk/ios/offline-media-caching"},{"title":"Encrypt the Cache","sidebarTitle":"Encrypt the Cache","href":"/sdk/ios/offline-encryption"},{"title":"Offline Configuration \u0026 API Reference","sidebarTitle":"Configuration \u0026 API Reference","href":"/sdk/ios/offline-reference"}]},{"title":"Calling","sidebarTitle":"Calling","href":"/sdk/ios/calling-overview"},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/ios/users-overview"},{"title":"Retrieve Users","sidebarTitle":"Retrieve Users","href":"/sdk/ios/retrieve-users"},{"title":"User Management","sidebarTitle":"User Management","href":"/sdk/ios/user-management"},{"title":"Block Users","sidebarTitle":"Block Users","href":"/sdk/ios/block-users"}]},{"title":"User Presence","sidebarTitle":"User Presence","href":"/sdk/ios/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/ios/groups-overview"},{"title":"Retrieve Groups","sidebarTitle":"Retrieve Groups","href":"/sdk/ios/retrieve-groups"},{"title":"Create A Group","sidebarTitle":"Create Group","href":"/sdk/ios/create-group"},{"title":"Update A Group","sidebarTitle":"Update Group","href":"/sdk/ios/update-group"},{"title":"Join A Group","sidebarTitle":"Join Group","href":"/sdk/ios/join-group"},{"title":"Leave A Group","sidebarTitle":"Leave Group","href":"/sdk/ios/leave-group"},{"title":"Delete A Group","sidebarTitle":"Delete Group","href":"/sdk/ios/delete-group"},{"title":"Add Members To A Group","sidebarTitle":"Add Members","href":"/sdk/ios/group-add-members"},{"title":"Retrieve Group Members","sidebarTitle":"Retrieve Members","href":"/sdk/ios/retrieve-group-members"},{"title":"Kick Member From A Group","sidebarTitle":"Kick \u0026 Ban Members","href":"/sdk/ios/group-kick-member"},{"title":"Change Member Scope","sidebarTitle":"Change Scope","href":"/sdk/ios/group-change-member-scope"},{"title":"Transfer Group Ownership","sidebarTitle":"Transfer Ownership","href":"/sdk/ios/transfer-group-ownership"}]},{"title":"AI Moderation","sidebarTitle":"AI Moderation","href":"/sdk/ios/ai-moderation"},{"title":"AI Agents","sidebarTitle":"AI Agents","href":"/sdk/ios/ai-agents"},{"title":"Campaigns","href":"/sdk/ios/campaigns"},{"group":"Resources","pages":[{"title":"Key Concepts","href":"/sdk/ios/key-concepts"},{"title":"Message Structure And Hierarchy","href":"/sdk/ios/message-structure-and-hierarchy"},{"title":"All Real Time Delegates (Listeners)","href":"/sdk/ios/all-real-time-delegates-listeners"},{"title":"Rate Limits","href":"/sdk/ios/rate-limits"},{"title":"Connection Status","sidebarTitle":"Connection Status","href":"/sdk/ios/connection-status"},{"title":"Managing Web Socket Connections Manually","href":"/sdk/ios/managing-web-socket-connections-manually"},{"title":"Connection Behaviour","href":"/sdk/ios/web-socket-connection-behaviour"},{"title":"Marking Delivered From Push Notification","href":"/sdk/ios/marking-delivered-with-push-notification"},{"title":"Increment App Icon Badge Count","href":"/sdk/ios/increment-app-icon-badge-count"},{"title":"Remove Delivered Notifications","href":"/sdk/ios/remove-delivered-notifications"},{"title":"Launch Call Screen On Tap Of Push Notification","href":"/sdk/ios/launch-call-screen-on-tap-of-push-notification"},{"title":"Launch Chat Window On Tap Of Push Notification","href":"/sdk/ios/launch-chat-window-on-tap-of-push-notification"},{"title":"Prepare Your App For Background Updates","href":"/sdk/ios/prepare-your-app-for-background-updates"},{"title":"Publishing App On App Store","href":"/sdk/ios/publishing-app-on-appstore"}]},{"title":"Upgrading From V3","href":"/sdk/ios/upgrading-from-v3-to-v4"},{"title":"Extensions","url":"/fundamentals/extensions-overview","href":"/sdk/ios/extensions-overview"},{"title":"AI","url":"/fundamentals/ai-user-copilot/overview","href":"/sdk/ios/ai-user-copilot-overview"},{"title":"Bots","url":"https://assets.cometchat.io/legacy-docs/ai-chatbots/ai-bots/overview.html","href":"/sdk/ios/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks","href":"/sdk/ios/webhooks-overview"},{"title":"iOS UI Kit","url":"/ui-kit/ios/overview","href":"/sdk/ios/ios-overview"},{"title":"Changelog","url":"https://github.com/cometchat/chat-sdk-ios/releases","href":"/sdk/ios/changelog"}]}]},{"version":"v3","pages":[{"title":"v3","href":"/sdk/ios/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/sdk/ios/2.0/overview"}]}]},{"dropdown":"Android","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/android.svg","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"Overview","href":"/sdk/android/overview"},{"title":"Key Concepts","href":"/sdk/android/key-concepts"},{"title":"Message Structure And Hierarchy","href":"/sdk/android/message-structure-and-hierarchy"},{"title":"Rate Limits","href":"/sdk/android/rate-limits"}]},{"title":"Setup","href":"/sdk/android/setup"},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/sdk/android/authentication-overview"},{"title":"Login Listeners","href":"/sdk/android/login-listeners"}]},{"group":"Messaging","pages":[{"title":"Messaging","sidebarTitle":"Overview","href":"/sdk/android/messaging-overview"},{"title":"Send A Message","href":"/sdk/android/send-message"},{"title":"Upload Files \u0026 Send Attachments","sidebarTitle":"Upload Files","href":"/sdk/android/upload-files"},{"title":"Receive A Message","href":"/sdk/android/receive-messages"},{"title":"Additional Message Filtering","href":"/sdk/android/additional-message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/android/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/android/threaded-messages"},{"title":"Thread Subscription","sidebarTitle":"Thread Subscription","href":"/sdk/android/thread-subscription"},{"title":"Edit A Message","href":"/sdk/android/edit-message"},{"title":"Delete A Message","href":"/sdk/android/delete-message"},{"title":"Flag Message","href":"/sdk/android/flag-message"},{"title":"Pin A Message","sidebarTitle":"Pin A Message","href":"/sdk/android/pin-message"},{"title":"Save A Message","sidebarTitle":"Save A Message","href":"/sdk/android/save-message"},{"title":"Delete A Conversation","href":"/sdk/android/delete-conversation"},{"title":"Pin A Conversation","sidebarTitle":"Pin A Conversation","href":"/sdk/android/pin-conversation"},{"title":"Typing Indicators","href":"/sdk/android/typing-indicators"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/android/delivery-read-receipts"},{"title":"Transient Messages","href":"/sdk/android/transient-messages"},{"title":"Mentions","href":"/sdk/android/mentions"},{"title":"Reactions","href":"/sdk/android/reactions"}]},{"group":"Offline Support","pages":[{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/sdk/android/offline-overview"},{"title":"Enable Offline Support","sidebarTitle":"Enable Offline Support","href":"/sdk/android/offline-enable"},{"title":"Show Cached Data","sidebarTitle":"Show Cached Data","href":"/sdk/android/offline-cached-data"},{"title":"Send While Offline","sidebarTitle":"Send While Offline","href":"/sdk/android/offline-send"},{"title":"Stay in Sync","sidebarTitle":"Stay in Sync","href":"/sdk/android/offline-sync"},{"title":"Media Caching","sidebarTitle":"Media Caching","href":"/sdk/android/offline-media-caching"},{"title":"Encrypt the Cache","sidebarTitle":"Encrypt the Cache","href":"/sdk/android/offline-encryption"},{"title":"Offline Configuration \u0026 API Reference","sidebarTitle":"Configuration \u0026 API Reference","href":"/sdk/android/offline-reference"}]},{"title":"Calling","sidebarTitle":"Calling","href":"/sdk/android/calling-overview"},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/android/users-overview"},{"title":"Retrieve Users","href":"/sdk/android/retrieve-users"},{"title":"User Management","href":"/sdk/android/user-management"},{"title":"Block Users","href":"/sdk/android/block-users"}]},{"title":"User Presence","href":"/sdk/android/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/android/groups-overview"},{"title":"Retrieve Groups","href":"/sdk/android/retrieve-groups"},{"title":"Create A Group","href":"/sdk/android/create-group"},{"title":"Update A Group","href":"/sdk/android/update-group"},{"title":"Join A Group","href":"/sdk/android/join-group"},{"title":"Leave A Group","href":"/sdk/android/leave-group"},{"title":"Delete A Group","href":"/sdk/android/delete-group"},{"title":"Retrieve Group Members","href":"/sdk/android/retrieve-group-members"},{"title":"Add Members To A Group","href":"/sdk/android/group-add-members"},{"title":"Ban/Kick Member From A Group","href":"/sdk/android/group-kick-member"},{"title":"Change Member Scope","href":"/sdk/android/group-change-member-scope"},{"title":"Transfer Group Ownership","href":"/sdk/android/transfer-group-ownership"}]},{"title":"AI Moderation","href":"/sdk/android/ai-moderation"},{"title":"AI Agents","href":"/sdk/android/ai-agents"},{"title":"Campaigns","href":"/sdk/android/campaigns"},{"group":"Resources","pages":[{"title":"Resources","href":"/sdk/android/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/android/real-time-listeners"},{"title":"Upgrading from v4","sidebarTitle":"Upgrading from v4","href":"/sdk/android/upgrading-from-v4"}]},{"group":"Advanced","pages":[{"title":"Advanced","sidebarTitle":"Overview","href":"/sdk/android/advanced-overview"},{"title":"Connection Status","href":"/sdk/android/connection-status"},{"title":"Publishing App On PlayStore","href":"/sdk/android/publishing-app-on-playstore"},{"title":"Connection Behaviour","href":"/sdk/android/connection-behaviour"}]},{"title":"Extensions","url":"/fundamentals/extensions-overview","href":"/sdk/android/extensions-overview"},{"title":"AI","url":"/fundamentals/ai-user-copilot/overview","href":"/sdk/android/ai-user-copilot-overview"},{"title":"AI","url":"https://assets.cometchat.io/legacy-docs/ai-chatbots/ai-bots/overview.html","href":"/sdk/android/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks","href":"/sdk/android/webhooks-overview"},{"title":"Java UI Kit","url":"/ui-kit/android/overview","href":"/sdk/android/android-overview"},{"title":"Changelog","url":"https://github.com/cometchat/chat-sdk-android/releases","href":"/sdk/android/changelog"}]}]},{"version":"v4","pages":[{"title":"v4","href":"/sdk/android/v4/overview"}]},{"version":"v3","pages":[{"title":"v3","href":"/sdk/android/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/sdk/android/2.0/overview"}]}]},{"dropdown":"Flutter","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/flutter.svg","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"title":"Chat SDK","sidebarTitle":"Overview","href":"/sdk/flutter/overview"},{"title":"Setup","href":"/sdk/flutter/setup"},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/sdk/flutter/authentication-overview"},{"title":"Login Listeners","href":"/sdk/flutter/login-listeners"}]},{"group":"Messaging","pages":[{"title":"Messaging","sidebarTitle":"Overview","href":"/sdk/flutter/messaging-overview"},{"title":"Send A Message","href":"/sdk/flutter/send-message"},{"title":"Upload Files \u0026 Send Attachments","sidebarTitle":"Upload Files","href":"/sdk/flutter/upload-files"},{"title":"Receive A Message","href":"/sdk/flutter/receive-messages"},{"title":"Additional Message Filtering","href":"/sdk/flutter/additional-message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/flutter/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/flutter/threaded-messages"},{"title":"Thread Subscription","href":"/sdk/flutter/thread-subscription"},{"title":"Edit A Message","href":"/sdk/flutter/edit-message"},{"title":"Flag Message","href":"/sdk/flutter/flag-message"},{"title":"Delete A Message","href":"/sdk/flutter/delete-message"},{"title":"Pin A Message","href":"/sdk/flutter/pin-message"},{"title":"Save A Message","href":"/sdk/flutter/save-message"},{"title":"Delete A Conversation","href":"/sdk/flutter/delete-conversation"},{"title":"Pin A Conversation","href":"/sdk/flutter/pin-conversation"},{"title":"Typing Indicators","href":"/sdk/flutter/typing-indicators"},{"title":"Transient Messages","sidebarTitle":"Transient Messages","href":"/sdk/flutter/transient-messages"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/flutter/delivery-read-receipts"},{"title":"Mentions","href":"/sdk/flutter/mentions"},{"title":"Reactions","href":"/sdk/flutter/reactions"}]},{"group":"Offline Support","pages":[{"title":"Offline Support","sidebarTitle":"Offline Support","href":"/sdk/flutter/offline-overview"},{"title":"Enable Offline Support","sidebarTitle":"Enable Offline Support","href":"/sdk/flutter/offline-enable"},{"title":"Show Cached Data","sidebarTitle":"Show Cached Data","href":"/sdk/flutter/offline-cached-data"},{"title":"Send While Offline","sidebarTitle":"Send While Offline","href":"/sdk/flutter/offline-send"},{"title":"Stay in Sync","sidebarTitle":"Stay in Sync","href":"/sdk/flutter/offline-sync"},{"title":"Media Caching","sidebarTitle":"Media Caching","href":"/sdk/flutter/offline-media-caching"},{"title":"Encrypt the Cache","sidebarTitle":"Encrypt the Cache","href":"/sdk/flutter/offline-encryption"},{"title":"Offline Configuration \u0026 API Reference","sidebarTitle":"Configuration \u0026 API Reference","href":"/sdk/flutter/offline-reference"}]},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/flutter/users-overview"},{"title":"Retrieve Users","href":"/sdk/flutter/retrieve-users"},{"title":"User Management","href":"/sdk/flutter/user-management"},{"title":"Block Users","href":"/sdk/flutter/block-users"}]},{"title":"User Presence","href":"/sdk/flutter/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/flutter/groups-overview"},{"title":"Retrieve Groups","href":"/sdk/flutter/retrieve-groups"},{"title":"Create A Group","href":"/sdk/flutter/create-group"},{"title":"Update A Group","href":"/sdk/flutter/update-group"},{"title":"Join A Group","href":"/sdk/flutter/join-group"},{"title":"Leave A Group","href":"/sdk/flutter/leave-group"},{"title":"Delete A Group","href":"/sdk/flutter/delete-group"},{"title":"Retrieve Group Members","href":"/sdk/flutter/retrieve-group-members"},{"title":"Add Members To A Group","href":"/sdk/flutter/group-add-members"},{"title":"Ban/Kick Member From A Group","href":"/sdk/flutter/group-kick-member"},{"title":"Change Member Scope","href":"/sdk/flutter/group-change-member-scope"},{"title":"Transfer Group Ownership","href":"/sdk/flutter/transfer-group-ownership"}]},{"title":"AI Moderation","href":"/sdk/flutter/ai-moderation"},{"title":"AI Agents","href":"/sdk/flutter/ai-agents"},{"title":"Campaigns","href":"/sdk/flutter/campaigns"},{"group":"Resources","pages":[{"title":"Resources","sidebarTitle":"Overview","href":"/sdk/flutter/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/flutter/real-time-listeners"}]},{"group":"Advanced","pages":[{"title":"Advanced","sidebarTitle":"Overview","href":"/sdk/flutter/advanced-overview"},{"title":"Connection Status","href":"/sdk/flutter/connection-status"},{"title":"Connection Behaviour","href":"/sdk/flutter/connection-behaviour"}]},{"title":"Upgrading from v4","href":"/sdk/flutter/upgrading-from-v4-guide"},{"title":"Extensions","url":"/fundamentals/extensions-overview","href":"/sdk/flutter/extensions-overview"},{"title":"AI","url":"/fundamentals/ai-user-copilot/overview","href":"/sdk/flutter/ai-user-copilot-overview"},{"title":"Bots","url":"https://assets.cometchat.io/legacy-docs/ai-chatbots/ai-bots/overview.html","href":"/sdk/flutter/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks","href":"/sdk/flutter/webhooks-overview"},{"title":"Flutter Chat UI Kit","url":"/ui-kit/flutter/overview","href":"/sdk/flutter/flutter-overview"},{"title":"Changelog","url":"https://github.com/cometchat/chat-sdk-flutter/releases","href":"/sdk/flutter/changelog"}]}]},{"version":"v4","pages":[{"title":"v4","href":"/sdk/flutter/v4/overview"}]},{"version":"v3","pages":[{"title":"v3","href":"/sdk/flutter/3.0/overview"}]}]},{"dropdown":"Unreal Engine","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/unreal.svg","pages":[{"title":"Overview","href":"/sdk/unreal/overview"},{"title":"Setup","href":"/sdk/unreal/setup"},{"title":"Key Concepts","href":"/sdk/unreal/key-concepts"},{"group":"Authentication","pages":[{"title":"Overview","href":"/sdk/unreal/authentication"}]},{"group":"Messaging","pages":[{"title":"Send a Message","href":"/sdk/unreal/send-message"},{"title":"Receive Messages","href":"/sdk/unreal/receive-messages"},{"title":"Real-Time Events","href":"/sdk/unreal/real-time-events"},{"title":"Typing Indicators","href":"/sdk/unreal/typing-indicators"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/unreal/delivery-read-receipts"},{"title":"Connection Status","href":"/sdk/unreal/connection-status"}]},{"group":"Users \u0026 Groups","pages":[{"title":"Users","href":"/sdk/unreal/users"},{"title":"Groups","href":"/sdk/unreal/groups"}]},{"group":"Reference","pages":[{"title":"API Reference","href":"/sdk/unreal/reference"}]}]},{"dropdown":"Ionic (Legacy)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/cometchat-22654f5b/images/icons/ionic.svg","pages":[{"title":"Ionic SDK (Legacy)","href":"/sdk/ionic-legacy/overview"}]}]},{"tab":"APIs","pages":[{"title":"APIs","href":"/rest-api/chat-apis"}]}]},{"product":"Voice \u0026 Video Calling","pages":[{"title":"Voice \u0026 Video Calling","href":"/calls"}]},{"product":"AI Agents","pages":[{"title":"AI Agents","href":"/ai-agents"}]},{"product":"AI Moderation","pages":[{"title":"AI Moderation","href":"/moderation/overview"}]},{"product":"Notifications","pages":[{"title":"Notifications","href":"/notifications"}]},{"product":"Campaigns","pages":[{"title":"Campaigns","href":"/campaigns"}]},{"product":"Insights","pages":[{"title":"Insights","href":"/insights"}]}]},"basePath":"","title":"Conversations - CometChat Docs","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Dseijy1r.js","DynamicMarkdown-BpzBQATn.js","zoom-image-lightbox-G1zPyUGO.js","lightbox-handle-r17bVUz3.js"]}