UI Components are building a block of the UI Kit. UI Components are a set of custom classes specially designed to build a feature-rich chat app. To achieve high customizability while building an app one can use the UI Components. There are different UI Components available in the UI Kit library.
1. CometChatUI
CometChatUI is an option to launch a fully functional chat application using the UI Kit. In CometChatUI all the UI Components are interlinked and work together to launch a fully functional chat on your mobile application.
CometChatUI is an Activity class, so you can launch CometChatUI using the below code snippet Make sure to add the following code snippet after onSuccess of CometChat login.
Make sure that the above code snippet is added after onSuccess of CometChat login
2. CometChatConversationList
The CometChatConversationList is Fragment which will help you to display a list of recent conversations. The Fragment has all the necessary listeners and methods required to display the list of conversations.
Usage
In your layout file (.xml file) add the following snippet to use the CometChatConversationList. Adding the following code snippet will give you a fully working list of conversations.
Note About setItemClickListener on CometChatConversationList
To get the click event of the list you must use setItemClickListener. The setItemClickListener has OnItemClick() to handle single click and OnItemLongClick() to handle long click events.
The CometChatUserList is a fragment with a List of users. The Fragment has all the necessary listeners and methods required to display the user’s list.
Usage
In your layout file (.xml file) add the following snippet to use the CometChatUserList. Adding the following code snippet will give you a fully working list of users.
Note About setItemClickListener on CometChatUserList
To get the click event of the list you must use setItemClickListener. The setItemClickListener has OnItemClick() to handle single click and OnItemLongClick() to handle long click events.
The CometChatGroupList is a fragment with a List of groups Fragment has all the necessary listeners and methods required to display the list of groups
Usage
In your layout.xml add the following snippet to use the CometChatGroupList.Adding the following code snippet will give you a full working list of groups.
Note About setItemClickListener on CometChatGroupList
To get the click event of the list you must use setItemClickListener. The setItemClickListener has OnItemClick() to handle single click and OnItemLongClick() to handle long click events.
CometChatMessageList is a fragment that consists of send and received messages. It is capable of sending and receiving different types of messages such as text, image, and documents.
Usage
To use CometChatMessageList follow the below code snippets. CometChatMessageList is a dynamic so it will require some arguments. Add a FrameLayout in your layout.xml
There are certain core components that are being used everywhere in uiKit library. You will find those components in shared folder under ui_components. Below are core components that are being used in uiKit library.
8.1. CometChatAvatar
This is an image view customize only to display Avatar. This view can be used with image URLs as well as with CometChat objects like User and Group
Usage
In your layout.xml add the following code snippet.
Here avatar_shape is a static property. It should be either circle or rectangle. whereas the avatar URL needs to be set dynamically following is the sample code for the same.
Kotlin
val avatar: CometChatAvatar = findViewById(R.id.av_user)userViewHolder.avatar.setAvatarUrl("https://randomuser.me/api/portraits/women/44.jpg")
The CometChatAvatar Component works well with CometChat User and Group object. The setAvatar() method accepts User or Group object if Avatar of User or Group is not available it automatically show the initials of the user or group name as a placeholder Avatar.
Common Features
CometChat Avatar class provides functionality for an Avatar feature. There are commonly used properties to control the look of the Avatar.
User status can be set dynamically using the following code.
Kotlin
val userPresence: CometChatUserPresence = findViewById(R.id.statusIndicator)userViewHolder.statusIndicator.setUserStatus(user.status)
Common Features
CometChatUserPresence provides app:user_status attribute and method setUserStatus to set Status of the user.The app:user_status attribute can also be used with DataBinding in the following mannere.g app:user_status="@{user.status}" you can also use different objects according to their use case. The attribute will continue to work as long as receives a string parameter
CometChatUserPresence field element
Relevant attributes/methods
User Status
app:user_status``# setUserStatus(@NonNull String)
8.3. CometChatBadgeCount
The CometChatBadgeCount component can be used to show an unread count. You can use it in different scenarios according to their use case.
The count can be set dynamically using the setCount method. The setCount method takes an int as a parameter.
Kotlin
val badgeCount: CometChatBadgeCount = findViewById(R.id.badgecount)holder.badgeCount.messageCount.setCount(conversation.unreadMessageCount)
Common Feature
The CometChatBadgeCount component provides different attributes and methods to control the behavior and appearance of the BadgeCount view.The attribute app: count can also be used with DataBinding
xml
/// example with conversation object<com.cometchat.pro.uikit.ui_components.shared.cometchatBadgeCount.CometChatBadgeCount android:id="@+id/badgeCount" android:layout_width="wrap_content" app:count="@{conversation.unreadMessageCount}" android:layout_height="wrap_content"/>
The CometChatUsers is custom RecyclerView which helps to display a list of users present in your CometChat app.
Note about CometChatUsers using with DataBinding:
Your project should have DataBinding enabled. You can use CometChatUsers using DataBinding in the following mannerIn your layout.xml add the following code :
In your corresponding activity or fragment add the following code
val userList: ObservableArrayList<User> = ObservableArrayList<User>()binding.setUserList(userList)
For getting the list of users you can use UsersRequestBuilder(). Visit the below link for more details on how to retrieve a list of users.In onSuccess of the fetchNext method you can set the data the ObservableArrayList you have created. The advantage of using the ObservableArrayList is one doesn’t have to manually set the data on binding.setUserList(userList); every time you get a new set of data.
Kotlin
usersRequest.fetchNext(object : CallbackListener<List<User>>() { public override fun onSuccess(list: List<User>) { Log.d(TAG, "User list received: " + list.size) userList.addAll(list) //update the ObservableArrayList here } public override fun onError(e: CometChatException) { Log.d(TAG, "User list fetching failed with exception: " + e.message) }})
Note About CometChatUsers Without DataBinding
If you are not using DataBinding in your project you can use the CometChatUser in the following manner.In your layout.xml add the following code
val groupList: ObservableArrayList<Group> = ObservableArrayList<Group>()binding.setGroupList(groupList)
For getting the list of groups you can use GroupsRequestBuilder().Visit the below link for more details on how to retrieve a list of group.In onSuccess of the fetchNext method you can set the data the ObservableArrayList you have created. The advantage of using the ObservableArrayList is one doesn’t have to manually set the data on binding.setGroupList(groupList); every time you get a new set of data.
Kotlin
groupsRequest.fetchNext(object : CallbackListener<List<Group>>() { public override fun onSuccess(list: List<Group>) { Log.d(TAG, "Groups list fetched successfully: " + list.size); groupList.addAll(list) // update the ObservableArrayList here } public override fun onError(e: CometChatException) { Log.d(TAG, "Groups list fetching failed with exception: " + e.message); }})
Note About CometChatGroups Without DataBinding
If you are not using DataBinding in your project you can use the CometChatGroups in the following manner.In your layout.xml add the following code
val cometChatGroups: CometChatGroups = findViewById(R.id.cometchatGroupList)cometChatGroups.setGroupList(list)// list: fetched using the GroupsRequestBuilder
The CometChatGroups component provides different properties to control the behavior of CometChatGroups view. You can perform different operations like an update, remove, add, etc.
CometChatGroups field elements
Relevant attributes/methods
Update List
# setGroupList(List<Group>)
Update
# update (Group)
Remove
# remove(String)
Add
# add(Group)
8.6.CometChatConversations
CometChatConversations is a custom RecyclerView which will help you to display a list of all the users and groups in which the logged-in user has made any conversation.
Note about CometChatConversations using with DataBinding
If you are using DataBinding in your project you can use the CometChatConversations in the following manner.In your layout.xml add the following code.
val conversationList: ObservableArrayList<Conversation> = ObservableArrayList()binding.setConversationList(conversationList)
For getting the list of conversation you can use ConversationsRequestBuilder() .visit the below link for more details on how to retrieve a list of conversationIn onSuccess of the fetchNext method you can set the data the ObservableArrayList you have created. The advantage of using the ObservableArrayList is one doesn’t have to manually set the data on binding.setConversationList(conversationList); every time you get a new set of data.
Kotlin
conversationsRequest.fetchNext(object : CallbackListener<List<Conversation>>() { override fun onSuccess(conversations: List<Conversation>) { // Handle list of conversations conversationList.addAll(conversations) // update ObservableArrayList list here } override fun onError(e: CometChatException) { // Handle failure Log.d(TAG, "onError: " + e.message) }})
Note About CometChatConversations Without DataBinding
If you are not using DataBinding in your project you can use the CometChatConversations in the following manner.In your layout.xml add the following code
val cometChatConversations: CometChatConversations = findViewById(R.id.cometchatConversations);cometChatConversationList.setConversationList(conversations);// list: fetched using the ConversationsRequestBuilder
In onSuccess of the fetchNext method of ConversationsRequestBuilder, you can set the data. You can refer how to Retrieve Conversations
Note About Using setItemClickListener
For getting the click event of CometChatConversations you can make use of the ConversationItemClickListener class.
The CometChatConversations component provides different properties to control the behavior of the CometChatConversations view. You can perform different operations like an update, remove, add, etc
CometChatConversations field elements
Relevant attributes/methods
Update List
# setConversationList(List<Conversation>)
Update
# update (Conversation)
Remove
# remove(Conversation)
Add
# add(Conversation)
8.7. CometChatCalls
CometChatCalls is custom RecyclerView which will help you to display list of calls.
You can use the CometChatCalls in the following manner.In your layout.xml add the following code :
val cometChatCalls: CometChatCalls = findViewById(R.id.cometchatCalls);
In onSuccess of the fetchNext method of MessagesRequestBuilder you can set the data. You need to add setCategory(CometChatConstants.CATEGORY_CALL) in your MessagesRequestBuilder to fetch only call messagesYou can refer an example here.
Kotlin
if (messagesRequest == null){ messagesRequest = MessagesRequestBuilder().setCategory(CometChatConstants.CATEGORY_CALL).setLimit(30).build()}messagesRequest.fetchPrevious(object : CallbackListener<List<BaseMessage>>() { override fun onSuccess(baseMessages: List<BaseMessage>) { /*Since the call list received like messages i.e top with older and bottom with the latest message. We will reverse the list */ Collections.reverse(baseMessages) cometCallList.setCallList(baseMessages) } override fun onError(e: CometChatException) { //Error Message Log.e("onError: ", e.message) }})
Note About Using CallItemClickListener:
For getting the click event of CometChatCalls you can make use of ItemClickListener class.There are two events given by CometChatCalls.This event is performed when clicking on the User or Group item displayed in the call list.
Kotlin
cometChatCalls.setItemClickListener(object : OnItemClickListener<Call?>() { override fun OnItemClick(t: Any, position: Int) { // perform your action here }})
This event is performed when click on call icon visible after each Group or User item in call list.
Kotlin
cometChatCalls.setItemCallClickListener(object : OnItemClickListener<Call>() { override fun OnItemClick(t: Any, position: Int) { // perform your action here }})
Common Usage:
The CometChatCalls component provides different properties to control the behavior of the CometChatCalls view. You can perform different operations like an update, remove.
CometChatCalls field e
Relevant attributes/methods
Update List
setCallList(List)
Update
update (Call)
Remove
remove(Call)
{"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-013b37f0/Oejiic_cET5SpCTq/logo/light.svg?fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=a75971ad01bfa0cdd08c5a6406b91b17","dark":"https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/logo/dark.svg?fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=c593e029aa530f28896fe5d7c545bbcb"},"favicon":"/favicon.png","navbar":{"links":[{"label":"Dashboard","href":"https://app.cometchat.com/"}],"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"},"fonts":{"heading":{"family":""},"body":{"family":""}},"integrations":{"gtm":{"tagId":"GTM-59ZJRV2"}},"errors":{"404":{"redirect":true}},"contextual":{"options":["chatgpt","claude","cursor","vscode","perplexity","mcp","copy"]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cometchat-013b37f0","hasAudioNarration":false,"actualSubdomain":"cometchat-013b37f0","customDomains":[],"gitSource":{"type":"github","owner":"hades248","repo":"docs","deployBranch":"docs/add-react-user-blocking","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92b390a94bfe43457d6b8:success","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"SDKs","count":957},{"language":"default","tag":"UI Kits","count":909},{"language":"default","tag":"Components","count":532},{"language":"default","tag":"iOS","count":316},{"language":"default","tag":"Android","count":303},{"language":"default","tag":"React Native","count":294},{"language":"default","tag":"APIs","count":293},{"language":"default","tag":"Groups","count":273},{"language":"default","tag":"Flutter","count":232},{"language":"default","tag":"Messaging","count":217}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"site-roles","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"ui-kit/kotlin/ui-components","slug":"/ui-kit/kotlin/ui-components","pageMetadata":{"title":"UI Components","description":null,"href":"/ui-kit/kotlin/ui-components"},"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,OptimizedImage,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,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.strong,{children:`UI Components`}),` are building a block of the UI Kit. `,_jsx(_components.strong,{children:`UI Components`}),` are a set of custom classes specially designed to build a feature-rich chat app. To achieve high customizability while building an app one can use the UI Components. There are different UI Components available in the UI Kit library.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-cometchatui`,children:_jsx(_components.strong,{children:`1. CometChatUI`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`CometChatUI`}),` is an option to launch a fully functional chat application using the UI Kit. In `,_jsx(_components.strong,{children:`CometChatUI`}),` all the UI Components are interlinked and work together to launch a fully functional chat on your mobile application.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=10e15485a6ea769246897d1872e78125`,\"data-og-width\":`9625`,width:`9625`,\"data-og-height\":`5509`,height:`5509`,\"data-path\":`images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?w=280\u0026fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=01eb5ae127b9f50d50c6f3c41cc5d380 280w, https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?w=560\u0026fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=621564e336f6cf6eb1ef02956966eecf 560w, https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?w=840\u0026fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=c549dd5a176edfa81a642beefc1b325d 840w, https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=3e64ad75ac38b776ff7127a5c14a96d4 1100w, https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=2cadd29f63cf48f0c3a4bac7a2c32f9e 1650w, https://mintcdn.com/cometchat-013b37f0/Ljt9AcZicJcNxpPO/images/0ccb24e4-1623199980-c69ab56b465a04036369ca5425744356.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Ljt9AcZicJcNxpPO\u0026q=85\u0026s=581a6850f33b4d904e300dd42cc330c0 2500w`})}),`\n`,_jsxs(_components.p,{children:[`CometChatUI is an Activity class, so you can launch `,_jsx(_components.code,{children:`CometChatUI`}),` using the below code snippet Make sure to add the following code snippet after `,_jsx(_components.code,{children:`onSuccess`}),` of CometChat login.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`android`}),_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:`\t\tdefaultConfig`}),_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\":`#D4D4D4`},children:`\t\t\t..`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t\tmanifestPlaceholders `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [file_provider: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_PACKAGE_NAME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\t\t\t//add your application package.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t}`})}),`\n`]})})})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Make sure that the above code snippet is added after `,_jsx(_components.code,{children:`onSuccess`}),` of CometChat login`]})}),`\n`,_jsx(Heading,{level:`2`,id:`2-cometchatconversationlist`,children:_jsx(_components.strong,{children:`2. CometChatConversationList`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`CometChatConversationList`}),` is Fragment which will help you to display a list of recent conversations. The Fragment has all the necessary listeners and methods required to display the list of conversations.`]}),`\n`,_jsx(Heading,{level:`3`,id:`usage`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsxs(_components.p,{children:[`In your layout file (.xml file) add the following snippet to use the `,_jsx(_components.code,{children:`CometChatConversationList`}),`. Adding the following code snippet will give you a fully working list of conversations.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`fragment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/conversationList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" com.cometchat.pro.uikit.`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ui_components.chats.CometChatConversationList \"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=c2d655b68715a3f15be2e07f75e25055`,\"data-og-width\":`488`,width:`488`,\"data-og-height\":`792`,height:`792`,\"data-path\":`images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?w=280\u0026fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=91b5fb3a58632feecbe1b41e98b238d7 280w, https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?w=560\u0026fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=c4bff1b4d36ad357cf060895779849b5 560w, https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?w=840\u0026fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=603a7edeed913361936d04042c1c00a4 840w, https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?w=1100\u0026fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=9fffe2d6a5d2e404e8af0484d4692ee2 1100w, https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?w=1650\u0026fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=856b158a37976480713dd6363937ace9 1650w, https://mintcdn.com/cometchat-013b37f0/liQ0uCMihUyLkyvK/images/96a383dc-25e9adb-group_30-f965f1409766359da23bb8a77f55db26.png?w=2500\u0026fit=max\u0026auto=format\u0026n=liQ0uCMihUyLkyvK\u0026q=85\u0026s=fd6f6d8e458d7c3f3ec0eb280af71d58 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-setitemclicklistener-on-cometchatconversationlist`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`setItemClickListener`}),` on CometChatConversationList`]})}),`\n`,_jsxs(_components.p,{children:[`To get the click event of the list you must use `,_jsx(_components.code,{children:`setItemClickListener`}),`. The `,_jsx(_components.code,{children:`setItemClickListener`}),` has `,_jsx(_components.code,{children:`OnItemClick()`}),` to handle single click and `,_jsx(_components.code,{children:`OnItemLongClick()`}),` to handle long click events.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatConversationList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Any`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t, position)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:`2`,id:`3-cometchatuserlist`,children:_jsx(_components.strong,{children:`3. CometChatUserList`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatUserList`}),` is a fragment with a List of users. The Fragment has all the necessary listeners and methods required to display the user’s list.`]}),`\n`,_jsx(Heading,{level:`3`,id:`usage-2`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsxs(_components.p,{children:[`In your layout file (.xml file) add the following snippet to use the `,_jsx(_components.code,{children:`CometChatUserList`}),`. Adding the following code snippet will give you a fully working list of users.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`fragment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/userList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.cometchat.pro.uikit`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.ui_components.users.user_list.CometChatUserList\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=1baba935aeca46d88166282772880c85`,\"data-og-width\":`438`,width:`438`,\"data-og-height\":`750`,height:`750`,\"data-path\":`images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?w=280\u0026fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=1962a6183acef063a88f690f02ef3ab8 280w, https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?w=560\u0026fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=470fc08ad290faee2b734e5d45e7fe1b 560w, https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?w=840\u0026fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=33965ddaaab59e7d463ef5751cb4bb91 840w, https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?w=1100\u0026fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=a7ff62ba9a4a02233045304ee464afa1 1100w, https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?w=1650\u0026fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=d0b1f4cbcf743065eeb9a3f825d33b73 1650w, https://mintcdn.com/cometchat-013b37f0/ammVYFoPQt2bWll7/images/9d886cea-2b9ad69-group_32-509daec9703bb45748b1856eb9384b67.png?w=2500\u0026fit=max\u0026auto=format\u0026n=ammVYFoPQt2bWll7\u0026q=85\u0026s=772048d63cb1b1cec404ceac948ac11a 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-setitemclicklistener-on-cometchatuserlist`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`setItemClickListener`}),` on CometChatUserList`]})}),`\n`,_jsxs(_components.p,{children:[`To get the click event of the list you must use `,_jsx(_components.code,{children:`setItemClickListener`}),`. The `,_jsx(_components.code,{children:`setItemClickListener`}),` has `,_jsx(_components.code,{children:`OnItemClick()`}),` to handle single click and `,_jsx(_components.code,{children:`OnItemLongClick()`}),` to handle long click events.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-3`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatUserList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t, position)`})]}),`\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:`2`,id:`4-cometchatgrouplist`,children:_jsx(_components.strong,{children:`4. CometChatGroupList`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatGroupList`}),` is a fragment with a List of groups Fragment has all the necessary listeners and methods required to display the list of groups`]}),`\n`,_jsx(Heading,{level:`3`,id:`usage-3`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following snippet to use the `,_jsx(_components.code,{children:`CometChatGroupList`}),`.Adding the following code snippet will give you a full working list of groups.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-3`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`fragment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/groupList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.cometchat.pro.uikit`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.ui_components.groups.group_list.CometChatGroupList\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=a97d895db12c67b6fc334bc4a58041ee`,\"data-og-width\":`418`,width:`418`,\"data-og-height\":`758`,height:`758`,\"data-path\":`images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?w=280\u0026fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=c6fb70857068f33bd189361446a01609 280w, https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?w=560\u0026fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=4999e6fd4ba8ce03fba9d92ddb703e49 560w, https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?w=840\u0026fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=4da6b49e763a9a30e0ce7ba1551d5f0e 840w, https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=be640a98454c92e600c39e6e32e3ee58 1100w, https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=c40d91e3ee5c77dd434396531b4b41a2 1650w, https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/images/fedd26eb-036940f-group_33-4d611a98845f18221c04b88f13bcd530.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=c6b2a24ed1c0fb556735f65ea978857b 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-setitemclicklistener-on-cometchatgrouplist`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`setItemClickListener`}),` on CometChatGroupList`]})}),`\n`,_jsxs(_components.p,{children:[`To get the click event of the list you must use `,_jsx(_components.code,{children:`setItemClickListener`}),`. The `,_jsx(_components.code,{children:`setItemClickListener`}),` has `,_jsx(_components.code,{children:`OnItemClick()`}),` to handle single click and `,_jsx(_components.code,{children:`OnItemLongClick()`}),` to handle long click events.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-4`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatGroupList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t, position)`})]}),`\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:`2`,id:`5-cometchatmessagelist`,children:_jsx(_components.strong,{children:`5. CometChatMessageList`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatMessageList`}),` is a fragment that consists of send and received messages. It is capable of sending and receiving different types of messages such as text, image, and documents.`]}),`\n`,_jsx(Heading,{level:`3`,id:`usage-4`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsxs(_components.p,{children:[`To use `,_jsx(_components.code,{children:`CometChatMessageList`}),` follow the below code snippets. `,_jsx(_components.code,{children:`CometChatMessageList`}),` is a dynamic so it will require some arguments. Add a `,_jsx(_components.code,{children:`FrameLayout`}),` in your `,_jsx(_components.code,{children:`layout.xml`})]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-4`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`FrameLayout`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/chatFrame\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=8d1e39797b1cfdcc6f0c7dad8c966143`,\"data-og-width\":`1098`,width:`1098`,\"data-og-height\":`1902`,height:`1902`,\"data-path\":`images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?w=280\u0026fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=87deab4fd92267d46c26d41096d09b6e 280w, https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?w=560\u0026fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=2fb00238d84805d86ae0083284d74488 560w, https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?w=840\u0026fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=5b5e8d8d39f9ccc856a6738dfe557b3b 840w, https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?w=1100\u0026fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=d40ac2cda2cc66ef78a0d92f7a5096e5 1100w, https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?w=1650\u0026fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=6b2f437885ed4fbf9f0a9b53298fe10c 1650w, https://mintcdn.com/cometchat-013b37f0/VPrNRnkEXz1B-4gC/images/02ac29b1-f5e5c31-group_24-7d25f42b217faf0c488f279bb2aed507.png?w=2500\u0026fit=max\u0026auto=format\u0026n=VPrNRnkEXz1B-4gC\u0026q=85\u0026s=1fd34b6de2619469a03f6cfc484348d6 2500w`})}),`\n`,_jsx(_components.p,{children:`In your activity set the required parameter in the following manner.`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-5`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bundle `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Bundle`}),_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:`bundle.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`putString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(UIKitContracts.IntentStrings.AVATAR, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AvatarUrl\"`}),_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:`bundle.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`putString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(UIKitContracts.IntentStrings.NAME,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Name\"`}),_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:`bundle.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`putString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(UIKitContracts.IntentStrings.TYPE,CometChatConstants.RECEIVER_TYPE_USER)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bundle.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`putString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(UIKitContracts.IntentStrings.UID,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UID\"`}),_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:`bundle.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`putString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(UIKitContracts.IntentStrings.STATUS,`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"STATUS\"`}),_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:`fragment.arguments `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` bundle`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`supportFragmentManager.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`beginTransaction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`replace`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.ChatFragment, fragment).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`commit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})})})}),`\n`,_jsx(Heading,{level:`2`,id:`6-cometchatcalllist`,children:_jsx(_components.strong,{children:`6 CometChatCallList`})}),`\n`,_jsx(_components.p,{children:`You can use the CometChatCallList to get a list of all the calls made by the logged-in user to other users and groups.`}),`\n`,_jsx(Heading,{level:`3`,id:`usage-5`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(_components.p,{children:`Add the following code in your layout file (.xml file)`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-5`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`fragment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/callListScreen\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.cometchat.pro.uikit`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.ui_components.calls.call_list.CometChatCallList\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=253aad78f6ecc1290f05c294601292a9`,\"data-og-width\":`434`,width:`434`,\"data-og-height\":`768`,height:`768`,\"data-path\":`images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?w=280\u0026fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=9e51b0ae3670f5bd8321465a60383fb8 280w, https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?w=560\u0026fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=866a631561f31065df0018ac88400725 560w, https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?w=840\u0026fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=8c9550d6d38b1b1ed420aeed01c688f5 840w, https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=71a5bb23d835d49c5ed84a1b9fc2db20 1100w, https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=9560ca5d20718021e463cacd76af9eef 1650w, https://mintcdn.com/cometchat-013b37f0/_ZVOct4_grytF_ZN/images/73301a8d-8ec73a2-group_31-d7222819bbd06871770abb1d17e9fd1c.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_ZVOct4_grytF_ZN\u0026q=85\u0026s=13ce0678c8c12fa5603e9c12fa328666 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`7-cometchatuserprofile`,children:_jsx(_components.strong,{children:`7. CometChatUserProfile`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatUserProfile`}),` is a fragment which provides detail about the currently logged-in user in the CometChat.`]}),`\n`,_jsx(Heading,{level:`3`,id:`usage-6`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(_components.p,{children:`Add the following code in your layout file (.xml file)`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-6`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`fragment`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/userInfo\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.cometchat.pro.uikit`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.ui_components.userprofile.CometChatUserProfile\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=5c3c325788b30c6644ec2f4b422e73bb`,\"data-og-width\":`442`,width:`442`,\"data-og-height\":`764`,height:`764`,\"data-path\":`images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?w=280\u0026fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=f1d67a46e7c1450636ea28ccc12a619d 280w, https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?w=560\u0026fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=286322ea32adab058154184db0e2722a 560w, https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?w=840\u0026fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=1e0938789a85b093612db78b2f8e460b 840w, https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?w=1100\u0026fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=723a9318bbe486dc4ce0ba7952d9c408 1100w, https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?w=1650\u0026fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=c075dd6e07d10c97332871ea8ac9027e 1650w, https://mintcdn.com/cometchat-013b37f0/hs7RfCG8l8g2sjQh/images/33436158-8472e7d-group_34-f74cd1e468b06b47eba606e11c6b9f45.png?w=2500\u0026fit=max\u0026auto=format\u0026n=hs7RfCG8l8g2sjQh\u0026q=85\u0026s=3bca27f7daf4941b8b095c1ac34f442f 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`8-shared`,children:_jsx(_components.strong,{children:`8. Shared`})}),`\n`,_jsxs(_components.p,{children:[`There are certain core components that are being used everywhere in `,_jsx(_components.code,{children:`uiKit`}),` library. You will find those components in `,_jsx(_components.code,{children:`shared`}),` folder under `,_jsx(_components.code,{children:`ui_components`}),`. Below are core components that are being used in `,_jsx(_components.code,{children:`uiKit`}),` library.`]}),`\n`,_jsx(Heading,{level:`3`,id:`8-1-cometchatavatar`,children:_jsx(_components.strong,{children:`8.1. CometChatAvatar`})}),`\n`,_jsxs(_components.p,{children:[`This is an image view customize only to display Avatar. This view can be used with image URLs as well as with CometChat objects like `,_jsx(_components.code,{children:`User`}),` and `,_jsx(_components.code,{children:`Group`})]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/dQp5dR1uMW0Wv-GD/images/6adb61d7-1623199993-d6a87eedb04fc11e26b4e97693ca9c5f.gif?s=9fdfe513c6d15c61c66166fdd3ed76d8`,\"data-og-width\":`600`,width:`600`,\"data-og-height\":`1067`,height:`1067`,\"data-path\":`images/6adb61d7-1623199993-d6a87eedb04fc11e26b4e97693ca9c5f.gif`,\"data-optimize\":`true`,\"data-opv\":`3`})}),`\n`,_jsx(Heading,{level:`3`,id:`usage-7`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code snippet.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-7`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatAvatar.CometChatAvatar`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/av_user\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"60dp\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:avatar_shape`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@string/circle\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"60dp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`Here `,_jsx(_components.code,{children:`avatar_shape`}),` is a static property. It should be either `,_jsx(_components.code,{children:`circle`}),` or `,_jsx(_components.code,{children:`rectangle`}),`. whereas the avatar URL needs to be set dynamically following is the sample code for the same.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-6`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` avatar: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatAvatar`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.av_user)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`userViewHolder.avatar.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setAvatarUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://randomuser.me/api/portraits/women/44.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`The CometChatAvatar Component works well with CometChat `,_jsx(_components.code,{children:`User`}),` and `,_jsx(_components.code,{children:`Group`}),` object. The `,_jsx(_components.code,{children:`setAvatar()`}),` method accepts `,_jsx(_components.code,{children:`User`}),` or `,_jsx(_components.code,{children:`Group`}),` object if Avatar of `,_jsx(_components.code,{children:`User`}),` or `,_jsx(_components.code,{children:`Group`}),` is not available it automatically show the initials of the user or group name as a placeholder Avatar.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/dQp5dR1uMW0Wv-GD/images/6adb61d7-1623199993-d6a87eedb04fc11e26b4e97693ca9c5f.gif?s=9fdfe513c6d15c61c66166fdd3ed76d8`,\"data-og-width\":`600`,width:`600`,\"data-og-height\":`1067`,height:`1067`,\"data-path\":`images/6adb61d7-1623199993-d6a87eedb04fc11e26b4e97693ca9c5f.gif`,\"data-optimize\":`true`,\"data-opv\":`3`})}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAA4CAIAAAB161NHAAAKrGlDQ1BpY2MAAHjalZZnUJPpFsfP+77phZYQipTQmyBFuvQaem82QkIJhBhCAogNlUUF14KKCCgLsiii4FoAWQsiim1R7H1BFhXluliwoXI/cAm7d+7MnT0zz7y/+c95/uec5/1yAGiPuGKxEFUCyBZJJVEB3uyExCQ2cQjwQAQ62IErl5cr9oqICAEAmP7+PT7cAQQA4KYlVywWwj8LZX5qLg8AiQCAFH4uLxsAOQaAdPPEEikAVgAABvlSsRQAqwEApiQhMQkAOwwAzPQp7gEAZsoU3wMApiQmygcAGwUg0bhcSToA9RMAsPN46VIAmjoAWIv4AhEALRAA3HkZXD4AbT0AzM7OXsIHoB0DANOUv/ik/80zRe7J5abLeWoWAAAg+QpyxULu0n/4HP8/soWy6RoGAED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4qoiyoIFC4YoCxYMURYsWDBEWbBgwRBlwYIhyoIFC4YoCxYsGKIsWDBEWbBg0bsQVRRFZsGiN8X/Ag9O44Pnw3kHAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA2LTA5VDAwOjUzOjIzKzAwOjAwsr4NXgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNi0wOVQwMDo1MzoyMyswMDowMMPjteIAAAAodEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IEFwcGxlIEluYy4sIDIwMTlYSzXXAAAAF3RFWHRpY2M6ZGVzY3JpcHRpb24ARGlzcGxheRcblbgAAAAASUVORK5CYII=`})}),`\n`,_jsx(Heading,{level:`3`,id:`common-features`,children:_jsx(_components.strong,{children:`Common Features`})}),`\n`,_jsx(_components.p,{children:`CometChat Avatar class provides functionality for an Avatar feature. There are commonly used properties to control the look of the Avatar.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatAvatar field element`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Avatar Shape`}),_jsx(_components.td,{children:`app:avatar_shape`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Avatar`}),_jsxs(_components.td,{children:[`app:avatar`,_jsx(_components.code,{children:`# setAvatar(@NonNull User)`}),`# setAvatar(@NonNull Group)`,_jsx(_components.code,{children:`# setAvatar(@NonNull String)`}),`# setAvatar(@NonNull Drawable, @NonNull String)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Avatar Initial`}),_jsx(_components.td,{children:`app:avatar_initials“# setInitials(@NonNull String)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Border Color`}),_jsx(_components.td,{children:`app:border_color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Border Width`}),_jsx(_components.td,{children:`app:border_width`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`8-2-cometchatuserpresence`,children:_jsx(_components.strong,{children:`8.2. CometChatUserPresence`})}),`\n`,_jsx(_components.p,{children:`This view will be used to show the user status if the user is online or offline. This view will take user status and display the color accordingly.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/xkjVCc78V34-XITQ/images/5e07e218-1623200005-0e66a4dda4a98b937cb7451aac11c4d3.gif?s=c6c36d07a3c280b17652455c3bc1f114`,\"data-og-width\":`600`,width:`600`,\"data-og-height\":`1067`,height:`1067`,\"data-path\":`images/5e07e218-1623200005-0e66a4dda4a98b937cb7451aac11c4d3.gif`,\"data-optimize\":`true`,\"data-opv\":`3`})}),`\n`,_jsx(Heading,{level:`3`,id:`usage-8`,children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-8`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatUserPresence.CometChatUserPresence`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/statusIndicator\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15dp\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15dp\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` app:user_status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@string/offline\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`User status can be set dynamically using the following code.`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-7`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` userPresence: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatUserPresence`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.statusIndicator)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`userViewHolder.statusIndicator.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setUserStatus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(user.status)`})]}),`\n`]})})})})}),`\n`,_jsx(Heading,{level:`3`,id:`common-features-2`,children:_jsx(_components.strong,{children:`Common Features`})}),`\n`,_jsxs(_components.p,{children:[`CometChatUserPresence provides `,_jsx(_components.code,{children:`app:user_status`}),` attribute and method `,_jsx(_components.code,{children:`setUserStatus`}),` to set Status of the user.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`app:user_status`}),` attribute can also be used with DataBinding in the following manner`]}),`\n`,_jsxs(_components.p,{children:[`e.g `,_jsx(_components.code,{children:`app:user_status=\"@{user.status}\"`}),` you can also use different objects according to their use case. The attribute will continue to work as long as receives a string parameter`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatUserPresence field element`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User Status`}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"app:user_status``# setUserStatus(@NonNull String)\"})})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`8-3-cometchatbadgecount`,children:_jsx(_components.strong,{children:`8.3. CometChatBadgeCount`})}),`\n`,_jsx(_components.p,{children:`The CometChatBadgeCount component can be used to show an unread count. You can use it in different scenarios according to their use case.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/PhOli_uzWYY61x6S/images/92f04ecc-1623200010-5a7da331416a5a5512ba74e54e38f31c.gif?s=86d985682ef4b2e2d37227e9a806a919`,\"data-og-width\":`600`,width:`600`,\"data-og-height\":`1067`,height:`1067`,\"data-path\":`images/92f04ecc-1623200010-5a7da331416a5a5512ba74e54e38f31c.gif`,\"data-optimize\":`true`,\"data-opv\":`3`})}),`\n`,_jsxs(_components.p,{children:[`Add the following code to your `,_jsx(_components.code,{children:`layout.xml`})]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-9`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatBadgeCount.CometChatBadgeCount`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/badgeCount\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wrap_content\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` app:count`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wrap_content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`The count can be set dynamically using the `,_jsx(_components.code,{children:`setCount`}),` method. The `,_jsx(_components.code,{children:`setCount`}),` method takes an int as a parameter.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-8`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` badgeCount: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatBadgeCount`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.badgecount)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`holder.badgeCount.messageCount.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setCount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversation.unreadMessageCount)`})]}),`\n`]})})})})}),`\n`,_jsx(Heading,{level:`3`,id:`common-feature`,children:_jsx(_components.strong,{children:`Common Feature`})}),`\n`,_jsx(_components.p,{children:`The CometChatBadgeCount component provides different attributes and methods to control the behavior and appearance of the BadgeCount view.`}),`\n`,_jsxs(_components.p,{children:[`The attribute `,_jsx(_components.code,{children:`app: count`}),` can also be used with DataBinding`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-10`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/// example with conversation object`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatBadgeCount.CometChatBadgeCount`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/badgeCount\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wrap_content\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` app:count`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@{conversation.unreadMessageCount}\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"wrap_content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`]})})})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatBadgeCount field element`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Count`}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"app:count``# setCount(int)\"})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Count Size`}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"app:count_size``# setCountSize(float)\"})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Count Background Color`}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"app:count_background_color``# setCountBackground(@ColorRes color)\"})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Count Color`}),_jsx(_components.td,{children:_jsx(_components.code,{children:\"app:count_color``setCountSize(float)\"})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`8-4-cometchatusers`,children:_jsx(_components.strong,{children:`8.4. CometChatUsers`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatUsers`}),` is custom `,_jsx(_components.strong,{children:`RecyclerView`}),` which helps to display a list of users present in your CometChat app.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=8d67581c1afed230b0ad39d5647c9dc5`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`3120`,height:`3120`,\"data-path\":`images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=41147b7dbc55116a2d0e148a5d761475 280w, https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=c4ce57be15d100105689949a38efaf27 560w, https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=c782229f3ac3a91a8bbe365fc5ad421f 840w, https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=5bad73800cf21e14229f3ab4b7345700 1100w, https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=2ac4640d6cbdce6a4fcf0626fcc30228 1650w, https://mintcdn.com/cometchat-013b37f0/Ajj2zrtDwZmYg3EZ/images/7c311ff9-1623200016-203c3bd4399cfd1d8be34b95c061cd14.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=Ajj2zrtDwZmYg3EZ\u0026q=85\u0026s=9826b7f5f6d6545d2c63dd5801cfe8d5 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-cometchatusers-using-with-databinding`,children:_jsxs(_components.strong,{children:[`Note about `,_jsx(_components.code,{children:`CometChatUsers`}),` using with DataBinding:`]})}),`\n`,_jsxs(_components.p,{children:[`Your project should have DataBinding enabled. You can use `,_jsx(_components.code,{children:`CometChatUsers`}),` using DataBinding in the following manner`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code :`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-11`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.databinding.ObservableList\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.cometchat.pro.models.User\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`variable`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"userList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ObservableList\u003cUser>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatUsers.CometChatUsers`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/cometchatUserList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:userlist`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@{userList}\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:layoutManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment add the following code`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` userList: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`ObservableArrayList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`User`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` ObservableArrayList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`User`}),_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:`binding.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setUserList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(userList)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For getting the list of users you can use `,_jsx(_components.code,{children:`UsersRequestBuilder()`}),`. Visit the below link for more details on how to retrieve a list of users.`]}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.code,{children:`onSuccess`}),` of the `,_jsx(_components.code,{children:`fetchNext`}),` method you can set the data the `,_jsx(_components.code,{children:`ObservableArrayList`}),` you have created. The advantage of using the `,_jsx(_components.code,{children:`ObservableArrayList`}),` is one doesn’t have to manually set the data on `,_jsx(_components.code,{children:`binding.setUserList(userList);`}),` every time you get a new set of data.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-9`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`usersRequest.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchNext`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CallbackListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`User`}),_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:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSuccess`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(list: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`User`}),_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:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`d`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(TAG, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"User list received: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` list.size)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` userList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addAll`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(list)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` //update the ObservableArrayList here `})}),`\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:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatException`}),_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:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`d`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(TAG, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"User list fetching failed with exception: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` e.message)`})]}),`\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:`note-about-cometchatusers-without-databinding`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`CometChatUsers`}),` Without DataBinding`]})}),`\n`,_jsxs(_components.p,{children:[`If you are not using DataBinding in your project you can use the `,_jsx(_components.code,{children:`CometChatUser`}),` in the following manner.`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-12`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatUsers.CometChatUsers`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/cometchatUser\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:layoutManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment.`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-10`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`3`,children:[_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:` cometChatUsers: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatUsers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.cometchatUsers);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatUser.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setUserList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(list);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// list: fetched using the UsersRequestBuilder`})}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`To get the list of users you can use UsersRequestBuilder(). Visit the link below for more details on `,_jsx(_components.a,{href:`/sdk/android/retrieve-users`,children:`Retrieve Users`})]}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-using-setitemclicklistener`,children:_jsxs(_components.strong,{children:[`Note About Using `,_jsx(_components.code,{children:`setItemClickListener`})]})}),`\n`,_jsxs(_components.p,{children:[`For getting the click event of `,_jsx(_components.code,{children:`CometChatUsers`}),` you can make use of `,_jsx(_components.code,{children:`setItemClickListener`}),` class.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-11`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatUsers.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t, position)`})]}),`\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:`common-usage`,children:_jsx(_components.strong,{children:`Common Usage`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatUser`}),` component provides different properties to control the behavior of `,_jsx(_components.code,{children:`CometChatUser`}),` view.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatUser field elements`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update List`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# setUserList(List\u003cUser>)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# update (User)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Remove`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# remove(String)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Add`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# add(User)`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`8-5-cometchatgroups`,children:_jsx(_components.strong,{children:`8.5. CometChatGroups`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatGroups`}),` is a custom `,_jsx(_components.strong,{children:`RecyclerView`}),` that helps you to display a list of groups.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=2b18bc78c4d496fdd5e6d4f3e8039bbb`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`3120`,height:`3120`,\"data-path\":`images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=8dc7717da92b7630621c102f0842d56f 280w, https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=de79dc20281a82a3308f5bbcd8d43fb8 560w, https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=b83dd9785c375ee262f2e02bf1bf4f74 840w, https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=99f8d1927fa797fa72441e02f44dc156 1100w, https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=abb8fe11e1cde3659b3b405fb2efe67e 1650w, https://mintcdn.com/cometchat-013b37f0/vw_0NXjZvDpFf83K/images/b2edd0e5-1623200018-8c598dd4200bdd050bb1b3b2effb2271.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=vw_0NXjZvDpFf83K\u0026q=85\u0026s=a839330b61b339c93422142486406f05 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-cometchatgroups-using-with-databinding`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`CometChatGroups`}),` Using With DataBinding`]})}),`\n`,_jsxs(_components.p,{children:[`If you are using DataBinding in your project you can use the `,_jsx(_components.code,{children:`CometChatGroups`}),` in the following manner.`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code snippet`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Java`,id:`java`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`java`,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:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` type=\"androidx.recyclerview.widget.LinearLayoutManager\"/>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` type=\"androidx.databinding.ObservableList\"/>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` type=\"com.cometchat.pro.models.Group\"/>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003cvariable`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` name=\"groupList\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` type=\"ObservableList\u003cGroup>\" />`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c/data>`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003ccom.cometchat.pro.uikit.ui_components.shared.cometchatGroups.CometChatGroups`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` android:id=\"@+id/cometchatGroupList\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` android:layout_width=\"match_parent\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` app:grouplist=\"@{groupList}\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` app:layoutManager=\"androidx.recyclerview.widget.LinearLayoutManager\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` android:layout_height=\"match_parent\" />`})}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment .`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-12`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` groupList: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`ObservableArrayList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Group`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` ObservableArrayList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Group`}),_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:`binding.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setGroupList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(groupList)`})]}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`For getting the list of groups you can use `,_jsx(_components.code,{children:`GroupsRequestBuilder()`}),`.Visit the below link for more details on how to retrieve a list of group.`]}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.code,{children:`onSuccess`}),` of the `,_jsx(_components.code,{children:`fetchNext`}),` method you can set the data the `,_jsx(_components.code,{children:`ObservableArrayList`}),` you have created. The advantage of using the `,_jsx(_components.code,{children:`ObservableArrayList`}),` is one doesn’t have to manually set the data on `,_jsx(_components.code,{children:`binding.setGroupList(groupList);`}),` every time you get a new set of data.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-13`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`groupsRequest.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchNext`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CallbackListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Group`}),_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:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSuccess`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(list: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Group`}),_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:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`d`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(TAG, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Groups list fetched successfully: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` list.size);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` groupList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addAll`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(list)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // update the ObservableArrayList here`})}),`\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:` public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatException`}),_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:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`d`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(TAG, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Groups list fetching failed with exception: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` e.message);`})]}),`\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:`note-about-cometchatgroups-without-databinding`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`CometChatGroups`}),` Without DataBinding`]})}),`\n`,_jsxs(_components.p,{children:[`If you are not using DataBinding in your project you can use the `,_jsx(_components.code,{children:`CometChatGroups`}),` in the following manner.`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-13`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatGroups.CometChatGroups`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/cometchatGroupList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:layoutManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-14`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cometChatGroups: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatGroups`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.cometchatGroupList)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatGroups.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setGroupList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(list)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// list: fetched using the GroupsRequestBuilder`})}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`You can refer to how to `,_jsx(_components.a,{href:`/sdk/android/retrieve-groups`,children:`Retrieve Groups`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-using-setitemclicklistener-2`,children:_jsxs(_components.strong,{children:[`Note About Using `,_jsx(_components.code,{children:`setItemClickListener`})]})}),`\n`,_jsxs(_components.p,{children:[`For getting the click event of `,_jsx(_components.code,{children:`CometChatGroups`}),` you can make use of `,_jsx(_components.code,{children:`setItemClickListener`}),` class.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-15`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatGroups.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t, position)`})]}),`\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:`common-usage-2`,children:_jsx(_components.strong,{children:`Common Usage`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatGroups`}),` component provides different properties to control the behavior of `,_jsx(_components.code,{children:`CometChatGroups`}),` view. You can perform different operations like an update, remove, add, etc.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatGroups field elements`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update List`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# setGroupList(List\u003cGroup>)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# update (Group)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Remove`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# remove(String)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Add`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# add(Group)`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`8-6-cometchatconversations`,children:_jsx(_components.strong,{children:`8.6.CometChatConversations`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatConversations`}),` is a custom `,_jsx(_components.strong,{children:`RecyclerView`}),` which will help you to display a list of all the users and groups in which the logged-in user has made any conversation.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=1bc652e1c1679a540fb99df62be468e6`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`3120`,height:`3120`,\"data-path\":`images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=a459e230e402b064141ab333bc912454 280w, https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=56ee34a296e24b2d134accebce2eaa10 560w, https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=e548a1bb1269250b96826aeed223b049 840w, https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=176f69e99fc6e713b7a2df5da3c277a1 1100w, https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=9b9d5facd0080e43c9277fa5f365f2fd 1650w, https://mintcdn.com/cometchat-013b37f0/9BJmTDC4LAIA2-Td/images/d4894f31-1623200020-1e6edc0cd162671904900432ce5383e6.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=9BJmTDC4LAIA2-Td\u0026q=85\u0026s=00aa14290c0ba35d6799a49f7e9b025d 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-cometchatconversations-using-with-databinding`,children:_jsxs(_components.strong,{children:[`Note about `,_jsx(_components.code,{children:`CometChatConversations`}),` using with DataBinding`]})}),`\n`,_jsxs(_components.p,{children:[`If you are using DataBinding in your project you can use the `,_jsx(_components.code,{children:`CometChatConversations`}),` in the following manner.`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-14`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.databinding.ObservableList\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"com.cometchat.pro.models.Conversation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`variable`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"conversationList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ObservableList\u003cConversation>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatConversations.CometChatConversations`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/cometchatConversationList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:conversationlist`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@{conversationList}\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`app:layoutManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment.`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-16`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversationList: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`ObservableArrayList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Conversation`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` ObservableArrayList`}),_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:`binding.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversationList)`})]}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`For getting the list of conversation you can use `,_jsx(_components.code,{children:`ConversationsRequestBuilder()`}),` .visit the below link for more details on how to retrieve a list of conversation`]}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.code,{children:`onSuccess`}),` of the `,_jsx(_components.code,{children:`fetchNext`}),` method you can set the data the `,_jsx(_components.code,{children:`ObservableArrayList`}),` you have created. The advantage of using the `,_jsx(_components.code,{children:`ObservableArrayList`}),` is one doesn’t have to manually set the data on `,_jsx(_components.code,{children:`binding.setConversationList(conversationList);`}),` every time you get a new set of data.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-17`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`conversationsRequest.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchNext`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CallbackListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Conversation`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSuccess`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversations: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Conversation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle list of conversations`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` conversationList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addAll`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversations)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // update ObservableArrayList list here`})}),`\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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle failure`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`d`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(TAG, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"onError: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` e.message)`})]}),`\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:`note-about-cometchatconversations-without-databinding`,children:_jsxs(_components.strong,{children:[`Note About `,_jsx(_components.code,{children:`CometChatConversations`}),` Without DataBinding`]})}),`\n`,_jsxs(_components.p,{children:[`If you are not using DataBinding in your project you can use the `,_jsx(_components.code,{children:`CometChatConversations`}),` in the following manner.`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-15`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.ui_components.shared.cometchatConversations.CometChatConversations`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/cometchatConversation\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` app:layoutManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-18`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cometChatConversations: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatConversations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.cometchatConversations);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatConversationList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setConversationList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(conversations);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// list: fetched using the ConversationsRequestBuilder`})}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.code,{children:`onSuccess`}),` of the `,_jsx(_components.code,{children:`fetchNext`}),` method of `,_jsx(_components.code,{children:`ConversationsRequestBuilder`}),`, you can set the data. You can refer how to `,_jsx(_components.a,{href:`/sdk/android/retrieve-conversations`,children:`Retrieve Conversations`})]}),`\n`,_jsx(Heading,{level:`3`,id:`note-about-using-setitemclicklistener-3`,children:_jsxs(_components.strong,{children:[`Note About Using `,_jsx(_components.code,{children:`setItemClickListener`})]})}),`\n`,_jsxs(_components.p,{children:[`For getting the click event of `,_jsx(_components.code,{children:`CometChatConversations`}),` you can make use of the `,_jsx(_components.code,{children:`ConversationItemClickListener`}),` class.`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-19`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatConversations.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`OnItemLongClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t, position)`})]}),`\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:`common-usage-3`,children:_jsx(_components.strong,{children:`Common Usage`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatConversations`}),` component provides different properties to control the behavior of the `,_jsx(_components.code,{children:`CometChatConversations`}),` view. You can perform different operations like an update, remove, add, etc`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatConversations field elements`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update List`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# setConversationList(List\u003cConversation>)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# update (Conversation)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Remove`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# remove(Conversation)`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Add`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`# add(Conversation)`})})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`8-7-cometchatcalls`,children:_jsx(_components.strong,{children:`8.7. CometChatCalls`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`CometChatCalls`}),` is custom `,_jsx(_components.strong,{children:`RecyclerView`}),` which will help you to display list of calls.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=0830d3885b128dd7ff52aaadcd203b78`,\"data-og-width\":`1080`,width:`1080`,\"data-og-height\":`2340`,height:`2340`,\"data-path\":`images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=b6547807facf5a8fa8735730ba4b5a83 280w, https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=bfdd5c9819e0a20cd2cc97823ff76cf3 560w, https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=dec85edbb1d689b844e15565aa0aa8e4 840w, https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=a769f93dda2320df34e835f2c83d5b78 1100w, https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=7df164590a32b64087e0d0f185569b07 1650w, https://mintcdn.com/cometchat-013b37f0/GhYys0LCUFYC4zjz/images/87cad251-1623200023-8e95c2b094678f21eff081b269904ddf.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=GhYys0LCUFYC4zjz\u0026q=85\u0026s=1758db33dab64c6528f244c97d01261f 2500w`})}),`\n`,_jsxs(_components.p,{children:[`You can use the `,_jsx(_components.code,{children:`CometChatCalls`}),` in the following manner.`]}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`layout.xml`}),` add the following code :`]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`xml`,id:`xml-16`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`xml`,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:`xml`,children:_jsxs(_components.code,{language:`xml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`com.cometchat.pro.uikit.CometChatCalls`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"@+id/cometchatCalls\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_width`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` app:layoutManager`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"androidx.recyclerview.widget.LinearLayoutManager\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` android:layout_height`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"match_parent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})})})}),`\n`,_jsx(_components.p,{children:`In your corresponding activity or fragment`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-20`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cometChatCalls: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatCalls`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` findViewById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(R.id.cometchatCalls);`})]}),`\n`]})})})})}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.code,{children:`onSuccess`}),` of the `,_jsx(_components.code,{children:`fetchNext`}),` method of `,_jsx(_components.code,{children:`MessagesRequestBuilder`}),` you can set the data. You need to add `,_jsx(_components.code,{children:`setCategory(CometChatConstants.CATEGORY_CALL)`}),` in your `,_jsx(_components.code,{children:`MessagesRequestBuilder`}),` to fetch only call messages`]}),`\n`,_jsxs(_components.p,{children:[`You can refer an `,_jsx(_components.strong,{children:`example here.`})]}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-21`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (messagesRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messagesRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` MessagesRequestBuilder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setCategory`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(CometChatConstants.CATEGORY_CALL).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setLimit`}),_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`messagesRequest.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fetchPrevious`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CallbackListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`BaseMessage`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onSuccess`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(baseMessages: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`BaseMessage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /*Since the call list received like messages i.e top with older and `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` bottom with the latest message. We will reverse the list */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Collections.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`reverse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(baseMessages)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` cometCallList.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setCallList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(baseMessages)`})]}),`\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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(e: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`CometChatException`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` //Error Message `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Log.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"onError: \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, e.message)`})]}),`\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:`note-about-using-callitemclicklistener`,children:_jsxs(_components.strong,{children:[`Note About Using `,_jsx(_components.code,{children:`CallItemClickListener`}),`:`]})}),`\n`,_jsxs(_components.p,{children:[`For getting the click event of `,_jsx(_components.code,{children:`CometChatCalls`}),` you can make use of `,_jsx(_components.code,{children:`ItemClickListener`}),` class.`]}),`\n`,_jsxs(_components.p,{children:[`There are two events given by `,_jsx(_components.code,{children:`CometChatCalls`}),`.`]}),`\n`,_jsx(_components.p,{children:`This event is performed when clicking on the User or Group item displayed in the call list.`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-22`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatCalls.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Call`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // perform your action here`})}),`\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.p,{children:`This event is performed when click on call icon visible after each Group or User item in call list.`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`Kotlin`,id:`kotlin-23`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`kotlin`,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:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cometChatCalls.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setItemCallClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`OnItemClickListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Call`}),_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:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnItemClick`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(t: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Any`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, position: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Int`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // perform your action here`})}),`\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:`common-usage-4`,children:_jsx(_components.strong,{children:`Common Usage:`})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`CometChatCalls`}),` component provides different properties to control the behavior of the `,_jsx(_components.code,{children:`CometChatCalls`}),` view. You can perform different operations like an update, remove.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`CometChatCalls field e`}),_jsx(_components.th,{children:`Relevant attributes/methods`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update List`}),_jsx(_components.td,{children:`setCallList(List)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update`}),_jsx(_components.td,{children:`update (Call)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Remove`}),_jsx(_components.td,{children:`remove(Call)`})]})]})]})]})}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":"UI Components","description":null,"href":"/ui-kit/kotlin/ui-components"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. CometChatUI","slug":"1-cometchatui","depth":2,"children":[]},{"title":"2. CometChatConversationList","slug":"2-cometchatconversationlist","depth":2,"children":[{"title":"Usage","slug":"usage","depth":3,"children":[]},{"title":"Note About setItemClickListener on CometChatConversationList","slug":"note-about-setitemclicklistener-on-cometchatconversationlist","depth":3,"children":[]}]},{"title":"3. CometChatUserList","slug":"3-cometchatuserlist","depth":2,"children":[{"title":"Usage","slug":"usage-2","depth":3,"children":[]},{"title":"Note About setItemClickListener on CometChatUserList","slug":"note-about-setitemclicklistener-on-cometchatuserlist","depth":3,"children":[]}]},{"title":"4. CometChatGroupList","slug":"4-cometchatgrouplist","depth":2,"children":[{"title":"Usage","slug":"usage-3","depth":3,"children":[]},{"title":"Note About setItemClickListener on CometChatGroupList","slug":"note-about-setitemclicklistener-on-cometchatgrouplist","depth":3,"children":[]}]},{"title":"5. CometChatMessageList","slug":"5-cometchatmessagelist","depth":2,"children":[{"title":"Usage","slug":"usage-4","depth":3,"children":[]}]},{"title":"6 CometChatCallList","slug":"6-cometchatcalllist","depth":2,"children":[{"title":"Usage","slug":"usage-5","depth":3,"children":[]}]},{"title":"7. CometChatUserProfile","slug":"7-cometchatuserprofile","depth":2,"children":[{"title":"Usage","slug":"usage-6","depth":3,"children":[]}]},{"title":"8. Shared","slug":"8-shared","depth":2,"children":[{"title":"8.1. CometChatAvatar","slug":"8-1-cometchatavatar","depth":3,"children":[]},{"title":"Usage","slug":"usage-7","depth":3,"children":[]},{"title":"Common Features","slug":"common-features","depth":3,"children":[]},{"title":"8.2. CometChatUserPresence","slug":"8-2-cometchatuserpresence","depth":3,"children":[]},{"title":"Usage","slug":"usage-8","depth":3,"children":[]},{"title":"Common Features","slug":"common-features-2","depth":3,"children":[]},{"title":"8.3. CometChatBadgeCount","slug":"8-3-cometchatbadgecount","depth":3,"children":[]},{"title":"Common Feature","slug":"common-feature","depth":3,"children":[]},{"title":"8.4. CometChatUsers","slug":"8-4-cometchatusers","depth":3,"children":[]},{"title":"Note about CometChatUsers using with DataBinding:","slug":"note-about-cometchatusers-using-with-databinding","depth":3,"children":[]},{"title":"Note About CometChatUsers Without DataBinding","slug":"note-about-cometchatusers-without-databinding","depth":3,"children":[]},{"title":"Note About Using setItemClickListener","slug":"note-about-using-setitemclicklistener","depth":3,"children":[]},{"title":"Common Usage","slug":"common-usage","depth":3,"children":[]},{"title":"8.5. CometChatGroups","slug":"8-5-cometchatgroups","depth":3,"children":[]},{"title":"Note About CometChatGroups Using With DataBinding","slug":"note-about-cometchatgroups-using-with-databinding","depth":3,"children":[]},{"title":"Note About CometChatGroups Without DataBinding","slug":"note-about-cometchatgroups-without-databinding","depth":3,"children":[]},{"title":"Note About Using setItemClickListener","slug":"note-about-using-setitemclicklistener-2","depth":3,"children":[]},{"title":"Common Usage","slug":"common-usage-2","depth":3,"children":[]},{"title":"8.6.CometChatConversations","slug":"8-6-cometchatconversations","depth":3,"children":[]},{"title":"Note about CometChatConversations using with DataBinding","slug":"note-about-cometchatconversations-using-with-databinding","depth":3,"children":[]},{"title":"Note About CometChatConversations Without DataBinding","slug":"note-about-cometchatconversations-without-databinding","depth":3,"children":[]},{"title":"Note About Using setItemClickListener","slug":"note-about-using-setitemclicklistener-3","depth":3,"children":[]},{"title":"Common Usage","slug":"common-usage-3","depth":3,"children":[]},{"title":"8.7. CometChatCalls","slug":"8-7-cometchatcalls","depth":3,"children":[]},{"title":"Note About Using CallItemClickListener:","slug":"note-about-using-callitemclicklistener","depth":3,"children":[]},{"title":"Common Usage:","slug":"common-usage-4","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cometchat-013b37f0","siteName":"CometChat Docs","title":"UI Components - CometChat Docs","navMaps":{"firstHrefInVersion":{"v6":{"href":"/ui-kit/kotlin/ui-components","matchLevel":0},"v5":{"href":"/ui-kit/react/v5/overview","matchLevel":3},"v4":{"href":"/ui-kit/react/v4/overview","matchLevel":3},"v3":{"href":"/ui-kit/react/v3/overview","matchLevel":3},"v2":{"href":"/ui-kit/react/v2/overview","matchLevel":3},"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},"v5":{"href":"/ui-kit/ios/overview","matchLevel":4},"v4":{"href":"/ui-kit/ios/v4/overview","matchLevel":4},"v3":{"href":"/ui-kit/ios/v3/overview","matchLevel":4},"v2":{"href":"/ui-kit/ios/v2/overview","matchLevel":4},"v5":{"href":"/ui-kit/android/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},"v5":{"href":"/ui-kit/flutter/overview","matchLevel":4},"v4":{"href":"/ui-kit/flutter/v4/overview","matchLevel":4},"v4":{"href":"/ui-kit/angular/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},"v4":{"href":"/sdk/android/overview","matchLevel":4},"v3":{"href":"/sdk/android/3.0/overview","matchLevel":4},"v2":{"href":"/sdk/android/2.0/overview","matchLevel":4},"v4":{"href":"/sdk/flutter/overview","matchLevel":4},"v3":{"href":"/sdk/flutter/3.0/overview","matchLevel":4},"v4":{"href":"/sdk/ionic/overview","matchLevel":4},"v3":{"href":"/sdk/ionic/3.0/overview","matchLevel":4},"v2":{"href":"/sdk/ionic/2.0/overview","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T09:57:43.469Z","originalFileLocation":"ui-kit/kotlin/ui-components.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=\"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.\">\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=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_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=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"UI Components - CometChat Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"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.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CometChat Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cometchat-013b37f0.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=UI+Components\u0026amp;theme=987b5d4b10405f1e6ffb28c8\u0026amp;signature=400a9933611df86d331576133b17d6eb4ae9a99b64d67648cb0e119ab058734d\">\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=\"UI Components - CometChat Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"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.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cometchat-013b37f0.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=UI+Components\u0026amp;theme=987b5d4b10405f1e6ffb28c8\u0026amp;signature=400a9933611df86d331576133b17d6eb4ae9a99b64d67648cb0e119ab058734d\">\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=\"/mintlify-assets/_mintlify/favicons/cometchat-013b37f0/DKuJRsWM3heQLsPi/_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://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ui-kit/kotlin/ui-components.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cometchat-013b37f0.mintlify.app/#organization\",\"name\":\"CometChat Docs\",\"url\":\"https://cometchat-013b37f0.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cometchat-013b37f0/Oejiic_cET5SpCTq/logo/light.svg?fit=max\u0026auto=format\u0026n=Oejiic_cET5SpCTq\u0026q=85\u0026s=a75971ad01bfa0cdd08c5a6406b91b17\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cometchat-013b37f0.mintlify.app#website\",\"name\":\"CometChat Docs\",\"url\":\"https://cometchat-013b37f0.mintlify.app\",\"publisher\":{\"@id\":\"https://cometchat-013b37f0.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components#webpage\",\"url\":\"https://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components\",\"name\":\"UI Components\",\"dateModified\":\"2026-01-07T09:57:43.469Z\",\"isPartOf\":{\"@id\":\"https://cometchat-013b37f0.mintlify.app#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components#article\",\"headline\":\"UI Components\",\"name\":\"UI Components\",\"url\":\"https://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components\",\"mainEntityOfPage\":{\"@id\":\"https://cometchat-013b37f0.mintlify.app/ui-kit/kotlin/ui-components#webpage\"},\"dateModified\":\"2026-01-07T09:57:43.469Z\",\"publisher\":{\"@id\":\"https://cometchat-013b37f0.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://cometchat-013b37f0.mintlify.app#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":"/ui-kit/kotlin/ui-components.md","siteName":"CometChat Docs","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"mode":"custom","title":"Home","href":""}]},{"tab":"Platform","groups":[{"group":"Chat \u0026 Calling","pages":[{"title":"What Is CometChat?","sidebarTitle":"Overview","href":"/fundamentals/overview"},{"title":"Implementation Checklist","href":"/fundamentals/implementation-checklist"},{"title":"Key Concepts","href":"/fundamentals/key-concepts"},{"group":"Features","pages":[{"title":"Core In App Messaging Features","sidebarTitle":"Core","href":"/fundamentals/features-core"},{"group":"Extensions","pages":[{"title":"Extensions","sidebarTitle":"Overview","href":"/fundamentals/extensions-overview"},{"group":"User Experience","pages":[{"title":"Message Shortcuts","href":"/fundamentals/message-shortcuts"},{"title":"Avatars (Deprecated)","href":"/fundamentals/avatars"},{"title":"Thumbnail Generation","href":"/fundamentals/thumbnail-generation"},{"title":"Link Preview","href":"/fundamentals/link-preview"},{"title":"Rich Media Preview","href":"/fundamentals/rich-media-preview"},{"title":"Voice Transcription","href":"/fundamentals/voice-transcription"},{"title":"Pin Message","href":"/fundamentals/pin-message"},{"title":"Save Message","href":"/fundamentals/save-message"},{"title":"TinyURL","href":"/fundamentals/tinyurl"},{"title":"Bitly","href":"/fundamentals/bitly"}]},{"title":"Notifications","href":"/fundamentals/notification-extensions"},{"group":"User Engagement","pages":[{"title":"Email Replies (Legacy)","href":"/fundamentals/email-replies"},{"title":"Smart Replies (Legacy)","href":"/fundamentals/smart-replies"},{"title":"Message Translation","href":"/fundamentals/message-translation"},{"title":"Emojis (Deprecated)","href":"/fundamentals/emojis"},{"title":"Polls","href":"/fundamentals/polls"},{"title":"Reactions (Legacy)","href":"/fundamentals/reactions"},{"title":"Stipop","href":"/fundamentals/stickers-stipop"},{"title":"Stickers","href":"/fundamentals/stickers"},{"title":"Live Streaming By API Video (Deprecated)","href":"/fundamentals/video-broadcasting"},{"title":"Mentions (Legacy)","href":"/fundamentals/mentions"},{"title":"Giphy","href":"/fundamentals/giphy"},{"title":"Tenor","href":"/fundamentals/tenor"},{"title":"Gfycat (Deprecated)","href":"/fundamentals/gfycat"},{"title":"Reminders","href":"/fundamentals/reminders"}]},{"title":"Moderation","href":"/fundamentals/moderation-extensions"},{"group":"Collaboration","pages":[{"title":"Collaborative Whiteboard","href":"/fundamentals/collaborative-whiteboard"},{"title":"Collaborative Document","href":"/fundamentals/collaborative-document"}]},{"group":"Customer Support","pages":[{"title":"Chatwoot","href":"/fundamentals/chatwoot"},{"title":"Intercom","href":"/fundamentals/intercom"}]},{"group":"Security","pages":[{"title":"Disappearing Messages","href":"/fundamentals/disappearing-messages"},{"title":"End To End Encryption (Deprecated)","href":"/fundamentals/end-to-end-encryption"}]}]},{"group":"AI User Copilot","pages":[{"title":"AI User Copilot","sidebarTitle":"Overview","href":"/fundamentals/ai-user-copilot/overview"},{"title":"Conversation Starter","href":"/fundamentals/ai-user-copilot/conversation-starter"},{"title":"Smart Replies","href":"/fundamentals/ai-user-copilot/smart-replies"},{"title":"Conversation Summary","href":"/fundamentals/ai-user-copilot/conversation-summary"}]}]},{"group":"Multi tenancy","pages":[{"title":"Multi Tenancy Plans And Apps","sidebarTitle":"Overview","href":"/fundamentals/multi-tenancy-overview"},{"title":"Best Practices","href":"/fundamentals/multi-tenancy-best-practices"}]},{"title":"Limits","href":"/fundamentals/limits"},{"group":"Data import and migration","pages":[{"title":"Overview","href":"/fundamentals/data-import-and-migration-overview"},{"title":"Import Historical Data","href":"/fundamentals/import-historical-data"},{"title":"Live Data Migration","href":"/fundamentals/live-data-migration"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","sidebarTitle":"Overview","href":"/fundamentals/webhooks-overview"},{"title":"Managing Webhook Triggers","sidebarTitle":"Managing Triggers","href":"/fundamentals/webhooks-management"},{"title":"Events","href":"/fundamentals/webhooks-events"},{"group":"Legacy Webhooks","pages":[{"title":"Legacy Webhooks Overview","sidebarTitle":"Overview","href":"/fundamentals/webhooks-legacy-overview"},{"title":"Managing Legacy Webhook Triggers","sidebarTitle":"Managing Triggers","href":"/fundamentals/webhooks-legacy-management"},{"title":"Events","href":"/fundamentals/webhooks-legacy-events"}]}]},{"group":"User-Roles","pages":[{"title":"User Roles And Permissions In CometChat","sidebarTitle":"User Roles And Permissions","href":"/fundamentals/user-roles-and-permissions"}]}]},{"group":"Notifications","pages":[{"title":"Overview","href":"/notifications/overview"},{"group":"Push Notifications","pages":[{"title":"Overview","href":"/notifications/push-overview"},{"title":"Integration","href":"/notifications/push-integration"},{"title":"Customizations","href":"/notifications/push-customization"}]},{"group":"Email Notifications","pages":[{"title":"Overview","href":"/notifications/email-overview"},{"title":"Integration","href":"/notifications/email-integration"},{"title":"Customizations","href":"/notifications/email-customization"}]},{"group":"SMS Notifications","pages":[{"title":"Overview","href":"/notifications/sms-overview"},{"title":"Integration","href":"/notifications/sms-integration"},{"title":"Customizations","href":"/notifications/sms-customization"}]},{"title":"Preferences, Templates \u0026 Sounds","href":"/notifications/preferences-templates-sounds"},{"title":"Notification Logs","href":"/notifications/logs"},{"title":"Constraints And Limits","href":"/notifications/constraints-and-limits"},{"group":"Legacy Notifications (Extension)","pages":[{"group":"Push Notification Extension (Legacy)","pages":[{"title":"Push Notification Extension (Legacy)","href":"/notifications/push-notification-extension-overview"},{"title":"Web","href":"/notifications/web-push-notifications"},{"title":"Android","href":"/notifications/android-push-notifications"},{"title":"Android Connection Service","href":"/notifications/android-connection-service"},{"title":"iOS FCM","href":"/notifications/ios-fcm-push-notifications"},{"title":"iOS APNs","href":"/notifications/ios-apns-push-notifications"},{"title":"Flutter","href":"/notifications/flutter-push-notifications"},{"title":"React Native","href":"/notifications/react-native-push-notifications"},{"title":"Capacitor, Cordova \u0026 Ionic","href":"/notifications/capacitor-cordova-ionic-push-notifications"},{"title":"Migration Guide","href":"/notifications/migration-guide-push-notifications"},{"title":"Mute Functionality","href":"/notifications/mute-functionality"},{"title":"Token Management","href":"/notifications/token-management"},{"title":"Legacy","href":"/notifications/legacy-push-notifications"}]},{"title":"Email Notification Extension (Legacy)","href":"/notifications/email-notification-extension"},{"title":"SMS Notification Extension (Legacy)","href":"/notifications/sms-notification-extension"}]}]},{"group":"Moderation","pages":[{"title":"Overview","href":"/moderation/overview"},{"title":"Getting Started","href":"/moderation/getting-started"},{"title":"Rules Management","href":"/moderation/rules-management"},{"title":"Lists Management","href":"/moderation/lists-management"},{"title":"Blocked Messages","href":"/moderation/blocked-messages"},{"title":"Constraints And Limits","href":"/moderation/constraints-and-limits"},{"group":"Legacy Moderation (Extensions)","pages":[{"title":"Slow Mode (Deprecated)","href":"/moderation/legacy/slow-mode"},{"title":"Report User (Legacy)","href":"/moderation/legacy/report-user"},{"title":"Report Message (Legacy)","href":"/moderation/legacy/report-message"},{"title":"Data Masking Filter (Legacy)","href":"/moderation/legacy/data-masking-filter"},{"title":"Profanity Filter (Legacy)","href":"/moderation/legacy/profanity-filter"},{"title":"Image Moderation (Legacy)","href":"/moderation/legacy/image-moderation"},{"title":"Sentiment Analysis (Legacy)","href":"/moderation/legacy/sentiment-analysis"},{"title":"In Flight Message Moderation (Legacy)","sidebarTitle":"In-flight Message Moderation (Legacy)","href":"/moderation/legacy/in-flight-message-moderation"},{"title":"Virus And Malware Scanner (Legacy)","href":"/moderation/legacy/virus-malware-scanner"},{"title":"XSS Filter (Deprecated)","href":"/moderation/legacy/xss-filter"}]},{"group":"OpenAI","pages":[{"title":"Overview","href":"/moderation/open-ai/openai-overview"},{"title":"OpenAI Moderation","sidebarTitle":"OpenAI Custom Moderation","href":"/moderation/open-ai/openai-custom"}]},{"group":"Custom API","pages":[{"title":"Overview","href":"/moderation/custom/custom-api-overview"},{"title":"Custom API Moderation","href":"/moderation/custom/custom-api"}]},{"title":"Webhook Overview","url":"/fundamentals/webhooks-overview","href":"/moderation/webhooks-overview"},{"title":"API Explorer","url":"/rest-api/moderation","href":"/moderation/api-explorer"}]},{"group":"AI Chatbots","pages":[{"title":"Overview","href":"/ai-chatbots/overview"},{"title":"AI Bots","href":"/ai-chatbots/bots"},{"title":"AI Instructions","href":"/ai-chatbots/instructions"},{"title":"Custom Agents","href":"/ai-chatbots/custom-agents"}]},{"group":"Insights","pages":[{"title":"Data Insights","sidebarTitle":"Overview","href":"/insights"}]}]},{"tab":"UI Kits","dropdowns":[{"dropdown":"React","icon":"react","versions":[{"version":"v6","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit For React","sidebarTitle":"Overview","href":"/ui-kit/react/overview"},{"group":"Getting Started","pages":[{"group":"Chat Builder (Pre-Assembled UI)","pages":[{"title":"Getting Started With Chat Builder","sidebarTitle":"Integration - React.js","href":"/ui-kit/react/builder-integration"},{"title":"Getting Started With Chat Builder","sidebarTitle":"Integration - Next.js","href":"/ui-kit/react/builder-integration-nextjs"},{"title":"Getting Started With Chat Builder","sidebarTitle":"Integration - React Router","href":"/ui-kit/react/builder-integration-react-router"},{"group":"Additional Customizations","pages":[{"title":"Customizing Your Chat Builder Integration","sidebarTitle":"Overview","href":"/ui-kit/react/builder-customisations"},{"title":"CometChat Chat Builder Directory Structure","sidebarTitle":"Directory Structure","href":"/ui-kit/react/builder-dir-structure"},{"title":"CometChat Settings Guide","href":"/ui-kit/react/builder-settings"}]}]},{"group":"UI Components (Assemble It Yourself)","pages":[{"group":"React.js","pages":[{"title":"Getting Started With CometChat React UI Kit","sidebarTitle":"Integration","href":"/ui-kit/react/react-js-integration"},{"title":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/react-conversation"},{"title":"Building A One To One/Group Chat Experience","sidebarTitle":"One To One/Group Chat","href":"/ui-kit/react/react-one-to-one-chat"},{"title":"Building A Messaging UI With Tabs, Sidebar, And Message View","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/react/react-tab-based-chat"}]},{"group":"Next.js","pages":[{"title":"Getting Started With CometChat React UI Kit For Next.js","sidebarTitle":"Integration","href":"/ui-kit/react/next-js-integration"},{"title":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/next-conversation"},{"title":"Building A One To One/Group Chat Experience","sidebarTitle":"One To One/Group Chat","href":"/ui-kit/react/next-one-to-one-chat"},{"title":"Building A Messaging UI With Tabs, Sidebar, And Message View","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/react/next-tab-based-chat"}]},{"group":"React-Router","pages":[{"title":"Getting Started With CometChat React UI Kit For React Router","sidebarTitle":"Integration","href":"/ui-kit/react/react-router-integration"},{"title":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/react/react-router-conversation"},{"title":"Building A One To One/Group Chat Experience","sidebarTitle":"One To One/Group Chat","href":"/ui-kit/react/react-router-one-to-one-chat"},{"title":"Building A Messaging UI With Tabs, Sidebar, And Message View","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/react/react-router-tab-based-chat"}]}]}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/react/core-features"},{"title":"Extensions","href":"/ui-kit/react/extensions"},{"title":"AI User Copilot","href":"/ui-kit/react/ai-features"}]},{"title":"Call","href":"/ui-kit/react/call-features"}]},{"group":"Theming","pages":[{"title":"Customizing UI With Theming","sidebarTitle":"Overview","href":"/ui-kit/react/theme"},{"title":"Color Resources","href":"/ui-kit/react/theme/color-resources"},{"title":"Message Bubble Styling","href":"/ui-kit/react/theme/message-bubble-styling"},{"title":"Localization","sidebarTitle":"Localize","href":"/ui-kit/react/localize"},{"title":"Sound Manager","href":"/ui-kit/react/sound-manager"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/react/components-overview"},{"title":"Conversations","href":"/ui-kit/react/conversations"},{"title":"Users","href":"/ui-kit/react/users"},{"title":"Groups","href":"/ui-kit/react/groups"},{"title":"Group Members","href":"/ui-kit/react/group-members"},{"title":"Message Header","href":"/ui-kit/react/message-header"},{"title":"Message List","href":"/ui-kit/react/message-list"},{"title":"Message Composer","href":"/ui-kit/react/message-composer"},{"title":"Message Template","href":"/ui-kit/react/message-template"},{"title":"Thread Header","href":"/ui-kit/react/thread-header"},{"title":"Incoming Call","href":"/ui-kit/react/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/react/outgoing-call"},{"title":"Call Buttons","href":"/ui-kit/react/call-buttons"},{"title":"Call Logs","href":"/ui-kit/react/call-logs"},{"title":"Search","href":"/ui-kit/react/search"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/react/methods"},{"title":"Events","href":"/ui-kit/react/events"}]},{"group":"Guides","pages":[{"title":"Block/Unblock User","href":"/ui-kit/react/block-unblock-user-guide"},{"title":"Custom Text Formatter","href":"/ui-kit/react/custom-text-formatter-guide"},{"title":"Mentions Formatter","href":"/ui-kit/react/mentions-formatter-guide"},{"title":"URL Formatter","href":"/ui-kit/react/url-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/react/shortcut-formatter-guide"}]},{"group":"Migration Guide","pages":[{"title":"Upgrading From V5","href":"/ui-kit/react/upgrading-from-v5"},{"title":"Property Changes","href":"/ui-kit/react/property-changes"}]},{"title":"React Sample App","url":"https://github.com/cometchat/cometchat-uikit-react/tree/v6/sample-app","href":"/ui-kit/react/link/sample"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-react/releases?q=v6\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":"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":"react","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"title":"Overview","href":"/ui-kit/react-native/overview"},{"title":"Getting Started","href":"/ui-kit/react-native/getting-started"},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/react-native/core-features"},{"title":"Extensions","href":"/ui-kit/react-native/extensions"}]},{"title":"Call","href":"/ui-kit/react-native/call-features"}]},{"group":"Theming","pages":[{"title":"Introduction","href":"/ui-kit/react-native/theme"},{"title":"Colors","href":"/ui-kit/react-native/colors"},{"title":"Component Styling","href":"/ui-kit/react-native/component-styling"},{"title":"Message Bubble Styling","href":"/ui-kit/react-native/message-bubble-styling"},{"title":"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":"Message Composer","href":"/ui-kit/react-native/message-composer"},{"title":"Threaded Messages Header","href":"/ui-kit/react-native/threaded-messages-header"},{"title":"Incoming Call","href":"/ui-kit/react-native/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/react-native/outgoing-call"},{"title":"Call Buttons","href":"/ui-kit/react-native/call-buttons"},{"title":"Call Logs","href":"/ui-kit/react-native/call-logs"}]},{"group":"References","pages":[{"title":"Methods","href":"/ui-kit/react-native/methods"},{"title":"Events","href":"/ui-kit/react-native/events"}]},{"group":"Advanced","pages":[{"title":"Multi Tab Chat UI Guide","href":"/ui-kit/react-native/multi-tab-chat-ui-guide"},{"title":"Expo Integration","href":"/ui-kit/react-native/expo-integration-guide"},{"title":"Apple Privacy Manifest","href":"/ui-kit/react-native/apple-privacy-manifest-guide"},{"title":"Mentions Formatter","href":"/ui-kit/react-native/mentions-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/react-native/shortcut-formatter-guide"}]},{"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":"swift","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit For iOS","sidebarTitle":"Overview","href":"/ui-kit/ios/overview"},{"group":"Getting Started","pages":[{"title":"Getting Started With CometChat iOS UI Kit","sidebarTitle":"Integration","href":"/ui-kit/ios/getting-started"},{"title":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/ios/ios-conversation"},{"title":"Building A One To One/Group Chat Experience","sidebarTitle":"One To One/Group Chat","href":"/ui-kit/ios/ios-one-to-one-chat"},{"title":"Building A Tab Based Messaging UI In iOS","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/ios/ios-tab-based-chat"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/ios/core-features"},{"title":"Extensions","href":"/ui-kit/ios/extensions"}]},{"title":"Call","href":"/ui-kit/ios/call-features"},{"title":"AI","href":"/ui-kit/ios/ai-features"}]},{"group":"Theming","pages":[{"title":"Introduction","href":"/ui-kit/ios/theme-introduction"},{"title":"Color Resources","href":"/ui-kit/ios/color-resources"},{"title":"Component Styling","href":"/ui-kit/ios/component-styling"},{"title":"Message Bubble Styling","href":"/ui-kit/ios/message-bubble-styling"},{"title":"Localize","href":"/ui-kit/ios/localize"},{"title":"Sound Manager","href":"/ui-kit/ios/sound-manager"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/ios/components-overview"},{"title":"Conversations","href":"/ui-kit/ios/conversations"},{"title":"Users","href":"/ui-kit/ios/users"},{"title":"Groups","href":"/ui-kit/ios/groups"},{"title":"Group Members","href":"/ui-kit/ios/group-members"},{"title":"Message Header","href":"/ui-kit/ios/message-header"},{"title":"Message List","href":"/ui-kit/ios/message-list"},{"title":"Message Composer","href":"/ui-kit/ios/message-composer"},{"title":"Threaded Messages Header","href":"/ui-kit/ios/threaded-messages-header"},{"title":"Incoming Call","href":"/ui-kit/ios/incoming-call"},{"title":"Outgoing Call","href":"/ui-kit/ios/outgoing-call"},{"title":"Ongoing Call","href":"/ui-kit/ios/ongoing-call"},{"title":"Call Buttons","href":"/ui-kit/ios/call-buttons"},{"title":"Call Logs","href":"/ui-kit/ios/call-logs"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/ios/methods"},{"title":"Events","href":"/ui-kit/ios/events"}]},{"group":"Advanced","pages":[{"title":"ShortCut Formatter","href":"/ui-kit/ios/shortcut-formatter-guide"},{"title":"Mentions Formatter","href":"/ui-kit/ios/mentions-formatter-guide"},{"title":"Message Template","href":"/ui-kit/ios/message-template"}]},{"title":"iOS Sample App","url":"https://github.com/cometchat/cometchat-uikit-ios/tree/v5","href":"/ui-kit/ios/link/sample"},{"title":"Figma Design","url":"https://www.figma.com/community/file/1444325479486807899/cometchat-ui-kit-for-ios","href":"/ui-kit/ios/link/figma"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-ios/releases","href":"/ui-kit/ios/link/changelog"}]}]},{"version":"v4","pages":[{"title":"v4","href":"/ui-kit/ios/v4/overview"}]},{"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":"android","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"title":"CometChat UI Kit For Android","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":"Building A Conversation List + Message View","sidebarTitle":"Conversation List + Message View","href":"/ui-kit/android/android-conversation"},{"title":"Building A One To One/Group Chat Experience","sidebarTitle":"One To One/Group Chat","href":"/ui-kit/android/android-one-to-one-chat"},{"title":"Building A Messaging UI With Tabs, Sidebar, And Message View","sidebarTitle":"Tab Based Chat Experience","href":"/ui-kit/android/android-tab-based-chat"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/android/core-features"},{"title":"Extensions","href":"/ui-kit/android/extensions"},{"title":"AI","href":"/ui-kit/android/ai-features"}]},{"title":"Call","href":"/ui-kit/android/call-features"}]},{"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":"Components","pages":[{"title":"Overview","href":"/ui-kit/android/components-overview"},{"title":"Conversations","href":"/ui-kit/android/conversations"},{"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":"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":"Call Buttons","href":"/ui-kit/android/call-buttons"},{"title":"Call Logs","href":"/ui-kit/android/call-logs"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/android/methods"},{"title":"Events","href":"/ui-kit/android/events"}]},{"group":"Advanced","pages":[{"title":"Message Template","href":"/ui-kit/android/message-template"},{"title":"Mentions Formatter","href":"/ui-kit/android/mentions-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/android/shortcut-formatter-guide"}]},{"title":"Android Sample App","url":"https://github.com/cometchat/cometchat-uikit-android/tree/v5","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":"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":"flutter","versions":[{"version":"v5","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"CometChat UI Kit For Flutter","sidebarTitle":"Overview","href":"/ui-kit/flutter/overview"}]},{"group":"Getting Started","pages":[{"title":"Getting Started With CometChat Flutter UI Kit","sidebarTitle":"Getting Started","href":"/ui-kit/flutter/getting-started"},{"title":"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"}]},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/flutter/core-features"},{"title":"Extensions","href":"/ui-kit/flutter/extensions"}]},{"title":"Call","href":"/ui-kit/flutter/call-features"},{"title":"AI","href":"/ui-kit/flutter/ai-features"}]},{"group":"Theming","pages":[{"title":"Theming In CometChat Flutter UI Kit","sidebarTitle":"Introduction","href":"/ui-kit/flutter/theme-introduction"},{"title":"Color Resources","href":"/ui-kit/flutter/color-resources"},{"title":"Elevate Your Chat Experience: Mastering Component Styling In CometChat","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"}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/flutter/methods"},{"title":"Events","href":"/ui-kit/flutter/events"}]},{"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"}]},{"group":"Guides","pages":[{"title":"Multi Tab Chat UI Guide","href":"/ui-kit/flutter/multi-tab-chat-ui-guide"}]},{"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":"v4","pages":[{"title":"v4","href":"/ui-kit/flutter/v4/overview"}]}]},{"dropdown":"Angular","icon":"angular","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"title":"Overview","href":"/ui-kit/angular/overview"},{"title":"Getting Started","href":"/ui-kit/angular/getting-started"},{"group":"Features","pages":[{"group":"Chat","pages":[{"title":"Core","href":"/ui-kit/angular/core-features"},{"title":"Extensions","href":"/ui-kit/angular/extensions"}]},{"title":"Call","href":"/ui-kit/angular/call-features"},{"title":"AI","href":"/ui-kit/angular/ai-features"}]},{"group":"Theming","pages":[{"title":"Theme","href":"/ui-kit/angular/theme"},{"title":"Localize","href":"/ui-kit/angular/localize"},{"title":"Sound Manager","href":"/ui-kit/angular/sound-manager"}]},{"group":"Components","pages":[{"title":"Overview","href":"/ui-kit/angular/components-overview"},{"group":"Conversations","pages":[{"title":"Conversations","href":"/ui-kit/angular/conversations"},{"title":"Conversations With Messages","href":"/ui-kit/angular/conversations-with-messages"},{"title":"Contacts","href":"/ui-kit/angular/contacts"}]},{"group":"Users","pages":[{"title":"Users","href":"/ui-kit/angular/users"},{"title":"Users With Messages","href":"/ui-kit/angular/users-with-messages"},{"title":"User Details","href":"/ui-kit/angular/user-details"}]},{"group":"Groups","pages":[{"title":"Groups","href":"/ui-kit/angular/groups"},{"title":"Groups With Messages","href":"/ui-kit/angular/groups-with-messages"},{"title":"Create Group","href":"/ui-kit/angular/create-group"},{"title":"Join Protected Group","href":"/ui-kit/angular/join-protected-group"},{"title":"Group Members","href":"/ui-kit/angular/group-members"},{"title":"Add Members","href":"/ui-kit/angular/group-add-members"},{"title":"Banned Members","href":"/ui-kit/angular/group-banned-members"},{"title":"Transfer Ownership","href":"/ui-kit/angular/group-transfer-ownership"},{"title":"Group Details","href":"/ui-kit/angular/group-details"}]},{"group":"Messages","pages":[{"title":"Messages","href":"/ui-kit/angular/messages"},{"title":"Message Header","href":"/ui-kit/angular/message-header"},{"title":"Message List","href":"/ui-kit/angular/message-list"},{"title":"Message Template","href":"/ui-kit/angular/message-template"},{"title":"Message Composer","href":"/ui-kit/angular/message-composer"},{"title":"Message Information","href":"/ui-kit/angular/message-information"},{"title":"Threaded Messages","href":"/ui-kit/angular/threaded-messages"}]},{"group":"Interactive Messages","pages":[{"title":"Form Message","href":"/ui-kit/angular/interactive-form-message"},{"title":"Form Bubble","href":"/ui-kit/angular/interactive-form-bubble"},{"title":"Card Message","href":"/ui-kit/angular/interactive-card-message"},{"title":"Card Bubble","href":"/ui-kit/angular/interactive-card-bubble"},{"title":"Element Type","href":"/ui-kit/angular/interactive-element-type"},{"title":"Action Entity","href":"/ui-kit/angular/interactive-action-entity"},{"title":"Custom Interactive Message","href":"/ui-kit/angular/interactive-custom-interactive-message"},{"title":"Button Element","href":"/ui-kit/angular/interactive-button-element"},{"title":"Text Input Element","href":"/ui-kit/angular/interactive-text-input-element"},{"title":"Label Element","href":"/ui-kit/angular/interactive-label-element"},{"title":"Single Select Element","href":"/ui-kit/angular/interactive-single-select-element"},{"title":"Radio Button Element","href":"/ui-kit/angular/interactive-radio-button-element"},{"title":"Checkbox Element","href":"/ui-kit/angular/interactive-checkbox-element"},{"title":"DropdownElement","href":"/ui-kit/angular/interactive-dropdown-element"},{"title":"Scheduler Message","href":"/ui-kit/angular/interactive-scheduler-message"},{"title":"SchedulerBubble","href":"/ui-kit/angular/interactive-scheduler-bubble"},{"title":"DateTimePickerElement","href":"/ui-kit/angular/interactive-date-time-picker-element"}]},{"group":"Calls","pages":[{"title":"Overview","href":"/ui-kit/angular/call-overview"},{"title":"Incoming Call","href":"/ui-kit/angular/incoming-call"},{"title":"Ongoing Call","href":"/ui-kit/angular/ongoing-call"},{"title":"Outgoing Call","href":"/ui-kit/angular/outgoing-call"},{"title":"Call Buttons","href":"/ui-kit/angular/call-buttons"},{"title":"Call Logs","href":"/ui-kit/angular/call-logs"},{"title":"Call Log Details","href":"/ui-kit/angular/call-log-details"},{"title":"Call Log History","href":"/ui-kit/angular/call-log-history"},{"title":"Call Log Recordings","href":"/ui-kit/angular/call-log-recording"},{"title":"Call Log Participants","href":"/ui-kit/angular/call-log-participants"},{"title":"Call Log With Details","href":"/ui-kit/angular/call-log-with-details"}]},{"group":"Extras","pages":[{"title":"Reactions","href":"/ui-kit/angular/reaction"},{"title":"Reaction List","href":"/ui-kit/angular/reaction-list"},{"title":"Reaction Info","href":"/ui-kit/angular/reaction-info"},{"title":"User Member Wrapper","href":"/ui-kit/angular/user-member-wrapper"}]},{"group":"Base Components","pages":[{"title":"Avatar","href":"/ui-kit/angular/avatar"},{"title":"Status Indicator","href":"/ui-kit/angular/status-indicator"},{"title":"Badge","href":"/ui-kit/angular/badge"},{"title":"Receipt","href":"/ui-kit/angular/receipt"},{"title":"Date","href":"/ui-kit/angular/date"},{"title":"Text Bubble","href":"/ui-kit/angular/text-bubble"},{"title":"Image Bubble","href":"/ui-kit/angular/image-bubble"},{"title":"File Bubble","href":"/ui-kit/angular/file-bubble"},{"title":"Audio Bubble","href":"/ui-kit/angular/audio-bubble"},{"title":"Video Bubble","href":"/ui-kit/angular/video-bubble"},{"title":"Message Bubble","href":"/ui-kit/angular/message-bubble"},{"title":"Document Bubble","href":"/ui-kit/angular/document-bubble"},{"title":"Message Input","href":"/ui-kit/angular/message-input"},{"title":"Action Sheet","href":"/ui-kit/angular/action-sheet"},{"title":"Media Recorder","href":"/ui-kit/angular/media-recorder"},{"title":"List Item","href":"/ui-kit/angular/list-item"},{"title":"Confirm Dialog","href":"/ui-kit/angular/confirm-dialog"},{"title":"Backdrop","href":"/ui-kit/angular/backdrop"},{"title":"Emoji Keyboard","href":"/ui-kit/angular/emoji-keyboard"},{"title":"Modal","href":"/ui-kit/angular/modal"},{"title":"Pop Over","href":"/ui-kit/angular/pop-over"},{"title":"Icon","href":"/ui-kit/angular/icon"},{"title":"Loader","href":"/ui-kit/angular/loader"},{"title":"Icon Button","href":"/ui-kit/angular/icon-button"},{"title":"Button Group","href":"/ui-kit/angular/button-group"},{"title":"Label","href":"/ui-kit/angular/label"},{"title":"Input","href":"/ui-kit/angular/input"},{"title":"Search Input","href":"/ui-kit/angular/search-input"},{"title":"Checkbox","href":"/ui-kit/angular/checkbox"},{"title":"Radio Button","href":"/ui-kit/angular/radio-button"},{"title":"Dropdown","href":"/ui-kit/angular/dropdown"},{"title":"Quick View","href":"/ui-kit/angular/cometchat-quick-view"},{"title":"Single Select","href":"/ui-kit/angular/singleselect"},{"title":"List","href":"/ui-kit/angular/list"}]}]},{"group":"Reference","pages":[{"title":"Methods","href":"/ui-kit/angular/methods"},{"title":"Events","href":"/ui-kit/angular/events"}]},{"group":"Guides","pages":[{"title":"Multi Tab Chat UI Guide","href":"/ui-kit/angular/multi-tab-chat-ui-guide"},{"title":"New Attachment Option","href":"/ui-kit/angular/new-attachment-option-guide"},{"title":"Custom Text Formatter","href":"/ui-kit/angular/custom-text-formatter-guide"},{"title":"Mentions Formatter","href":"/ui-kit/angular/mentions-formatter-guide"},{"title":"URL Formatter","href":"/ui-kit/angular/url-formatter-guide"},{"title":"ShortCut Formatter","href":"/ui-kit/angular/shortcut-formatter-guide"},{"title":"New Message Option","href":"/ui-kit/angular/new-message-option-guide"},{"title":"Custom Message","href":"/ui-kit/angular/custom-message-guide"}]},{"title":"Angular Sample App","url":"https://github.com/cometchat/cometchat-sample-app-angular","href":"/ui-kit/angular/link/sample"},{"title":"Changelog","url":"https://github.com/cometchat/cometchat-uikit-angular/releases","href":"/ui-kit/angular/link/changelog"}]}]},{"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":"vuejs","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":"js","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"Overview","href":"/sdk/javascript/overview"},{"title":"Key Concepts","href":"/sdk/javascript/key-concepts"},{"title":"Message","sidebarTitle":"Message Structure And Hierarchy","href":"/sdk/javascript/message-structure-and-hierarchy"},{"title":"Rate Limits","href":"/sdk/javascript/rate-limits"}]},{"group":"Setup","pages":[{"title":"Setup","sidebarTitle":"Overview","href":"/sdk/javascript/setup-sdk"}]},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/sdk/javascript/authentication-overview"},{"title":"Login Listener","href":"/sdk/javascript/login-listener"}]},{"group":"Messaging","pages":[{"title":"Messaging","sidebarTitle":"Overview","href":"/sdk/javascript/messaging-overview"},{"title":"Send A Message","href":"/sdk/javascript/send-message"},{"title":"Receive A Message","href":"/sdk/javascript/receive-message"},{"title":"Additional Message Filtering","href":"/sdk/javascript/additional-message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/javascript/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/javascript/threaded-messages"},{"title":"Edit A Message","href":"/sdk/javascript/edit-message"},{"title":"Delete A Message","href":"/sdk/javascript/delete-message"},{"title":"Delete A Conversation","href":"/sdk/javascript/delete-conversation"},{"title":"Typing Indicators","href":"/sdk/javascript/typing-indicators"},{"title":"Interactive Messages","href":"/sdk/javascript/interactive-messages"},{"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":"Calling","pages":[{"title":"Calling","sidebarTitle":"Overview","href":"/sdk/javascript/calling-overview"},{"title":"Setup","href":"/sdk/javascript/calling-setup"},{"title":"Default Call","href":"/sdk/javascript/default-call"},{"title":"Direct Call","href":"/sdk/javascript/direct-call"},{"title":"Recording (Beta)","href":"/sdk/javascript/recording"},{"title":"Virtual Background","href":"/sdk/javascript/virtual-background"},{"title":"Video View Customisation","href":"/sdk/javascript/video-view-customisation"},{"title":"Custom CSS","href":"/sdk/javascript/custom-css"},{"title":"Presenter Mode","href":"/sdk/javascript/presenter-mode"},{"title":"Call Logs","href":"/sdk/javascript/call-logs"},{"title":"Session Timeout Flow","href":"/sdk/javascript/session-timeout"}]},{"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"}]},{"group":"User Presence","pages":[{"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"}]},{"group":"Resources","pages":[{"title":"Resources","sidebarTitle":"Overview","href":"/sdk/javascript/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/javascript/all-real-time-listeners"},{"title":"Upgrading From V3","href":"/sdk/javascript/upgrading-from-v3"}]},{"group":"Advanced","pages":[{"title":"Advanced","sidebarTitle":"Overview","href":"/sdk/javascript/advanced-overview"},{"title":"Connection Status","href":"/sdk/javascript/connection-status"},{"title":"Managing Web Sockets Connections Manually","href":"/sdk/javascript/managing-web-sockets-connections-manually"}]},{"group":"UI Kits","pages":[{"title":"React Overview","url":"/ui-kit/react/overview","href":"/sdk/javascript/react-overview"},{"title":"Vue Overview","url":"/ui-kit/vue/overview","href":"/sdk/javascript/vue-overview"},{"title":"Angular Overview","url":"/ui-kit/angular/overview","href":"/sdk/javascript/angular-overview"}]},{"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":"/ai-chatbots/overview","href":"/sdk/javascript/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks-overview","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":"react","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"Overview","href":"/sdk/react-native/overview"},{"title":"Key Concepts","href":"/sdk/react-native/key-concepts"},{"title":"Message Structure And Hierarchy","href":"/sdk/react-native/message-structure-and-hierarchy"},{"title":"Rate Limits","href":"/sdk/react-native/rate-limits"}]},{"title":"Setup","href":"/sdk/react-native/setup-sdk"},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/sdk/react-native/authentication-overview"},{"title":"Login Listener","href":"/sdk/react-native/login-listener"}]},{"group":"Messaging","pages":[{"title":"Messaging","sidebarTitle":"Overview","href":"/sdk/react-native/messaging-overview"},{"title":"Send A Message","href":"/sdk/react-native/send-message"},{"title":"Receive A Message","href":"/sdk/react-native/receive-messages"},{"title":"Additional Message Filtering","href":"/sdk/react-native/additional-message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/react-native/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/react-native/threaded-messages"},{"title":"Edit A Message","href":"/sdk/react-native/edit-message"},{"title":"Delete A Message","href":"/sdk/react-native/delete-message"},{"title":"Delete A Conversation","href":"/sdk/react-native/delete-conversation"},{"title":"Typing Indicators","href":"/sdk/react-native/typing-indicators"},{"title":"Interactive Messages","href":"/sdk/react-native/interactive-messages"},{"title":"Transient Messages","href":"/sdk/react-native/transient-messages"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/react-native/delivery-read-receipts"},{"title":"Mentions","href":"/sdk/react-native/mentions"},{"title":"Reactions","href":"/sdk/react-native/reactions"}]},{"group":"Calling","pages":[{"title":"Calling","sidebarTitle":"Overview","href":"/sdk/react-native/calling-overview"},{"title":"Setup","href":"/sdk/react-native/calling-setup"},{"title":"Default Call","href":"/sdk/react-native/default-call"},{"title":"Direct Call","href":"/sdk/react-native/direct-call"},{"title":"Recording (Beta)","href":"/sdk/react-native/recording"},{"title":"Video View Customisation","href":"/sdk/react-native/video-view-customisation"},{"title":"Presenter Mode","href":"/sdk/react-native/presenter-mode"},{"title":"Call Logs","href":"/sdk/react-native/call-logs"},{"title":"Expo Integration","href":"/sdk/react-native/expo-integration-guide"},{"title":"Session Timeout Flow","href":"/sdk/react-native/session-timeout"}]},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/react-native/users-overview"},{"title":"Retrieve Users","href":"/sdk/react-native/retrieve-users"},{"title":"User Management","href":"/sdk/react-native/user-management"},{"title":"Block Users","href":"/sdk/react-native/block-users"}]},{"title":"User Presence","href":"/sdk/react-native/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/react-native/groups-overview"},{"title":"Retrieve Groups","href":"/sdk/react-native/retrieve-groups"},{"title":"Create A Group","href":"/sdk/react-native/create-group"},{"title":"Update A Group","href":"/sdk/react-native/update-group"},{"title":"Join A Group","href":"/sdk/react-native/join-group"},{"title":"Leave A Group","href":"/sdk/react-native/leave-group"},{"title":"Delete A Group","href":"/sdk/react-native/delete-group"},{"title":"Retrieve Group Members","href":"/sdk/react-native/retrieve-group-members"},{"title":"Add Members To A Group","href":"/sdk/react-native/group-add-members"},{"title":"Kick Member From A Group","href":"/sdk/react-native/group-kick-ban-members"},{"title":"Change Member Scope","href":"/sdk/react-native/group-change-member-scope"},{"title":"Transfer Group Ownership","href":"/sdk/react-native/transfer-group-ownership"}]},{"group":"Resources","pages":[{"title":"Resources","sidebarTitle":"Overview","href":"/sdk/react-native/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/react-native/real-time-listeners"},{"title":"Push Notification Setup","href":"/sdk/react-native/push-notification-setup"},{"title":"Upgrading From V3","href":"/sdk/react-native/upgrading-from-v3"}]},{"group":"Advanced","pages":[{"title":"Advanced","sidebarTitle":"Overview","href":"/sdk/react-native/advanced-overview"},{"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":"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":"/ai-chatbots-overview","href":"/sdk/react-native/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks-overview","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":"swift","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"Overview","href":"/sdk/ios/overview"},{"title":"Key Concepts","href":"/sdk/ios/key-concepts"},{"title":"Message Structure And Hierarchy","href":"/sdk/ios/message-structure-and-hierarchy"},{"title":"Rate Limits","href":"/sdk/ios/rate-limits"}]},{"title":"Setup","href":"/sdk/ios/setup"},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/sdk/ios/authentication-overview"},{"title":"Login Listeners","href":"/sdk/ios/login-listeners"}]},{"group":"Messaging","pages":[{"title":"Messaging","sidebarTitle":"Overview","href":"/sdk/ios/messaging-overview"},{"title":"Send A Message","href":"/sdk/ios/send-message"},{"title":"Receive A Message","href":"/sdk/ios/receive-message"},{"title":"Additional Message Filtering","href":"/sdk/ios/additional-message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/ios/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/ios/threaded-messages"},{"title":"Edit A Message","href":"/sdk/ios/edit-message"},{"title":"Delete A Message","href":"/sdk/ios/delete-message"},{"title":"Delete A Conversation","href":"/sdk/ios/delete-conversation"},{"title":"Typing Indicators","href":"/sdk/ios/typing-indicators"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/ios/delivery-read-receipts"},{"title":"Interactive Messages","href":"/sdk/ios/interactive-messages"},{"title":"Transient Messages","href":"/sdk/ios/transient-messages"},{"title":"Mentions","href":"/sdk/ios/mentions"},{"title":"Reactions","href":"/sdk/ios/reactions"}]},{"group":"Calling","pages":[{"title":"Calling","sidebarTitle":"Overview","href":"/sdk/ios/calling-overview"},{"title":"Integration","href":"/sdk/ios/calling-integration"},{"title":"Default Calling","href":"/sdk/ios/default-calling"},{"title":"Direct Calling","href":"/sdk/ios/direct-calling"},{"title":"Recording","href":"/sdk/ios/recording"},{"title":"Video View Customisation","href":"/sdk/ios/video-view-customisation"},{"title":"Presenter Mode","href":"/sdk/ios/presenter-mode"},{"title":"Call Logs","href":"/sdk/ios/call-logs"},{"title":"Session Timeout Flow","href":"/sdk/ios/session-timeout"}]},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/ios/users-overview"},{"title":"Retrieve Users","href":"/sdk/ios/retrieve-users"},{"title":"User Management","href":"/sdk/ios/user-management"},{"title":"Block Users","href":"/sdk/ios/block-users"}]},{"title":"User Presence","href":"/sdk/ios/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/ios/groups-overview"},{"title":"Retrieve Groups","href":"/sdk/ios/retrieve-groups"},{"title":"Create A Group","href":"/sdk/ios/create-group"},{"title":"Update A Group","href":"/sdk/ios/update-group"},{"title":"Join A Group","href":"/sdk/ios/join-group"},{"title":"Leave A Group","href":"/sdk/ios/leave-group"},{"title":"Delete A Group","href":"/sdk/ios/delete-group"},{"title":"Add Members To A Group","href":"/sdk/ios/group-add-members"},{"title":"Retrieve Group Members","href":"/sdk/ios/retrieve-group-members"},{"title":"Kick Member From A Group","href":"/sdk/ios/group-kick-member"},{"title":"Change Member Scope","href":"/sdk/ios/group-change-member-scope"},{"title":"Transfer Group Ownership","href":"/sdk/ios/transfer-group-ownership"}]},{"group":"Advanced","pages":[{"title":"Advanced","sidebarTitle":"Overview","href":"/sdk/ios/advanced"},{"title":"Connection Status","href":"/sdk/ios/connection-status"},{"title":"Connection Behaviour","href":"/sdk/ios/web-socket-connection-behaviour"},{"title":"Managing Web Socket Connections Manually","href":"/sdk/ios/managing-web-socket-connections-manually"},{"title":"Marking Delivered From Push Notification","href":"/sdk/ios/marking-delivered-with-push-notification"},{"title":"Publishing App On App Store","href":"/sdk/ios/publishing-app-on-appstore"}]},{"group":"Resources","pages":[{"title":"Resources","sidebarTitle":"Overview","href":"/sdk/ios/resources-overview"},{"title":"All Real Time Delegates (Listeners)","href":"/sdk/ios/all-real-time-delegates-listeners"},{"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":"Upgrading From V3","href":"/sdk/ios/upgrading-from-v3-to-v4"},{"title":"Upgrading From V2","href":"/sdk/ios/upgrading-from-v2"}]},{"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":"/ai-chatbots/overview","href":"/sdk/ios/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks-overview","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":"android","versions":[{"version":"v4","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":"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":"Edit A Message","href":"/sdk/android/edit-message"},{"title":"Delete A Message","href":"/sdk/android/delete-message"},{"title":"Delete A Conversation","href":"/sdk/android/delete-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":"Interactive Messages","href":"/sdk/android/interactive-messages"},{"title":"Mentions","href":"/sdk/android/mentions"},{"title":"Reactions","href":"/sdk/android/reactions"}]},{"group":"Calling","pages":[{"title":"Calling","sidebarTitle":"Overview","href":"/sdk/android/calling-overview"},{"title":"Setup","href":"/sdk/android/setup-calling"},{"title":"Direct Calling","href":"/sdk/android/direct-calling"},{"title":"Default Calling","href":"/sdk/android/default-calling"},{"title":"Recording","href":"/sdk/android/recording"},{"title":"Video View Customisation","href":"/sdk/android/video-view-customisation"},{"title":"Presenter Mode","href":"/sdk/android/presenter-mode"},{"title":"Call Logs","href":"/sdk/android/call-logs"},{"title":"Session Timeout Flow","href":"/sdk/android/session-timeout"}]},{"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"}]},{"group":"Resources","pages":[{"title":"Resources","href":"/sdk/android/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/android/real-time-listeners"},{"title":"Upgrading From V3","href":"/sdk/android/upgrading-from-v3-guide"}]},{"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":"/ai-chatbots/overview","href":"/sdk/android/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks-overview","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":"v3","pages":[{"title":"v3","href":"/sdk/android/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/sdk/android/2.0/overview"}]}]},{"dropdown":"Flutter","icon":"flutter","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"Overview","href":"/sdk/flutter/overview"},{"title":"Key Concepts","href":"/sdk/flutter/key-concepts"},{"title":"Message Structure And Hierarchy","href":"/sdk/flutter/message-structure-and-hierarchy"},{"title":"Rate Limits","href":"/sdk/flutter/rate-limits"}]},{"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":"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":"Edit A Message","href":"/sdk/flutter/edit-message"},{"title":"Delete A Message","href":"/sdk/flutter/delete-message"},{"title":"Delete A Conversation","href":"/sdk/flutter/delete-conversation"},{"title":"Typing Indicators","href":"/sdk/flutter/typing-indicators"},{"title":"Interactive Messages","href":"/sdk/flutter/interactive-messages"},{"title":"Transient Messages","href":"/sdk/flutter/transient-messages"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/flutter/delivery-read-receipts"},{"title":"Threaded Messages","href":"/sdk/flutter/threaded-messages"},{"title":"Mentions","href":"/sdk/flutter/mentions"},{"title":"Reactions","href":"/sdk/flutter/reactions"}]},{"group":"Calling","pages":[{"title":"Calling","sidebarTitle":"Overview","href":"/sdk/flutter/calling-overview"},{"title":"Setup","href":"/sdk/flutter/calling-setup"},{"title":"Default Call","href":"/sdk/flutter/default-call"},{"title":"Direct Call","href":"/sdk/flutter/direct-call"},{"title":"Video View Customisation","href":"/sdk/flutter/video-view-customisation"},{"title":"Recording","href":"/sdk/flutter/recording"},{"title":"Presenter Mode","href":"/sdk/flutter/presenter-mode"},{"title":"Call Logs","href":"/sdk/flutter/call-logs"},{"title":"Session Timeout Flow","href":"/sdk/flutter/session-timeout"}]},{"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"}]},{"group":"Resources","pages":[{"title":"Resources","sidebarTitle":"Overview","href":"/sdk/flutter/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/flutter/real-time-listeners"},{"title":"Upgrading From V3","href":"/sdk/flutter/upgrading-from-v3-guide"}]},{"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":"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":"/ai-chatbots/overview","href":"/sdk/flutter/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks-overview","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":"v3","pages":[{"title":"v3","href":"/sdk/flutter/3.0/overview"}]}]},{"dropdown":"Ionic","icon":"square-ring","versions":[{"version":"v4","groups":[{"group":" ","pages":[{"group":"Overview","pages":[{"title":"Overview","href":"/sdk/ionic/overview"},{"title":"Key Concepts","href":"/sdk/ionic/key-concepts"},{"title":"Message","sidebarTitle":"Message Structure And Hierarchy","href":"/sdk/ionic/message-structure-and-hierarchy"},{"title":"Rate Limits","href":"/sdk/ionic/rate-limits"}]},{"title":"Setup","href":"/sdk/ionic/setup"},{"group":"Authentication","pages":[{"title":"Authentication","sidebarTitle":"Overview","href":"/sdk/ionic/authentication"},{"title":"Login Listeners","href":"/sdk/ionic/login-listeners"}]},{"group":"Messaging","pages":[{"title":"Messaging","sidebarTitle":"Overview","href":"/sdk/ionic/messaging-overview"},{"title":"Send A Message","href":"/sdk/ionic/send-message"},{"title":"Receive A Message","href":"/sdk/ionic/receive-messages"},{"title":"Additional Message Filtering","href":"/sdk/ionic/additional-message-filtering"},{"title":"Retrieve Conversations","href":"/sdk/ionic/retrieve-conversations"},{"title":"Threaded Messages","href":"/sdk/ionic/threaded-messages"},{"title":"Edit A Message","href":"/sdk/ionic/edit-message"},{"title":"Delete A Message","href":"/sdk/ionic/delete-message"},{"title":"Delete A Conversation","href":"/sdk/ionic/delete-conversation"},{"title":"Typing Indicators","href":"/sdk/ionic/typing-indicators"},{"title":"Interactive Messages","href":"/sdk/ionic/interactive-messages"},{"title":"Transient Messages","href":"/sdk/ionic/transient-messages"},{"title":"Delivery \u0026 Read Receipts","href":"/sdk/ionic/delivery-read-receipts"},{"title":"Mentions","href":"/sdk/ionic/mentions"},{"title":"Reactions","href":"/sdk/ionic/reactions"}]},{"group":"Calling","pages":[{"title":"Calling","sidebarTitle":"Overview","href":"/sdk/ionic/calling-overview"},{"title":"Setup","href":"/sdk/ionic/calling-setup"},{"title":"Default Calling","href":"/sdk/ionic/default-call"},{"title":"Direct Calling","href":"/sdk/ionic/direct-call"},{"title":"Video View Customisation","href":"/sdk/ionic/video-view-customisation"},{"title":"Recording(Beta)","href":"/sdk/ionic/recording"},{"title":"Presenter Mode","href":"/sdk/ionic/presenter-mode"}]},{"group":"Users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/sdk/ionic/users-overview"},{"title":"Retrieve Users","href":"/sdk/ionic/retrieve-users"},{"title":"User Management","href":"/sdk/ionic/user-management"},{"title":"Block Users","href":"/sdk/ionic/block-users"}]},{"title":"User Presence","href":"/sdk/ionic/user-presence"},{"group":"Groups","pages":[{"title":"Groups","sidebarTitle":"Overview","href":"/sdk/ionic/groups-overview"},{"title":"Retrieve Groups","href":"/sdk/ionic/retrieve-groups"},{"title":"Create A Group","href":"/sdk/ionic/create-group"},{"title":"Update A Group","href":"/sdk/ionic/update-group"},{"title":"Join A Group","href":"/sdk/ionic/join-group"},{"title":"Leave A Group","href":"/sdk/ionic/leave-group"},{"title":"Delete A Group","href":"/sdk/ionic/delete-group"},{"title":"Retrieve Group Members","href":"/sdk/ionic/retrieve-group-members"},{"title":"Add Members To A Group","href":"/sdk/ionic/group-add-members"},{"title":"Kick Member From A Group","href":"/sdk/ionic/group-kick-member"},{"title":"Change Member Scope","href":"/sdk/ionic/group-change-member-scope"},{"title":"Transfer Group Ownership","href":"/sdk/ionic/transfer-group-ownership"}]},{"group":"Resources","pages":[{"title":"Resources","sidebarTitle":"Overview","href":"/sdk/ionic/resources-overview"},{"title":"All Real Time Listeners","href":"/sdk/ionic/real-time-listeners"},{"title":"Upgrading From V3","href":"/sdk/ionic/upgrading-from-v3-guide"}]},{"group":"Advanced","pages":[{"title":"Advanced","sidebarTitle":"Overview","href":"/sdk/ionic/advanced"},{"title":"Connection Status","href":"/sdk/ionic/connection-status"},{"title":"Connection Behaviour","href":"/sdk/ionic/connection-behaviour"},{"title":"Managing Connections Manually","href":"/sdk/ionic/managing-connections-manually"}]},{"title":"Extensions","url":"/fundamentals/extensions-overview","href":"/sdk/ionic/extensions-overview"},{"title":"AI","url":"/fundamentals/ai-user-copilot/overview","href":"/sdk/ionic/ai-user-copilot-overview"},{"title":"Bots","url":"/ai-chatbots/overview","href":"/sdk/ionic/ai-chatbots-overview"},{"title":"Webhooks","url":"/fundamentals/webhooks-overview","href":"/sdk/ionic/webhooks-overview"},{"title":"Changelog","url":"https://github.com/cometchat/chat-sdk-ionic/releases","href":"/sdk/ionic/changelog"}]}]},{"version":"v3","pages":[{"title":"v3","href":"/sdk/ionic/3.0/overview"}]},{"version":"v2","pages":[{"title":"v2","href":"/sdk/ionic/2.0/overview"}]}]}]},{"tab":"Widgets","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/widget/overview"},{"title":"Add CometChat Widget to a Static HTML Website","href":"/widget/builder-guide-html"},{"title":"Add CometChat Widget to WordPress via Plugin","href":"/widget/builder-guide-wordpress"},{"title":"Add CometChat Widget to Squarespace","href":"/widget/builder-guide-squarespace"},{"title":"Add CometChat Widget to Wix","href":"/widget/builder-guide-wix"},{"title":"Add CometChat Widget to Webflow","href":"/widget/builder-guide-webflow"},{"group":"Legacy","pages":[{"title":"Overview (Legacy)","href":"/widget/legacy/overview"},{"title":"WordPress / BuddyPress (Legacy)","href":"/widget/legacy/wordpress-buddypress"},{"title":"HTML / Bootstrap / JQuery (Legacy)","href":"/widget/legacy/html-bootstrap-jquery"}]},{"group":"Advanced","pages":[{"title":"Custom Build (Legacy)","href":"/widget/legacy/custom-build"}]}]},{"tab":"APIs","groups":[{"group":"Chat APIs","pages":[{"title":"Overview","href":"/rest-api/chat-apis"},{"group":"API Keys","pages":[{"title":"Overview","href":"/rest-api/api-keys"},{"openapi":"get /apikeys","title":"List","href":"/rest-api/api-keys/list"},{"openapi":"post /apikeys","title":"Create","href":"/rest-api/api-keys/create"},{"openapi":"get /apikeys/{apiKey}","title":"Get","href":"/rest-api/api-keys/get"},{"openapi":"put /apikeys/{apiKey}","title":"Update","href":"/rest-api/api-keys/update"},{"openapi":"delete /apikeys/{apiKey}","title":"Delete","href":"/rest-api/api-keys/delete"}]},{"group":"Roles","pages":[{"title":"Overview","href":"/rest-api/roles"},{"openapi":"get /roles","title":"List","href":"/rest-api/roles/list"},{"openapi":"post /roles","title":"Create","href":"/rest-api/roles/create"},{"openapi":"get /roles/{role}","title":"Get","href":"/rest-api/roles/get"},{"openapi":"put /roles/{role}","title":"Update","href":"/rest-api/roles/update"},{"openapi":"delete /roles/{role}","title":"Delete","href":"/rest-api/roles/delete"}]},{"group":"Users","pages":[{"title":"Overview","href":"/rest-api/users"},{"openapi":"get /users","title":"List","href":"/rest-api/users/list"},{"openapi":"put /users","title":"Reactivate","href":"/rest-api/users/reactivate"},{"openapi":"post /users","title":"Create","href":"/rest-api/users/create"},{"openapi":"delete /users","title":"Deactivate","href":"/rest-api/users/deactivate"},{"openapi":"get /users/{uid}","title":"Get","href":"/rest-api/users/get"},{"openapi":"put /users/{uid}","title":"Update","href":"/rest-api/users/update"},{"openapi":"delete /users/{uid}","title":"Delete","href":"/rest-api/users/delete"}]},{"group":"Auth Tokens","pages":[{"title":"Overview","href":"/rest-api/auth-tokens"},{"openapi":"get /users/{uid}/auth_tokens","title":"List","href":"/rest-api/auth-tokens/list"},{"openapi":"post /users/{uid}/auth_tokens","title":"Create","href":"/rest-api/auth-tokens/create"},{"openapi":"delete /users/{uid}/auth_tokens","title":"Flush","href":"/rest-api/auth-tokens/flush"},{"openapi":"get /users/{uid}/auth_tokens/{authToken}","title":"Get","href":"/rest-api/auth-tokens/get"},{"openapi":"put /users/{uid}/auth_tokens/{authToken}","title":"Update","href":"/rest-api/auth-tokens/update"},{"openapi":"delete /users/{uid}/auth_tokens/{authToken}","title":"Delete","href":"/rest-api/auth-tokens/delete"}]},{"group":"Blocked Users","pages":[{"title":"Overview","href":"/rest-api/blocked-users"},{"openapi":"get /users/{uid}/blockedusers","title":"List Blocked Users","href":"/rest-api/blocked-users/list-blocked-users"},{"openapi":"post /users/{uid}/blockedusers","title":"Block User","href":"/rest-api/blocked-users/block-user"},{"openapi":"delete /users/{uid}/blockedusers","title":"Unblock User","href":"/rest-api/blocked-users/unblock-user"}]},{"group":"Calls","pages":[{"title":"Overview","href":"/rest-api/calls"},{"openapi":"get /calls","title":"List Calls","href":"/rest-api/list-calls"},{"openapi":"get /calls/{sessionId}","title":"Get Call","href":"/rest-api/get-call"}]},{"group":"Friends","pages":[{"title":"Overview","href":"/rest-api/friends"},{"openapi":"get /users/{uid}/friends","title":"List Friends","href":"/rest-api/friends/list-friends"},{"openapi":"post /users/{uid}/friends","title":"Add Friends","href":"/rest-api/friends/add-friends"},{"openapi":"delete /users/{uid}/friends","title":"Remove Friends","href":"/rest-api/friends/remove-friends"}]},{"group":"Groups","pages":[{"title":"Overview","href":"/rest-api/groups"},{"openapi":"get /groups","title":"List","href":"/rest-api/groups/list"},{"openapi":"post /groups","title":"Create","href":"/rest-api/groups/create"},{"openapi":"get /groups/{guid}","title":"Get","href":"/rest-api/groups/get"},{"openapi":"put /groups/{guid}","title":"Update","href":"/rest-api/groups/update"},{"openapi":"delete /groups/{guid}","title":"Delete","href":"/rest-api/groups/delete"}]},{"group":"Banned Users","pages":[{"title":"Overview","href":"/rest-api/banned-users"},{"openapi":"post /groups/{guid}/bannedusers/{uid}","title":"Ban","href":"/rest-api/banned-users/ban"},{"openapi":"delete /groups/{guid}/bannedusers/{uid}","title":"Unban","href":"/rest-api/banned-users/unban"},{"openapi":"get /groups/{guid}/bannedusers","title":"List","href":"/rest-api/banned-users/list"}]},{"group":"Group Members","pages":[{"title":"Overview","href":"/rest-api/group-members"},{"openapi":"get /groups/{guid}/members","title":"List","href":"/rest-api/group-members/list"},{"openapi":"post /groups/{guid}/members","title":"Add members","href":"/rest-api/group-members/add-members"},{"openapi":"put /groups/{guid}/members/{uid}","title":"Change Scope","href":"/rest-api/group-members/change-scope"},{"openapi":"delete /groups/{guid}/members/{uid}","title":"Kick","href":"/rest-api/group-members/kick"}]},{"group":"Messages","pages":[{"title":"Overview","href":"/rest-api/messages"},{"openapi":"get /messages","title":"List Messages","href":"/rest-api/messages/list-messages"},{"openapi":"post /messages","title":"Send Message","href":"/rest-api/messages/send-message"},{"openapi":"get /messages/{id}","title":"Get Message","href":"/rest-api/messages/get-message"},{"openapi":"put /messages/{id}","title":"Update Message","href":"/rest-api/messages/update-message"},{"openapi":"delete /messages/{id}","title":"Delete Message","href":"/rest-api/messages/delete-message"},{"openapi":"patch /messages/{id}/interacted","title":"Mark message as Interacted","href":"/rest-api/messages/mark-message-as-interacted"},{"openapi":"get /messages/{id}/reactions","title":"List all reactions","href":"/rest-api/messages/list-all-reactions"},{"openapi":"get /messages/{id}/reactions/{reaction}","title":"List reactions with a specific emoji/unicodes","href":"/rest-api/messages/list-reactions-with-a-specific-emojiunicodes"},{"openapi":"post /messages/{id}/reactions/{reaction}","title":"Add reaction","href":"/rest-api/messages/add-reaction"},{"openapi":"delete /messages/{id}/reactions/{reaction}","title":"Remove reaction","href":"/rest-api/messages/remove-reaction"},{"openapi":"get /messages/{id}/thread","title":"List Threaded Messages","href":"/rest-api/messages/list-threaded-messages"},{"openapi":"post /messages/{id}/thread","title":"Send Threaded Message","href":"/rest-api/messages/send-threaded-message"},{"openapi":"get /users/{uid}/messages","title":"List User Messages","href":"/rest-api/messages/list-user-messages"},{"openapi":"get /groups/{guid}/messages","title":"List Group Messages","href":"/rest-api/messages/list-group-messages"},{"openapi":"post /bots/{uid}/messages","title":"Send Bot Message","href":"/rest-api/messages/send-bot-message"}]},{"group":"Conversations","pages":[{"title":"Overview","href":"/rest-api/conversations"},{"openapi":"get /conversations","title":"List conversations","href":"/rest-api/conversations/list-conversations"},{"openapi":"get /conversations/{conversationId}","deprecated":true,"title":"Get conversation","href":"/rest-api/conversations/get-conversation"},{"openapi":"delete /conversations/{conversationId}","deprecated":true,"title":"Delete Conversation","href":"/rest-api/conversations/delete-conversation"},{"openapi":"get /users/{uid}/conversation","title":"Get User Conversation","href":"/rest-api/conversations/get-user-conversation"},{"openapi":"put /users/{uid}/conversation","title":"Update User Conversation","href":"/rest-api/conversations/update-user-conversation"},{"openapi":"delete /users/{uid}/conversation","title":"Reset User Conversation","href":"/rest-api/conversations/reset-user-conversation"},{"openapi":"post /users/{uid}/conversation/delivered","title":"Mark User Conversation As Delivered","href":"/rest-api/conversations/mark-user-conversation-as-delivered"},{"openapi":"post /users/{uid}/conversation/read","title":"Mark User Conversation As Read","href":"/rest-api/conversations/mark-user-conversation-as-read"},{"openapi":"delete /users/{uid}/conversation/read","title":"Mark conversation messages as unread","href":"/rest-api/conversations/mark-conversation-messages-as-unread"},{"openapi":"get /groups/{guid}/conversation","title":"Get Group Conversation","href":"/rest-api/conversations/get-group-conversation"},{"openapi":"put /groups/{guid}/conversation","title":"Update Group Conversation","href":"/rest-api/conversations/update-group-conversation"},{"openapi":"delete /groups/{guid}/conversation","title":"Reset Group Conversation","href":"/rest-api/conversations/reset-group-conversation"},{"openapi":"post /groups/{guid}/conversation/delivered","title":"Mark Group Conversation As Delivered","href":"/rest-api/conversations/mark-group-conversation-as-delivered"},{"openapi":"post /groups/{guid}/conversation/read","title":"Mark Group Conversation As Read","href":"/rest-api/conversations/mark-group-conversation-as-read"},{"openapi":"delete /groups/{guid}/conversation/read","title":"Mark Group Conversation As unread","href":"/rest-api/conversations/mark-group-conversation-as-unread"}]},{"group":"Restrict Features","pages":[{"title":"Overview","href":"/rest-api/restrict-features"},{"openapi":"get /roles/{role}/restrictedfeatures","title":"List Restricted Features","href":"/rest-api/restrict-features/list-restricted-features"},{"openapi":"post /roles/{role}/restrictedfeatures","title":"Restrict Features","href":"/rest-api/restrict-features/restrict-features"},{"openapi":"delete /roles/{role}/restrictedfeatures","title":"Allow Features","href":"/rest-api/restrict-features/allow-features"}]},{"group":"Metrics","pages":[{"openapi":"get /stats","title":"Usage Metrics","href":"/rest-api/metrics/usage-metrics"},{"openapi":"get /stats/messages","title":"Message Metrics","href":"/rest-api/metrics/message-metrics"}]},{"group":"Notifications","pages":[{"openapi":"get /notifications/v1/settings","title":"List Settings","href":"/rest-api/notifications/list-settings"},{"openapi":"delete /notifications/v1/settings","title":"Reset Settings","href":"/rest-api/notifications/reset-settings"},{"openapi":"patch /notifications/v1/settings","title":"Update Settings","href":"/rest-api/notifications/update-settings"},{"openapi":"get /notifications/push/v1/providers/fcm","title":"List FCM Providers","href":"/rest-api/notifications/list-fcm-providers"},{"openapi":"put /notifications/push/v1/providers/fcm","title":"Update FCM Provider","href":"/rest-api/notifications/update-fcm-provider"},{"openapi":"post /notifications/push/v1/providers/fcm","title":"Add FCM Provider","href":"/rest-api/notifications/add-fcm-provider"},{"openapi":"delete /notifications/push/v1/providers/fcm/{providerId}","title":"Delete FCM Provider","href":"/rest-api/notifications/delete-fcm-provider"},{"openapi":"put /notifications/push/v1/providers/fcm/default/{providerId}","title":"Change default FCM Provider","href":"/rest-api/notifications/change-default-fcm-provider"},{"openapi":"get /notifications/push/v1/providers/apns","title":"List APNS Providers","href":"/rest-api/notifications/list-apns-providers"},{"openapi":"put /notifications/push/v1/providers/apns","title":"Update APNS Providers","href":"/rest-api/notifications/update-apns-providers"},{"openapi":"post /notifications/push/v1/providers/apns","title":"Add APNS Provider","href":"/rest-api/notifications/add-apns-provider"},{"openapi":"delete /notifications/push/v1/providers/apns/{providerId}","title":"Delete APNS Providers","href":"/rest-api/notifications/delete-apns-providers"},{"openapi":"put /notifications/push/v1/providers/apns/default/{providerId}","title":"Change default APNS Provider","href":"/rest-api/notifications/change-default-apns-provider"},{"openapi":"get /notifications/v1/preferences","title":"List Preferences","href":"/rest-api/notifications/list-preferences"},{"openapi":"delete /notifications/v1/preferences","title":"Reset Preferences","href":"/rest-api/notifications/reset-preferences"},{"openapi":"patch /notifications/v1/preferences","title":"Update Preferences","href":"/rest-api/notifications/update-preferences"},{"openapi":"get /notifications/push/v1/tokens","title":"List push tokens","href":"/rest-api/notifications/list-push-tokens"},{"openapi":"post /notifications/push/v1/tokens","title":"Register push token","href":"/rest-api/notifications/register-push-token"},{"openapi":"delete /notifications/push/v1/tokens","title":"Unregister push tokens for authToken","href":"/rest-api/notifications/unregister-push-tokens-for-authtoken"},{"openapi":"delete /notifications/push/v1/tokens/{pushToken}","title":"Delete the given push token","href":"/rest-api/notifications/delete-the-given-push-token"},{"openapi":"get /notifications/v1/preferences/mute","title":"List muted conversations","href":"/rest-api/notifications/list-muted-conversations"},{"openapi":"put /notifications/v1/preferences/mute","title":"Mute notifications for conversations","href":"/rest-api/notifications/mute-notifications-for-conversations"},{"openapi":"delete /notifications/v1/preferences/mute","title":"Unmute notifications for conversations","href":"/rest-api/notifications/unmute-notifications-for-conversations"},{"openapi":"get /notifications/v1/preferences/timezone","title":"Get timezone","href":"/rest-api/notifications/get-timezone"},{"openapi":"patch /notifications/v1/preferences/timezone","title":"Update timezone","href":"/rest-api/notifications/update-timezone"},{"openapi":"get /notifications/v1/contact-details","title":"Get contact details","href":"/rest-api/notifications/get-contact-details"},{"openapi":"delete /notifications/v1/contact-details","title":"Delete contact details","href":"/rest-api/notifications/delete-contact-details"},{"openapi":"patch /notifications/v1/contact-details","title":"Update contact details","href":"/rest-api/notifications/update-contact-details"},{"openapi":"get /notifications/sms/v1/providers/twilio","title":"Get Twilio credentials","href":"/rest-api/notifications/get-twilio-credentials"},{"openapi":"put /notifications/sms/v1/providers/twilio","title":"Update Twilio credentials","href":"/rest-api/notifications/update-twilio-credentials"},{"openapi":"post /notifications/sms/v1/providers/twilio","title":"Save Twilio credentials","href":"/rest-api/notifications/save-twilio-credentials"},{"openapi":"delete /notifications/sms/v1/providers/twilio","title":"Delete Twilio credentials","href":"/rest-api/notifications/delete-twilio-credentials"},{"openapi":"get /notifications/email/v1/providers/sendgrid","title":"Get SendGrid credentials","href":"/rest-api/notifications/get-sendgrid-credentials"},{"openapi":"put /notifications/email/v1/providers/sendgrid","title":"Update SendGrid credentials","href":"/rest-api/notifications/update-sendgrid-credentials"},{"openapi":"post /notifications/email/v1/providers/sendgrid","title":"Save SendGrid credentials","href":"/rest-api/notifications/save-sendgrid-credentials"},{"openapi":"delete /notifications/email/v1/providers/sendgrid","title":"Delete SendGrid credentials","href":"/rest-api/notifications/delete-sendgrid-credentials"},{"openapi":"get /notifications/push/v1/providers/custom","title":"Get Custom Provider for Push Notifications","href":"/rest-api/notifications/get-custom-provider-for-push-notifications"},{"openapi":"put /notifications/push/v1/providers/custom","title":"Update Custom Provider for Push Notifications","href":"/rest-api/notifications/update-custom-provider-for-push-notifications"},{"openapi":"post /notifications/push/v1/providers/custom","title":"Save Custom Provider for Push Notifications","href":"/rest-api/notifications/save-custom-provider-for-push-notifications"},{"openapi":"delete /notifications/push/v1/providers/custom","title":"Delete the Custom Provider for Push Notifications","href":"/rest-api/notifications/delete-the-custom-provider-for-push-notifications"},{"openapi":"get /notifications/sms/v1/providers/custom","title":"Get Custom Provider for SMS Notifications","href":"/rest-api/notifications/get-custom-provider-for-sms-notifications"},{"openapi":"put /notifications/sms/v1/providers/custom","title":"Update Custom Provider for SMS Notifications","href":"/rest-api/notifications/update-custom-provider-for-sms-notifications"},{"openapi":"post /notifications/sms/v1/providers/custom","title":"Save Custom Provider for SMS Notifications","href":"/rest-api/notifications/save-custom-provider-for-sms-notifications"},{"openapi":"delete /notifications/sms/v1/providers/custom","title":"Delete the Custom Provider for SMS Notifications","href":"/rest-api/notifications/delete-the-custom-provider-for-sms-notifications"},{"openapi":"get /notifications/email/v1/providers/custom","title":"Get Custom Provider for Email Notifications","href":"/rest-api/notifications/get-custom-provider-for-email-notifications"},{"openapi":"put /notifications/email/v1/providers/custom","title":"Update Custom Provider for Email Notifications","href":"/rest-api/notifications/update-custom-provider-for-email-notifications"},{"openapi":"post /notifications/email/v1/providers/custom","title":"Save Custom Provider for Email Notifications","href":"/rest-api/notifications/save-custom-provider-for-email-notifications"},{"openapi":"delete /notifications/email/v1/providers/custom","title":"Delete the Custom Provider for Email Notifications","href":"/rest-api/notifications/delete-the-custom-provider-for-email-notifications"},{"openapi":"get /notifications/v1/logs","title":"Notifications logs","href":"/rest-api/notifications/notifications-logs"}]},{"title":"Constraints, Rate Limits And Errors","href":"/rest-api/constraints-rate-limits-and-errors"}]},{"group":"Data Import APIs","pages":[{"title":"Overview","href":"/rest-api/data-import"},{"group":"Messages","pages":[{"openapi":"post /data_import/messages","title":"Import Messages","href":"/rest-api/data-import-apis/messages/import-messages"}]},{"group":"Users","pages":[{"openapi":"post /data_import/users","title":"Import Users","href":"/rest-api/data-import-apis/users/import-users"}]},{"group":"Groups","pages":[{"openapi":"post /data_import/groups","title":"Import Groups","href":"/rest-api/data-import-apis/groups/import-groups"},{"openapi":"post /data_import/members","title":"Import Group Members","href":"/rest-api/data-import-apis/groups/import-group-members"}]},{"title":"Constraints, Rate Limits And Errors","href":"/rest-api/data-migration-constraints-rate-limits-and-errors"}]},{"group":"Management APIs (Multi-Tenancy)","pages":[{"title":"Overview","href":"/rest-api/management-apis"},{"group":"App","pages":[{"openapi":"get /apps","title":"List","href":"/rest-api/management-apis/app/list"},{"openapi":"post /apps","title":"Create","href":"/rest-api/management-apis/app/create"},{"openapi":"delete /apps/{appId}","title":"Delete","href":"/rest-api/management-apis/app/delete"},{"openapi":"post /apps/{appId}/usage","title":"Fetch usage","href":"/rest-api/management-apis/app/fetch-usage"}]},{"group":"Extensions","pages":[{"title":"Overview","href":"/rest-api/extensions-overview"},{"openapi":"get /apps/{appId}/extensions","title":"List Extensions","href":"/rest-api/management-apis/extensions/list-extensions"},{"openapi":"post /apps/{appId}/extensions","title":"Enable/Disable","href":"/rest-api/management-apis/extensions/enabledisable"},{"openapi":"get /apps/{appId}/extensions/widget/v2/settings","title":"Chat Widgets List","href":"/rest-api/management-apis/extensions/chat-widgets-list"},{"openapi":"put /apps/{appId}/extensions/widget/v2/settings","title":"Chat Widgets Update","href":"/rest-api/management-apis/extensions/chat-widgets-update"},{"openapi":"post /apps/{appId}/extensions/widget/v2/settings","title":"Chat Widgets Create","href":"/rest-api/management-apis/extensions/chat-widgets-create"},{"openapi":"get /apps/{appId}/extensions/gifs-giphy/v1/settings","title":"Giphy Get settings","href":"/rest-api/management-apis/extensions/giphy-get-settings"},{"openapi":"put /apps/{appId}/extensions/gifs-giphy/v1/settings","title":"Giphy Update settings","href":"/rest-api/management-apis/extensions/giphy-update-settings"},{"openapi":"post /apps/{appId}/extensions/gifs-giphy/v1/settings","title":"Giphy Store settings","href":"/rest-api/management-apis/extensions/giphy-store-settings"},{"openapi":"delete /apps/{appId}/extensions/gifs-giphy/v1/settings","title":"Giphy Delete settings for Giphy","href":"/rest-api/management-apis/extensions/giphy-delete-settings-for-giphy"},{"openapi":"get /apps/{appId}/extensions/xss-filter/v1/settings","title":"XSS Filter Get settings","href":"/rest-api/management-apis/extensions/xss-filter-get-settings"},{"openapi":"put /apps/{appId}/extensions/xss-filter/v1/settings","title":"XSS Filter Update settings","href":"/rest-api/management-apis/extensions/xss-filter-update-settings"},{"openapi":"post /apps/{appId}/extensions/xss-filter/v1/settings","title":"XSS Filter Store settings","href":"/rest-api/management-apis/extensions/xss-filter-store-settings"},{"openapi":"delete /apps/{appId}/extensions/xss-filter/v1/settings","title":"XSS Filter Delete settings","href":"/rest-api/management-apis/extensions/xss-filter-delete-settings"},{"openapi":"get /apps/{appId}/extensions/image-moderation/v1/settings","title":"Image Moderation Get settings","href":"/rest-api/management-apis/extensions/image-moderation-get-settings"},{"openapi":"put /apps/{appId}/extensions/image-moderation/v1/settings","title":"Image Moderation Update settings","href":"/rest-api/management-apis/extensions/image-moderation-update-settings"},{"openapi":"post /apps/{appId}/extensions/image-moderation/v1/settings","title":"Image Moderation Store settings","href":"/rest-api/management-apis/extensions/image-moderation-store-settings"},{"openapi":"delete /apps/{appId}/extensions/image-moderation/v1/settings","title":"Image Moderation Delete settings","href":"/rest-api/management-apis/extensions/image-moderation-delete-settings"},{"openapi":"get /apps/{appId}/extensions/report-user/v1/settings","title":"Report user Get settings","href":"/rest-api/management-apis/extensions/report-user-get-settings"},{"openapi":"put /apps/{appId}/extensions/report-user/v1/settings","title":"Report user Update settings","href":"/rest-api/management-apis/extensions/report-user-update-settings"},{"openapi":"post /apps/{appId}/extensions/report-user/v1/settings","title":"Report user Store settings","href":"/rest-api/management-apis/extensions/report-user-store-settings"},{"openapi":"delete /apps/{appId}/extensions/report-user/v1/settings","title":"Report user Delete settings","href":"/rest-api/management-apis/extensions/report-user-delete-settings"},{"openapi":"get /apps/{appId}/extensions/report-message/v1/settings","title":"Report message Get settings","href":"/rest-api/management-apis/extensions/report-message-get-settings"},{"openapi":"put /apps/{appId}/extensions/report-message/v1/settings","title":"Report message Update settings","href":"/rest-api/management-apis/extensions/report-message-update-settings"},{"openapi":"post /apps/{appId}/extensions/report-message/v1/settings","title":"Report message Store settings","href":"/rest-api/management-apis/extensions/report-message-store-settings"},{"openapi":"delete /apps/{appId}/extensions/report-message/v1/settings","title":"Report message Delete settings","href":"/rest-api/management-apis/extensions/report-message-delete-settings"},{"openapi":"get /apps/{appId}/extensions/voice-transcription/v1/settings","title":"Voice transcription Get settings","href":"/rest-api/management-apis/extensions/voice-transcription-get-settings"},{"openapi":"put /apps/{appId}/extensions/voice-transcription/v1/settings","title":"Voice transcription Update settings","href":"/rest-api/management-apis/extensions/voice-transcription-update-settings"},{"openapi":"post /apps/{appId}/extensions/voice-transcription/v1/settings","title":"Voice transcription Store settings","href":"/rest-api/management-apis/extensions/voice-transcription-store-settings"},{"openapi":"delete /apps/{appId}/extensions/voice-transcription/v1/settings","title":"Voice transcription Delete settings","href":"/rest-api/management-apis/extensions/voice-transcription-delete-settings"},{"openapi":"get /apps/{appId}/extensions/stickers-stipop/v1/settings","title":"Stipop Get settings","href":"/rest-api/management-apis/extensions/stipop-get-settings"},{"openapi":"put /apps/{appId}/extensions/stickers-stipop/v1/settings","title":"Stipop Update settings","href":"/rest-api/management-apis/extensions/stipop-update-settings"},{"openapi":"post /apps/{appId}/extensions/stickers-stipop/v1/settings","title":"Stipop Store settings","href":"/rest-api/management-apis/extensions/stipop-store-settings"},{"openapi":"delete /apps/{appId}/extensions/stickers-stipop/v1/settings","title":"Stipop Delete settings","href":"/rest-api/management-apis/extensions/stipop-delete-settings"},{"openapi":"get /apps/{appId}/extensions/sentiment-analysis/v1/settings","title":"Sentiment analysis Get settings","href":"/rest-api/management-apis/extensions/sentiment-analysis-get-settings"},{"openapi":"put /apps/{appId}/extensions/sentiment-analysis/v1/settings","title":"Sentiment analysis Update settings","href":"/rest-api/management-apis/extensions/sentiment-analysis-update-settings"},{"openapi":"post /apps/{appId}/extensions/sentiment-analysis/v1/settings","title":"Sentiment analysis Store settings","href":"/rest-api/management-apis/extensions/sentiment-analysis-store-settings"},{"openapi":"delete /apps/{appId}/extensions/sentiment-analysis/v1/settings","title":"Sentiment analysis Delete settings","href":"/rest-api/management-apis/extensions/sentiment-analysis-delete-settings"},{"openapi":"get /apps/{appId}/extensions/url-shortener-tinyurl/v1/settings","title":"TinyURL Get settings","href":"/rest-api/management-apis/extensions/tinyurl-get-settings"},{"openapi":"put /apps/{appId}/extensions/url-shortener-tinyurl/v1/settings","title":"TinyURL Update settings","href":"/rest-api/management-apis/extensions/tinyurl-update-settings"},{"openapi":"post /apps/{appId}/extensions/url-shortener-tinyurl/v1/settings","title":"TinyURL Store settings","href":"/rest-api/management-apis/extensions/tinyurl-store-settings"},{"openapi":"delete /apps/{appId}/extensions/url-shortener-tinyurl/v1/settings","title":"TinyURL Delete settings","href":"/rest-api/management-apis/extensions/tinyurl-delete-settings"},{"openapi":"get /apps/{appId}/extensions/intercom/v1/settings","title":"Intercom Get settings","href":"/rest-api/management-apis/extensions/intercom-get-settings"},{"openapi":"put /apps/{appId}/extensions/intercom/v1/settings","title":"Intercom Update settings","href":"/rest-api/management-apis/extensions/intercom-update-settings"},{"openapi":"post /apps/{appId}/extensions/intercom/v1/settings","title":"Intercom Store settings","href":"/rest-api/management-apis/extensions/intercom-store-settings"},{"openapi":"delete /apps/{appId}/extensions/intercom/v1/settings","title":"Intercom Delete settings","href":"/rest-api/management-apis/extensions/intercom-delete-settings"},{"openapi":"get /apps/{appId}/extensions/url-shortener-bitly/v1/settings","title":"Bitly Get settings","href":"/rest-api/management-apis/extensions/bitly-get-settings"},{"openapi":"put /apps/{appId}/extensions/url-shortener-bitly/v1/settings","title":"Bitly Update settings","href":"/rest-api/management-apis/extensions/bitly-update-settings"},{"openapi":"post /apps/{appId}/extensions/url-shortener-bitly/v1/settings","title":"Bitly Store settings","href":"/rest-api/management-apis/extensions/bitly-store-settings"},{"openapi":"delete /apps/{appId}/extensions/url-shortener-bitly/v1/settings","title":"Bitly Delete settings","href":"/rest-api/management-apis/extensions/bitly-delete-settings"},{"openapi":"get /apps/{appId}/extensions/rich-media/v1/settings","title":"Rich media preview Get settings","href":"/rest-api/management-apis/extensions/rich-media-preview-get-settings"},{"openapi":"put /apps/{appId}/extensions/rich-media/v1/settings","title":"Rich media preview Update settings","href":"/rest-api/management-apis/extensions/rich-media-preview-update-settings"},{"openapi":"post /apps/{appId}/extensions/rich-media/v1/settings","title":"Rich media preview Store settings","href":"/rest-api/management-apis/extensions/rich-media-preview-store-settings"},{"openapi":"delete /apps/{appId}/extensions/rich-media/v1/settings","title":"Rich media preview Delete settings","href":"/rest-api/management-apis/extensions/rich-media-preview-delete-settings"},{"openapi":"get /apps/{appId}/extensions/virus-malware-scanner/v1/settings","title":"Virus Malware Scanner Get settings","href":"/rest-api/management-apis/extensions/virus-malware-scanner-get-settings"},{"openapi":"put /apps/{appId}/extensions/virus-malware-scanner/v1/settings","title":"Virus Malware Scanner Update settings","href":"/rest-api/management-apis/extensions/virus-malware-scanner-update-settings"},{"openapi":"post /apps/{appId}/extensions/virus-malware-scanner/v1/settings","title":"Virus Malware Scanner Store settings","href":"/rest-api/management-apis/extensions/virus-malware-scanner-store-settings"},{"openapi":"delete /apps/{appId}/extensions/virus-malware-scanner/v1/settings","title":"Virus Malware Scanner Delete settings","href":"/rest-api/management-apis/extensions/virus-malware-scanner-delete-settings"},{"openapi":"get /apps/{appId}/extensions/broadcast/v1/settings","title":"Video Broadcasting Get settings","href":"/rest-api/management-apis/extensions/video-broadcasting-get-settings"},{"openapi":"put /apps/{appId}/extensions/broadcast/v1/settings","title":"Video Broadcasting Update settings","href":"/rest-api/management-apis/extensions/video-broadcasting-update-settings"},{"openapi":"post /apps/{appId}/extensions/broadcast/v1/settings","title":"Video Broadcasting Store settings","href":"/rest-api/management-apis/extensions/video-broadcasting-store-settings"},{"openapi":"delete /apps/{appId}/extensions/broadcast/v1/settings","title":"Video Broadcasting Delete settings","href":"/rest-api/management-apis/extensions/video-broadcasting-delete-settings"},{"openapi":"get /apps/{appId}/extensions/gifs-tenor/v1/settings","title":"Tenor gifs Get settings","href":"/rest-api/management-apis/extensions/tenor-gifs-get-settings"},{"openapi":"put /apps/{appId}/extensions/gifs-tenor/v1/settings","title":"Tenor gifs Update settings","href":"/rest-api/management-apis/extensions/tenor-gifs-update-settings"},{"openapi":"post /apps/{appId}/extensions/gifs-tenor/v1/settings","title":"Tenor gifs Store settings","href":"/rest-api/management-apis/extensions/tenor-gifs-store-settings"},{"openapi":"delete /apps/{appId}/extensions/gifs-tenor/v1/settings","title":"Tenor gifs Delete settings","href":"/rest-api/management-apis/extensions/tenor-gifs-delete-settings"},{"openapi":"get /apps/{appId}/extensions/human-moderation/v1/settings","title":"In-flight message moderation Get settings","href":"/rest-api/management-apis/extensions/in-flight-message-moderation-get-settings"},{"openapi":"put /apps/{appId}/extensions/human-moderation/v1/settings","title":"In-flight message moderation Update settings","href":"/rest-api/management-apis/extensions/in-flight-message-moderation-update-settings"},{"openapi":"post /apps/{appId}/extensions/human-moderation/v1/settings","title":"In-flight message moderation Store settings","href":"/rest-api/management-apis/extensions/in-flight-message-moderation-store-settings"},{"openapi":"delete /apps/{appId}/extensions/human-moderation/v1/settings","title":"In-flight message moderation Delete settings","href":"/rest-api/management-apis/extensions/in-flight-message-moderation-delete-settings"},{"openapi":"get /apps/{appId}/extensions/e2ee/v1/settings","title":"End-to-end encryption Get settings","href":"/rest-api/management-apis/extensions/end-to-end-encryption-get-settings"},{"openapi":"put /apps/{appId}/extensions/e2ee/v1/settings","title":"End-to-end encryption Update settings","href":"/rest-api/management-apis/extensions/end-to-end-encryption-update-settings"},{"openapi":"post /apps/{appId}/extensions/e2ee/v1/settings","title":"End-to-end encryption Store settings","href":"/rest-api/management-apis/extensions/end-to-end-encryption-store-settings"},{"openapi":"delete /apps/{appId}/extensions/e2ee/v1/settings","title":"End-to-end encryption Delete settings","href":"/rest-api/management-apis/extensions/end-to-end-encryption-delete-settings"},{"openapi":"get /apps/{appId}/extensions/stickers/v1/settings","title":"Stickers extension Get settings","href":"/rest-api/management-apis/extensions/stickers-extension-get-settings"},{"openapi":"put /apps/{appId}/extensions/stickers/v1/settings","title":"Stickers extension Update settings","href":"/rest-api/management-apis/extensions/stickers-extension-update-settings"},{"openapi":"delete /apps/{appId}/extensions/stickers/v1/settings","title":"Stickers extension Delete settings","href":"/rest-api/management-apis/extensions/stickers-extension-delete-settings"},{"openapi":"post /apps/{appId}/extensions/push-notification/v1/upload-certificate-p12","title":"Push notification Upload p12 Certificate","href":"/rest-api/management-apis/extensions/push-notification-upload-p12-certificate"},{"openapi":"post /apps/{appId}/extensions/push-notification/v1/upload-certificate-p8","title":"Push notification Upload p8 Certificate","href":"/rest-api/management-apis/extensions/push-notification-upload-p8-certificate"},{"openapi":"get /apps/{appId}/extensions/push-notification/v1/query-certificates","title":"Push notification Get Certificate","href":"/rest-api/management-apis/extensions/push-notification-get-certificate"},{"openapi":"get /apps/{appId}/extensions/email-replies/v1/settings","title":"Email replies Get settings","href":"/rest-api/management-apis/extensions/email-replies-get-settings"},{"openapi":"put /apps/{appId}/extensions/email-replies/v1/settings","title":"Email replies Update settings","href":"/rest-api/management-apis/extensions/email-replies-update-settings"},{"openapi":"post /apps/{appId}/extensions/email-replies/v1/settings","title":"Email replies Store settings","href":"/rest-api/management-apis/extensions/email-replies-store-settings"},{"openapi":"delete /apps/{appId}/extensions/email-replies/v1/settings","title":"Email replies Delete settings","href":"/rest-api/management-apis/extensions/email-replies-delete-settings"},{"openapi":"get /apps/{appId}/extensions/sms-notification/v1/settings","title":"SMS Notification Get settings","href":"/rest-api/management-apis/extensions/sms-notification-get-settings"},{"openapi":"put /apps/{appId}/extensions/sms-notification/v1/settings","title":"SMS Notification Update settings","href":"/rest-api/management-apis/extensions/sms-notification-update-settings"},{"openapi":"post /apps/{appId}/extensions/sms-notification/v1/settings","title":"SMS Notification Store settings","href":"/rest-api/management-apis/extensions/sms-notification-store-settings"},{"openapi":"delete /apps/{appId}/extensions/sms-notification/v1/settings","title":"SMS Notification Delete settings","href":"/rest-api/management-apis/extensions/sms-notification-delete-settings"},{"openapi":"get /apps/{appId}/extensions/push-notification/v1/settings","title":"Push notification Get settings","href":"/rest-api/management-apis/extensions/push-notification-get-settings"},{"openapi":"put /apps/{appId}/extensions/push-notification/v1/settings","title":"Push notification Update settings","href":"/rest-api/management-apis/extensions/push-notification-update-settings"},{"openapi":"post /apps/{appId}/extensions/push-notification/v1/settings","title":"Push notification Store settings","href":"/rest-api/management-apis/extensions/push-notification-store-settings"},{"openapi":"delete /apps/{appId}/extensions/push-notification/v1/settings","title":"Push notification Delete settings","href":"/rest-api/management-apis/extensions/push-notification-delete-settings"},{"openapi":"get /apps/{appId}/extensions/chatwoot/v1/settings","title":"Chatwoot Get settings","href":"/rest-api/management-apis/extensions/chatwoot-get-settings"},{"openapi":"put /apps/{appId}/extensions/chatwoot/v1/settings","title":"Chatwoot Update settings","href":"/rest-api/management-apis/extensions/chatwoot-update-settings"},{"openapi":"post /apps/{appId}/extensions/chatwoot/v1/settings","title":"Chatwoot Store settings","href":"/rest-api/management-apis/extensions/chatwoot-store-settings"},{"openapi":"delete /apps/{appId}/extensions/chatwoot/v1/settings","title":"Chatwoot Delete settings","href":"/rest-api/management-apis/extensions/chatwoot-delete-settings"},{"openapi":"get /apps/{appId}/extensions/message-shortcuts/v1/settings","title":"Message Shortcuts Get settings","href":"/rest-api/management-apis/extensions/message-shortcuts-get-settings"},{"openapi":"put /apps/{appId}/extensions/message-shortcuts/v1/settings","title":"Message Shortcuts Update settings","href":"/rest-api/management-apis/extensions/message-shortcuts-update-settings"},{"openapi":"post /apps/{appId}/extensions/message-shortcuts/v1/settings","title":"Message Shortcuts Store settings","href":"/rest-api/management-apis/extensions/message-shortcuts-store-settings"},{"openapi":"delete /apps/{appId}/extensions/message-shortcuts/v1/settings","title":"Message Shortcuts Delete settings","href":"/rest-api/management-apis/extensions/message-shortcuts-delete-settings"},{"openapi":"get /apps/{appId}/extensions/email-notification/v1/settings","title":"Email Notification Get settings","href":"/rest-api/management-apis/extensions/email-notification-get-settings"},{"openapi":"put /apps/{appId}/extensions/email-notification/v1/settings","title":"Email Notification Update settings","href":"/rest-api/management-apis/extensions/email-notification-update-settings"},{"openapi":"post /apps/{appId}/extensions/email-notification/v1/settings","title":"Email Notification Store settings","href":"/rest-api/management-apis/extensions/email-notification-store-settings"},{"openapi":"delete /apps/{appId}/extensions/email-notification/v1/settings","title":"Email Notification Delete settings","href":"/rest-api/management-apis/extensions/email-notification-delete-settings"},{"openapi":"get /apps/{appId}/extensions/data-masking/v1/settings","title":"Data masking Get Settings","href":"/rest-api/management-apis/extensions/data-masking-get-settings"},{"openapi":"put /apps/{appId}/extensions/data-masking/v1/settings","title":"Data masking Store or update settings","href":"/rest-api/management-apis/extensions/data-masking-store-or-update-settings"},{"openapi":"delete /apps/{appId}/extensions/data-masking/v1/settings","title":"Data masking Delete settings","href":"/rest-api/management-apis/extensions/data-masking-delete-settings"},{"openapi":"get /apps/{appId}/extensions/profanity-filter/v1/settings","title":"Profanity-filter Get Settings","href":"/rest-api/management-apis/extensions/profanity-filter-get-settings"},{"openapi":"put /apps/{appId}/extensions/profanity-filter/v1/settings","title":"Profanity-filter Update settings","href":"/rest-api/management-apis/extensions/profanity-filter-update-settings"},{"openapi":"post /apps/{appId}/extensions/profanity-filter/v1/settings","title":"Profanity-filter Adds Settings","href":"/rest-api/management-apis/extensions/profanity-filter-adds-settings"},{"openapi":"delete /apps/{appId}/extensions/profanity-filter/v1/settings","title":"Profanity-filter Delete settings","href":"/rest-api/management-apis/extensions/profanity-filter-delete-settings"}]},{"group":"Team Management","pages":[{"openapi":"get /apps/{appId}/collaborators","title":"List collaborators","href":"/rest-api/management-apis/team-management/list-collaborators"},{"openapi":"post /apps/{appId}/collaborators","title":"Adds/Remove collaborators","href":"/rest-api/management-apis/team-management/addsremove-collaborators"}]},{"group":"Settings","pages":[{"title":"Overview","href":"/rest-api/settings"},{"openapi":"get /apps/{appId}/settings","title":"List settings","href":"/rest-api/management-apis/settings/list-settings"},{"openapi":"post /apps/{appId}/settings","title":"Maps Settings","href":"/rest-api/management-apis/settings/maps-settings"},{"openapi":"delete /apps/{appId}/settings","title":"UnMaps settings","href":"/rest-api/management-apis/settings/unmaps-settings"}]},{"group":"Webhooks","pages":[{"openapi":"get /apps/{appId}/webhooks","title":"List Webhooks","href":"/rest-api/management-apis/webhooks/list-webhooks"},{"openapi":"post /apps/{appId}/webhooks","title":"Create Webhook","href":"/rest-api/management-apis/webhooks/create-webhook"},{"openapi":"get /apps/{appId}/webhooks/{webhookId}","title":"Get Webhook","href":"/rest-api/management-apis/webhooks/get-webhook"},{"openapi":"put /apps/{appId}/webhooks/{webhookId}","title":"Update Webhook","href":"/rest-api/management-apis/webhooks/update-webhook"},{"openapi":"delete /apps/{appId}/webhooks/{webhookId}","title":"Delete Webhook","href":"/rest-api/management-apis/webhooks/delete-webhook"},{"openapi":"get /apps/{appId}/webhooks/{webhookId}/triggers","title":"List Triggers","href":"/rest-api/management-apis/webhooks/list-triggers"},{"openapi":"post /apps/{appId}/webhooks/{webhookId}/triggers","title":"Add Triggers","href":"/rest-api/management-apis/webhooks/add-triggers"},{"openapi":"delete /apps/{appId}/webhooks/{webhookId}/triggers","title":"Remove Triggers","href":"/rest-api/management-apis/webhooks/remove-triggers"}]},{"group":"Moderation","pages":[{"title":"Overview","href":"/rest-api/moderation"},{"openapi":"get /apps/{appId}/moderation/rules","title":"List Rules","href":"/rest-api/management-apis/moderation/list-rules"},{"openapi":"post /apps/{appId}/moderation/rules","title":"Add Rule","href":"/rest-api/management-apis/moderation/add-rule"},{"openapi":"get /apps/{appId}/moderation/rules/{ruleId}","title":"Get Rule","href":"/rest-api/management-apis/moderation/get-rule"},{"openapi":"put /apps/{appId}/moderation/rules/{ruleId}","title":"Update Rule","href":"/rest-api/management-apis/moderation/update-rule"},{"openapi":"delete /apps/{appId}/moderation/rules/{ruleId}","title":"Remove rule","href":"/rest-api/management-apis/moderation/remove-rule"},{"openapi":"get /apps/{appId}/moderation/keywords","title":"List keywords","href":"/rest-api/management-apis/moderation/list-keywords"},{"openapi":"post /apps/{appId}/moderation/keywords","title":"Add Keywords","href":"/rest-api/management-apis/moderation/add-keywords"},{"openapi":"get /apps/{appId}/moderation/keywords/{keywordId}","title":"Get keyword","href":"/rest-api/management-apis/moderation/get-keyword"},{"openapi":"put /apps/{appId}/moderation/keywords/{keywordId}","title":"Update keyword","href":"/rest-api/management-apis/moderation/update-keyword"},{"openapi":"delete /apps/{appId}/moderation/keywords/{keywordId}","title":"Remove keyword","href":"/rest-api/management-apis/moderation/remove-keyword"},{"openapi":"get /apps/{appId}/moderation/rules/{ruleId}/revisions","title":"Get Rule Revisions","href":"/rest-api/management-apis/moderation/get-rule-revisions"},{"openapi":"get /apps/{appId}/moderation/blocked-messages","title":"List Blocked Messages","href":"/rest-api/management-apis/moderation/list-blocked-messages"},{"openapi":"patch /apps/{appId}/moderation/blocked-messages/{messageId}","title":"Approve Blocked Messages","href":"/rest-api/management-apis/moderation/approve-blocked-messages"}]},{"title":"Constraints, Rate Limits And Errors","href":"/rest-api/multi-tenancy-constraints-rate-limits-and-errors"}]}]}]},"basePath":"","title":"UI Components - CometChat Docs","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}