Skip to content
5 changes: 3 additions & 2 deletions sdk/android/v5/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Overview"
description: "Build Android chat apps with CometChat SDK v5, including real-time messaging, users, groups, and calling support."
title: "CometChat Android SDK v5 overview"
sidebarTitle: "Overview"
description: "Build Android chat apps with CometChat SDK v5, covering real-time messaging, users, groups, calling, and the v4 to v5 migration path."
---

<Warning>
Expand Down Expand Up @@ -37,7 +38,7 @@

* Android API Level 21
* Android API level 24 (in case you are using the calls SDKS)
* Androidx Compatibility

Check warning on line 41 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L41

Did you really mean 'Androidx'?

</Note>

Expand All @@ -48,7 +49,7 @@
<Tabs>
<Tab title="Groovy">
```groovy
allprojects {

Check warning on line 52 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L52

Did you really mean 'allprojects'?
repositories {
maven {
url "https://dl.cloudsmith.io/public/cometchat/cometchat/maven/"
Expand Down Expand Up @@ -77,11 +78,11 @@

<Note>

v2.4+ onwards, Voice & Video Calling functionality has been moved to a separate library. In case you plan to use the calling feature, please add the Calling dependency `implementation 'com.cometchat:calls-sdk-android:4.3.3'` in the dependencies section of the app-level `build.gradle` file.

Check warning on line 81 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L81

Did you really mean 'onwards'?

</Note>

Finally, add the below lines `android` section of the **app level** gradle file

Check warning on line 85 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L85

Did you really mean 'gradle'?

<Tabs>
<Tab title="Groovy">
Expand All @@ -103,7 +104,7 @@
The `init()` method initializes the settings required for CometChat. The `init()` method takes the below parameters:

1. appID - You CometChat App ID
2. appSettings - An object of the AppSettings class can be created using the AppSettingsBuilder class. The region field is mandatory and can be set using the `setRegion()` method.

Check warning on line 107 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L107

Did you really mean 'appSettings'?

The `AppSettings` class allows you to configure three settings:

Expand All @@ -117,15 +118,15 @@
<Tab title="Java">
```java
String appID = "APP_ID"; // Replace with your App ID
String region = "REGION"; // Replace with your App Region ("eu" or "us")

Check warning on line 121 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L121

Did you really mean 'eu'?

AppSettings appSettings = new AppSettings.AppSettingsBuilder()

Check warning on line 123 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L123

Did you really mean 'appSettings'?
.subscribePresenceForAllUsers()
.setRegion(region)
.autoEstablishSocketConnection(true)
.build();

CometChat.init(this, appID, appSettings, new CometChat.CallbackListener <String> () {

Check warning on line 129 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L129

Did you really mean 'appSettings'?
@Override
public void onSuccess(String successMessage) {
Log.d(TAG, "Initialization completed successfully");
Expand Down Expand Up @@ -182,12 +183,12 @@
<Tabs>
<Tab title="Java">
```java
String authKey = "AUTH_KEY"; // Replace with your App Auth Key

Check warning on line 186 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L186

Did you really mean 'authKey'?
User user = new User();

Check warning on line 187 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L187

'user' is repeated!
user.setUid("USER_UID"); // Replace with the UID for the user to be created
user.setName("USER_NAME"); // Replace with the name of the user

CometChat.createUser(user, authKey, new CometChat.CallbackListener <User> () {

Check warning on line 191 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L191

Did you really mean 'authKey'?
@Override
public void onSuccess(User user) {
Log.d("createUser", user.toString());
Expand Down Expand Up @@ -240,7 +241,7 @@
<Tab title="Java">
```java
String UID = "user1"; // Replace with the UID of the user to login
String authKey = "AUTH_KEY"; // Replace with your App Auth Key

Check warning on line 244 in sdk/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/overview.mdx#L244

Did you really mean 'authKey'?

if (CometChat.getLoggedInUser() == null) {
CometChat.login(UID, authKey, new CometChat.CallbackListener <User> () {
Expand Down
4 changes: 3 additions & 1 deletion sdk/android/v5/real-time-listeners.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "All Real Time Listeners"
title: "Real-time listeners in the CometChat Android SDK"
sidebarTitle: "All Real Time Listeners"
description: "Handle CometChat real-time events in Android apps with user, group, message, and AI assistant listeners for presence, membership, and messages."
---


Expand Down Expand Up @@ -82,27 +84,27 @@
}

@Override
public void onGroupMemberLeft(Action action, User leftUser, Group leftGroup) {

Check warning on line 87 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L87

Did you really mean 'leftUser'?

Check warning on line 87 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L87

Did you really mean 'leftGroup'?
}

@Override
public void onGroupMemberKicked(Action action, User kickedUser, User kickedBy, Group kickedFrom) {

Check warning on line 91 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L91

Did you really mean 'kickedUser'?

Check warning on line 91 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L91

Did you really mean 'kickedBy'?

Check warning on line 91 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L91

Did you really mean 'kickedFrom'?
}

@Override
public void onGroupMemberBanned(Action action, User bannedUser, User bannedBy, Group bannedFrom) {

Check warning on line 95 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L95

Did you really mean 'bannedUser'?

Check warning on line 95 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L95

Did you really mean 'bannedBy'?

Check warning on line 95 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L95

Did you really mean 'bannedFrom'?
}

@Override
public void onGroupMemberUnbanned(Action action, User unbannedUser, User unbannedBy, Group unbannedFrom) {

Check warning on line 99 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L99

Did you really mean 'unbannedUser'?

Check warning on line 99 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L99

Did you really mean 'unbannedBy'?

Check warning on line 99 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L99

Did you really mean 'unbannedFrom'?
}

@Override
public void onGroupMemberScopeChanged(Action action, User updatedBy, User updatedUser, String scopeChangedTo, String scopeChangedFrom, Group group) {

Check warning on line 103 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L103

Did you really mean 'updatedBy'?

Check warning on line 103 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L103

Did you really mean 'updatedUser'?
}

@Override
public void onMemberAddedToGroup(Action action, User addedby, User userAdded, Group addedTo) {

Check warning on line 107 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L107

Did you really mean 'addedby'?

Check warning on line 107 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L107

Did you really mean 'userAdded'?

Check warning on line 107 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L107

Did you really mean 'addedTo'?
}
});
```
Expand Down Expand Up @@ -207,22 +209,22 @@
}

@Override
public void onTypingStarted(TypingIndicator typingIndicator) {

Check warning on line 212 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L212

Did you really mean 'typingIndicator'?

}

@Override
public void onTypingEnded(TypingIndicator typingIndicator) {

Check warning on line 217 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L217

Did you really mean 'typingIndicator'?

}

@Override
public void onMessagesDelivered(MessageReceipt messageReceipt) {

Check warning on line 222 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L222

Did you really mean 'messageReceipt'?

}

@Override
public void onMessagesRead(MessageReceipt messageReceipt) {

Check warning on line 227 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L227

Did you really mean 'messageReceipt'?

}

Expand All @@ -237,28 +239,28 @@
}

@Override
public void onInteractiveMessageReceived(InteractiveMessage interactiveMessage) {

Check warning on line 242 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L242

Did you really mean 'interactiveMessage'?

}

@Override
public void onInteractionGoalCompleted(InteractionReceipt interactionReceipt) {

Check warning on line 247 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L247

Did you really mean 'interactionReceipt'?

}


@Override
public void onTransientMessageReceived(TransientMessage transientMessage) {

Check warning on line 253 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L253

Did you really mean 'transientMessage'?

}

@Override
public void onMessageReactionAdded(ReactionEvent reactionEvent) {

Check warning on line 258 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L258

Did you really mean 'reactionEvent'?

}

@Override
public void onMessageReactionRemoved(ReactionEvent reactionEvent) {

Check warning on line 263 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L263

Did you really mean 'reactionEvent'?

}

Expand All @@ -278,7 +280,7 @@
}

@Override
public void onCardMessageReceived(CardMessage cardMessage) {

Check warning on line 283 in sdk/android/v5/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/android/v5/real-time-listeners.mdx#L283

Did you really mean 'cardMessage'?

}
});
Expand Down
3 changes: 2 additions & 1 deletion sdk/flutter/real-time-listeners.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "All Real Time Listeners"
title: "Real-time listeners in the CometChat Flutter SDK"
sidebarTitle: "All Real Time Listeners"
description: "Handle CometChat real-time events in Flutter apps with user, group, and message listeners for presence, membership, and messages."
---

Expand All @@ -26,7 +27,7 @@
<Tabs>
<Tab title="Dart">
```dart
class Class_Name with UserListener {

Check warning on line 30 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L30

Did you really mean 'Class_Name'?
//CometChat.addUserListener("user_Listener_id", this);
@override
void onUserOnline(User user) {
Expand Down Expand Up @@ -78,7 +79,7 @@
<Tabs>
<Tab title="Dart">
```dart
class Class_Name with GroupListener {

Check warning on line 82 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L82

Did you really mean 'Class_Name'?
//CometChat.addGroupListener("UNIQUE_LISTENER_ID", this);

@override
Expand All @@ -87,32 +88,32 @@
}

@override
void onGroupMemberLeft(Action action, User leftUser, Group leftGroup) {

Check warning on line 91 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L91

Did you really mean 'leftUser'?

Check warning on line 91 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L91

Did you really mean 'leftGroup'?

}

@override
void onGroupMemberKicked(Action action, User kickedUser, User kickedBy, Group kickedFrom) {

Check warning on line 96 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L96

Did you really mean 'kickedUser'?

Check warning on line 96 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L96

Did you really mean 'kickedBy'?

Check warning on line 96 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L96

Did you really mean 'kickedFrom'?

}

@override
void onGroupMemberBanned(Action action, User bannedUser, User bannedBy, Group bannedFrom) {

Check warning on line 101 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L101

Did you really mean 'bannedUser'?

Check warning on line 101 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L101

Did you really mean 'bannedBy'?

Check warning on line 101 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L101

Did you really mean 'bannedFrom'?

}

@override
void onGroupMemberUnbanned(Action action, User unbannedUser, User unbannedBy, Group unbannedFrom) {

Check warning on line 106 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L106

Did you really mean 'unbannedUser'?

Check warning on line 106 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L106

Did you really mean 'unbannedBy'?

Check warning on line 106 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L106

Did you really mean 'unbannedFrom'?

}

@override
void onGroupMemberScopeChanged(Action action, User updatedBy, User updatedUser, String scopeChangedTo, String scopeChangedFrom, Group group) {

Check warning on line 111 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L111

Did you really mean 'updatedBy'?

Check warning on line 111 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L111

Did you really mean 'updatedUser'?

}

@override
void onMemberAddedToGroup(Action action, User addedby, User userAdded, Group addedTo) {

Check warning on line 116 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L116

Did you really mean 'addedby'?

Check warning on line 116 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L116

Did you really mean 'userAdded'?

Check warning on line 116 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L116

Did you really mean 'addedTo'?

}

Expand Down Expand Up @@ -167,7 +168,7 @@
<Tabs>
<Tab title="Dart">
```dart
class Class_Name with MessageListener {

Check warning on line 171 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L171

Did you really mean 'Class_Name'?

//CometChat.addMessageListener("listenerId", this);
@override
Expand All @@ -176,33 +177,33 @@
}

@override
void onMediaMessageReceived(MediaMessage mediaMessage) {

Check warning on line 180 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L180

Did you really mean 'mediaMessage'?

}

@override
void onCustomMessageReceived(CustomMessage customMessage) {

Check warning on line 185 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L185

Did you really mean 'customMessage'?

}

@override
void onTypingStarted(TypingIndicator typingIndicator) {

Check warning on line 190 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L190

Did you really mean 'typingIndicator'?

}

@override
void onTypingEnded(TypingIndicator typingIndicator) {

Check warning on line 195 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L195

Did you really mean 'typingIndicator'?

}


@override
void onMessagesDelivered(MessageReceipt messageReceipt) {

Check warning on line 201 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L201

Did you really mean 'messageReceipt'?

}

@override
void onMessagesRead(MessageReceipt messageReceipt) {

Check warning on line 206 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L206

Did you really mean 'messageReceipt'?

}

Expand All @@ -228,23 +229,23 @@
}

@override
void onCardMessageReceived(CardMessage cardMessage) {

Check warning on line 232 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L232

Did you really mean 'cardMessage'?

}


@override
void onTransientMessageReceived(TransientMessage transientMessage) {

Check warning on line 238 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L238

Did you really mean 'transientMessage'?

}

@override
void onMessageReactionAdded(ReactionEvent reactionEvent) {

Check warning on line 243 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L243

Did you really mean 'reactionEvent'?

}

@override
void onMessageReactionRemoved(ReactionEvent reactionEvent) {

Check warning on line 248 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L248

Did you really mean 'reactionEvent'?

}

Expand Down Expand Up @@ -328,5 +329,5 @@
</Tabs>

<Note>
The `AIAssistantListener` delivers real-time streaming events. After a run completes, persisted agentic messages (`AIAssistantMessage`, `AIToolResultMessage`, `AIToolArgumentMessage`) are delivered via the `MessageListener` callbacks listed above.

Check warning on line 332 in sdk/flutter/real-time-listeners.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/flutter/real-time-listeners.mdx#L332

Did you really mean 'agentic'?
</Note>
3 changes: 2 additions & 1 deletion ui-kit/flutter/call-features.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Call"
title: "Call features in the CometChat Flutter UI Kit"
sidebarTitle: "Call"
description: "Integrate CometChat Flutter UI Kit calling with one-on-one and group audio/video calls, setup, initialization, and call events."
---

Expand Down Expand Up @@ -27,7 +28,7 @@
<Tabs>
<Tab title="Groovy">
```gradle
defaultConfig {

Check warning on line 31 in ui-kit/flutter/call-features.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/call-features.mdx#L31

Did you really mean 'defaultConfig'?
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
Expand All @@ -39,7 +40,7 @@

***

### Step 3: Update iOS Podfile

Check warning on line 43 in ui-kit/flutter/call-features.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/call-features.mdx#L43

Did you really mean 'Podfile'?

In `ios/Podfile`, set the minimum iOS version to 12:

Expand All @@ -56,7 +57,7 @@
<Tabs>
<Tab title="Dart">
```dart
UIKitSettings uiKitSettings = (UIKitSettingsBuilder()

Check warning on line 60 in ui-kit/flutter/call-features.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/call-features.mdx#L60

'uiKitSettings' is repeated!
..subscriptionType = CometChatSubscriptionType.allUsers
..autoEstablishSocketConnection = true
..region = "REGION"
Expand All @@ -67,8 +68,8 @@
).build();

CometChatUIKit.init(uiKitSettings: uiKitSettings,
onSuccess: (successMessage) {},

Check warning on line 71 in ui-kit/flutter/call-features.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/call-features.mdx#L71

Did you really mean 'onSuccess'?

Check warning on line 71 in ui-kit/flutter/call-features.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/call-features.mdx#L71

Did you really mean 'successMessage'?
onError: (e) {},

Check warning on line 72 in ui-kit/flutter/call-features.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/call-features.mdx#L72

Did you really mean 'onError'?
);
```
</Tab>
Expand Down
3 changes: 2 additions & 1 deletion ui-kit/flutter/methods.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Methods"
title: "CometChat Flutter UI Kit methods reference"
sidebarTitle: "Methods"
description: "Use CometChatUIKit methods for initialization, login, logout, users, groups, conversations, messages, calls, and session handling."
---

Expand All @@ -19,10 +20,10 @@

| Method | Type | Description |
|---|---|---|
| appId | String | Sets the unique ID for the app, available on dashboard |

Check warning on line 23 in ui-kit/flutter/methods.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/methods.mdx#L23

Did you really mean 'appId'?
| region | String | Sets the region for the app ('us' or 'eu' or 'in') |

Check warning on line 24 in ui-kit/flutter/methods.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/methods.mdx#L24

Did you really mean 'eu'?
| authKey | String | Sets the auth key for the app, available on dashboard |

Check warning on line 25 in ui-kit/flutter/methods.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/methods.mdx#L25

Did you really mean 'authKey'?
| subscriptionType | String | Sets subscription type for tracking the presence of all users |

Check warning on line 26 in ui-kit/flutter/methods.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/methods.mdx#L26

Did you really mean 'subscriptionType'?
| roles | String | Sets subscription type for tracking the presence of users with specified roles |
| autoEstablishSocketConnection | Boolean | Configures if web socket connections will be established automatically on app initialization or be done manually, set to true by default |

Expand Down Expand Up @@ -227,12 +228,12 @@
```

<Note>
The UIKit's `CometChatMessageList` automatically handles AI events internally. Use `CometChatAIAssistantEvents` only if you need additional custom UI reactions to AI streaming events.

Check warning on line 231 in ui-kit/flutter/methods.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/methods.mdx#L231

Did you really mean 'UIKit's'?
</Note>

## UI Events — Card Actions

When a user interacts with a card button inside an AI agent response or a standalone card message, the UIKit emits a `ccCardActionClicked` event:

Check warning on line 236 in ui-kit/flutter/methods.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/methods.mdx#L236

Did you really mean 'UIKit'?

```dart
CometChatUIEvents.addUiListener("card_listener", myUIListener);
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/flutter/upgrading-from-v5.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Upgrading From V5"
title: "Upgrade the CometChat Flutter UI Kit from V5 to V6"
sidebarTitle: "Upgrading From V5"
description: "Upgrade from CometChat Flutter UI Kit V5 to V6 with package changes, initialization updates, BLoC architecture, and migration steps."
---
Expand Down Expand Up @@ -130,9 +130,9 @@

| Name | Type | Description |
|---|---|---|
| conversationsBloc | ConversationsBloc? | Provide a custom BLoC instance |

Check warning on line 133 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L133

Did you really mean 'conversationsBloc'?
| routeObserver | RouteObserver? | Freeze rebuilds during navigation |

Check warning on line 134 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L134

Did you really mean 'routeObserver'?
| hideSearch | bool? | Hide the search bar |

Check warning on line 135 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L135

Did you really mean 'hideSearch'?
| searchReadOnly | bool? | Make search bar read-only |
| onSearchTap | VoidCallback? | Callback when search is tapped |

Expand All @@ -143,11 +143,11 @@
| theme | Replaced by ThemeData extensions |
| errorStateText, emptyStateText, loadingStateText | Use custom state views instead |
| stateCallBack | Use BLoC events instead |
| avatarStyle, statusIndicatorStyle, badgeStyle, receiptStyle, dateStyle | Consolidated into CometChatConversationsStyle |

Check warning on line 146 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L146

Did you really mean 'avatarStyle'?

Check warning on line 146 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L146

Did you really mean 'badgeStyle'?

Check warning on line 146 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L146

Did you really mean 'receiptStyle'?

Check warning on line 146 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L146

Did you really mean 'dateStyle'?
| hideSeparator | Controlled via style |

Check warning on line 147 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L147

Did you really mean 'hideSeparator'?
| disableTyping | Handled internally |

Check warning on line 148 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L148

Did you really mean 'disableTyping'?
| deleteConversationDialogStyle | Integrated into main style |
| disableMentions | Handled via text formatters |

Check warning on line 150 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L150

Did you really mean 'disableMentions'?

Check warning on line 150 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L150

Did you really mean 'formatters'?

### Message List

Expand All @@ -158,7 +158,7 @@
| messageListBloc | MessageListBloc? | Provide a custom BLoC instance |
| enableConversationStarters | bool | Enable AI conversation starters |
| enableSmartReplies | bool | Enable AI smart replies |
| addTemplate | List&lt;CometChatMessageTemplate&gt;? | Add custom templates to existing ones |

Check warning on line 161 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L161

Did you really mean 'addTemplate'?
| hideModerationView | bool | Hide moderation view |

#### Removed Properties (from V5)
Expand All @@ -167,9 +167,9 @@
|---|---|
| theme | Replaced by ThemeData extensions |
| scrollToBottomOnNewMessages | Handled internally |
| timestampAlignment | Controlled via style |

Check warning on line 170 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L170

Did you really mean 'timestampAlignment'?
| messageInformationConfiguration | Handled via BLoC |
| reactionListConfiguration, reactionsConfiguration | Simplified |

Check warning on line 172 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L172

Did you really mean 'reactionsConfiguration'?

### Message Composer

Expand Down Expand Up @@ -204,7 +204,7 @@

| Name | Type | Description |
|---|---|---|
| titleView | Widget? Function(Group?, User?, BuildContext)? | Custom title widget |

Check warning on line 207 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L207

Did you really mean 'titleView'?
| leadingStateView | Widget? Function(Group?, User?, BuildContext)? | Custom leading widget |
| auxiliaryButtonView | Widget? Function(Group?, User?, BuildContext)? | Custom auxiliary button |
| hideVideoCallButton | bool? | Hide video call button |
Expand All @@ -215,9 +215,9 @@
| Name | Description |
|---|---|
| theme | Replaced by ThemeData extensions |
| avatarStyle, statusIndicatorStyle | Consolidated into CometChatMessageHeaderStyle |

Check warning on line 218 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L218

Did you really mean 'avatarStyle'?
| privateGroupIcon, protectedGroupIcon | Handled via style |
| disableTyping | Handled internally |

Check warning on line 220 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L220

Did you really mean 'disableTyping'?

### Users

Expand All @@ -225,19 +225,19 @@

| Name | Type | Description |
|---|---|---|
| usersBloc | UsersBloc? | Provide a custom BLoC instance |

Check warning on line 228 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L228

Did you really mean 'usersBloc'?
| setOptions | Function? | Set long press actions |

Check warning on line 229 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L229

Did you really mean 'setOptions'?
| addOptions | Function? | Add to long press actions |

Check warning on line 230 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L230

Did you really mean 'addOptions'?
| trailingView | Widget? Function(BuildContext, User)? | Custom trailing widget |

Check warning on line 231 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L231

Did you really mean 'trailingView'?
| leadingView | Widget? Function(BuildContext, User)? | Custom leading widget |

Check warning on line 232 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L232

Did you really mean 'leadingView'?
| titleView | Widget? Function(BuildContext, User)? | Custom title widget |

Check warning on line 233 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L233

Did you really mean 'titleView'?

#### Removed Properties (from V5)

| Name | Description |
|---|---|
| theme | Replaced by ThemeData extensions |
| listItemStyle, avatarStyle, statusIndicatorStyle | Consolidated into CometChatUsersStyle |

Check warning on line 240 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L240

Did you really mean 'avatarStyle'?
| options | Replaced by setOptions/addOptions |

### Groups
Expand All @@ -246,20 +246,20 @@

| Name | Type | Description |
|---|---|---|
| groupsBloc | GroupsBloc? | Provide a custom BLoC instance |

Check warning on line 249 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L249

Did you really mean 'groupsBloc'?
| groupTypeVisibility | bool | Hide group type icon |
| setOptions | Function? | Set long press actions |

Check warning on line 251 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L251

Did you really mean 'setOptions'?
| addOptions | Function? | Add to long press actions |

Check warning on line 252 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L252

Did you really mean 'addOptions'?
| trailingView | Widget? Function(BuildContext, Group)? | Custom trailing widget |

Check warning on line 253 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L253

Did you really mean 'trailingView'?
| leadingView | Widget? Function(BuildContext, Group)? | Custom leading widget |

Check warning on line 254 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L254

Did you really mean 'leadingView'?
| titleView | Widget? Function(BuildContext, Group)? | Custom title widget |

Check warning on line 255 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L255

Did you really mean 'titleView'?

#### Removed Properties (from V5)

| Name | Description |
|---|---|
| theme | Replaced by ThemeData extensions |
| listItemStyle, avatarStyle, statusIndicatorStyle | Consolidated into CometChatGroupsStyle |

Check warning on line 262 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L262

Did you really mean 'avatarStyle'?
| options | Replaced by setOptions/addOptions |

### Group Members
Expand All @@ -277,6 +277,6 @@

| V5 Name | V6 Name | Description |
|---|---|---|
| tailView | trailingView | Custom trailing widget |

Check warning on line 280 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L280

Did you really mean 'tailView'?

Check warning on line 280 in ui-kit/flutter/upgrading-from-v5.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/upgrading-from-v5.mdx#L280

Did you really mean 'trailingView'?
| disableUsersPresence | usersStatusVisibility | Inverted logic |
| groupMemberStyle | style | Type changed to CometChatGroupMembersStyle |
5 changes: 3 additions & 2 deletions ui-kit/react-native/campaigns.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Campaigns"
description: "Deliver targeted, rich notifications to users via an in-app notification feed powered by the CometChat Cards renderer."
title: "Campaigns in the CometChat React Native UI Kit"
sidebarTitle: "Campaigns"
description: "Send targeted, rich in-app notifications in React Native with the CometChat Campaigns feed and the Cards renderer for images, buttons, and actions."
---

CometChat Campaigns enables you to send rich, interactive notifications to users through an in-app notification feed. Each notification is rendered as a native card using the **CometChat Cards** library — supporting images, text, buttons, layouts, and interactive actions.
Expand Down Expand Up @@ -99,7 +100,7 @@
<img src="/images/announcement.png" />
</Frame>

The schema supports **20 element types** (text, image, icon, avatar, badge, divider, spacer, chip, progressBar, codeBlock, markdown, row, column, grid, accordion, tabs, button, iconButton, link, table) and **9 action types** (openUrl, chatWithUser, chatWithGroup, sendMessage, copyToClipboard, downloadFile, initiateCall, apiCall, customCallback).

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'progressBar'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'codeBlock'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'iconButton'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'openUrl'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'sendMessage'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'downloadFile'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'initiateCall'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'apiCall'?

Check warning on line 103 in ui-kit/react-native/campaigns.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/campaigns.mdx#L103

Did you really mean 'customCallback'?

---

Expand Down
5 changes: 3 additions & 2 deletions ui-kit/react-native/message-list.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Message List"
description: "Display sent and received messages with text, media, reactions, read receipts, threaded replies, and AI features."
title: "Message List component for React Native UI Kit"
sidebarTitle: "Message List"
description: "Render CometChat conversations in React Native with text, media, reactions, read receipts, threaded replies, and AI assistant features."
---
<Accordion title="AI Integration Quick Reference">
{/* vale off */}
Expand All @@ -27,17 +28,17 @@
},
"callbacks": {
"onThreadRepliesPress": "(messageObject: CometChat.BaseMessage, messageBubbleView: () => JSX.Element | null) => void",
"onError": "(error: CometChat.CometChatException) => void",

Check warning on line 31 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L31

Did you really mean 'onError'?
"onReactionPress": "(reaction: CometChat.ReactionCount, messageObject: CometChat.BaseMessage) => void",
"onReactionLongPress": "(reaction: CometChat.ReactionCount, messageObject: CometChat.BaseMessage) => void",
"onReactionListItemPress": "(reaction: CometChat.Reaction, messageObject: CometChat.BaseMessage) => void",
"onAddReactionPress": "() => void",
"onSuggestedMessageClick": "(suggestion: string) => void",
"onLoad": "(messageList: CometChat.BaseMessage[]) => void",

Check warning on line 37 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L37

Did you really mean 'onLoad'?
"onEmpty": "() => void"

Check warning on line 38 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L38

Did you really mean 'onEmpty'?
},
"visibility": {
"receiptsVisibility": { "type": "boolean", "default": true },

Check warning on line 41 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L41

Did you really mean 'receiptsVisibility'?
"avatarVisibility": { "type": "boolean", "default": true },
"hideError": { "type": "boolean", "default": false },
"hideTimestamp": { "type": "boolean", "default": false },
Expand Down Expand Up @@ -70,7 +71,7 @@
"customSoundForMessages": { "type": "audio source", "default": "built-in" }
},
"ai": {
"suggestedMessages": { "type": "string[]", "note": "Predefined prompts for AI assistant chats" },

Check warning on line 74 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L74

Did you really mean 'suggestedMessages'?
"aiAssistantTools": { "type": "CometChatAIAssistantTools", "note": "Tool actions for AI assistant" },
"quickReactionList": { "type": "string[]", "default": "predefined reactions" },
"streamingSpeed": { "type": "number", "default": "undefined", "note": "AI response streaming speed in ms" }
Expand Down Expand Up @@ -124,7 +125,7 @@

## Where It Fits

`CometChatMessageList` renders a scrollable, real-time message feed for a user or group conversation. Wire it alongside `CometChatMessageHeader` and `CometChatMessageComposer` to build a standard chat view.

Check warning on line 128 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L128

Did you really mean 'scrollable'?

```tsx lines
import { useState, useEffect } from "react";
Expand Down Expand Up @@ -251,7 +252,7 @@
}
```

#### onError

Check warning on line 255 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L255

Did you really mean 'onError'?

Fires on internal errors (network failure, auth issue, SDK exception).

Expand Down Expand Up @@ -296,7 +297,7 @@
}
```

#### onLoad

Check warning on line 300 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L300

Did you really mean 'onLoad'?

Fires when messages are successfully fetched and loaded.

Expand All @@ -315,7 +316,7 @@

### Global UI Events

`CometChatUIEventHandler` emits events subscribable from anywhere in the application. Subscribe in a `useEffect` and unsubscribe on cleanup.

Check warning on line 319 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L319

Did you really mean 'subscribable'?

| Event | Fires when | Payload |
| --- | --- | --- |
Expand Down Expand Up @@ -384,7 +385,7 @@
| `ErrorView` | `() => JSX.Element` | Error state |
| `NewMessageIndicatorView` | `() => JSX.Element` | New messages indicator |
| `templates` | `CometChatMessageTemplate[]` | Message bubble rendering |
| `textFormatters` | `CometChatTextFormatter[]` | Text formatting in messages |

Check warning on line 388 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L388

Did you really mean 'textFormatters'?

### HeaderView

Expand Down Expand Up @@ -517,7 +518,7 @@
}
```

### datePattern

Check warning on line 521 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L521

Did you really mean 'datePattern'?

Custom format for message timestamps.

Expand All @@ -542,15 +543,15 @@
return (
<CometChatMessageList
user={chatUser}
datePattern={generateDateString}

Check warning on line 546 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L546

Did you really mean 'datePattern'?
/>
);
}
```

### textFormatters

Check warning on line 552 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L552

Did you really mean 'textFormatters'?

Custom text formatters for message content.

Check warning on line 554 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L554

Did you really mean 'formatters'?

<Frame>
<img src="/images/e2732868-mentions_message_bubble-fccf9cbdd63a54c2f734803e4480418a.png" />
Expand Down Expand Up @@ -615,8 +616,8 @@
<CometChatMessageList
user={chatUser}
receiptsVisibility={false}
avatarVisibility={false}

Check warning on line 619 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L619

Did you really mean 'avatarVisibility'?
hideTimestamp={true}

Check warning on line 620 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L620

Did you really mean 'hideTimestamp'?
hideGroupActionMessages={true}
/>
);
Expand Down Expand Up @@ -905,7 +906,7 @@

---

### hideError

Check warning on line 909 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L909

Did you really mean 'hideError'?

Hides the error state view.

Expand Down Expand Up @@ -1237,7 +1238,7 @@

---

### searchKeyword

Check warning on line 1241 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L1241

Did you really mean 'searchKeyword'?

Keyword to highlight in message text.

Expand Down Expand Up @@ -1292,7 +1293,7 @@

---

### addTemplates

Check warning on line 1296 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L1296

Did you really mean 'addTemplates'?

Additional message templates to append to the default templates.

Expand Down Expand Up @@ -1325,7 +1326,7 @@

---

### streamingSpeed

Check warning on line 1329 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L1329

Did you really mean 'streamingSpeed'?

Speed in milliseconds for AI response streaming animation.

Expand All @@ -1349,12 +1350,12 @@

### textFormatters

Custom text formatters for message content.

Check warning on line 1353 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L1353

Did you really mean 'formatters'?

| | |
| --- | --- |
| Type | `CometChatTextFormatter[]` |
| Default | Default formatters from data source |

Check warning on line 1358 in ui-kit/react-native/message-list.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/message-list.mdx#L1358

Did you really mean 'formatters'?

---

Expand Down
5 changes: 3 additions & 2 deletions ui-kit/react-native/property-changes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Property Changes"
description: "Comprehensive reference of new, renamed, and removed properties for each CometChat React Native UI Kit v5 component."
title: "Property changes in React Native UI Kit v5"
sidebarTitle: "Property Changes"
description: "Reference of new, renamed, and removed component properties in the CometChat React Native UI Kit v5 to help you migrate your v4 codebase."
---

<Accordion title="AI Integration Quick Reference">
Expand Down
4 changes: 2 additions & 2 deletions ui-kit/react/migration-property-changes.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Property Changes"
title: "Property changes in React UI Kit v6 to v7 migration"
sidebarTitle: "Property Changes"
description: "Complete prop migration reference for all components from v6 to v7 renamed, removed, added, and type-changed props."
description: "Complete prop migration reference for the CometChat React UI Kit v6 to v7 upgrade, covering renamed, removed, added, and type-changed component props."
---

<Accordion title="AI Integration Quick Reference">
Expand Down Expand Up @@ -205,7 +205,7 @@

| Prop | v6 Signature | v7 Signature | Notes |
| --- | --- | --- | --- |
| `options` | `(group, member) => Option[]` | `(member) => Option[]` | `group` param removed — component already knows its group |

Check warning on line 208 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L208

Did you really mean 'param'?

### Removed Props

Expand Down Expand Up @@ -408,7 +408,7 @@

| Prop | v6 Signature | v7 Signature | Notes |
| --- | --- | --- | --- |
| `onReactionClick` | `(reaction: ReactionCount, message) => void` | `(emoji: string, message) => void` | First param changed from object to emoji string |

Check warning on line 411 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L411

Did you really mean 'param'?

---

Expand Down Expand Up @@ -478,7 +478,7 @@
| --- | --- | --- |
| `message` | `CometChat.MediaMessage` | Source message — drives all extraction (**required**) |
| `alignment` | `"left" \| "right"` | Override incoming/outgoing alignment |
| `textFormatters` | `CometChatTextFormatter[]` | Text formatters for caption rendering |

Check warning on line 481 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L481

Did you really mean 'formatters'?
| `placeholderImage` | `string` | Custom placeholder shown while the image loads |
| `onImageClicked` | `(attachment, index) => void` | Fires when an image is clicked |
| `className` | `string` | Custom root class |
Expand All @@ -503,7 +503,7 @@
| --- | --- | --- |
| `defaultSearchText` | `string` | Default search text |
| `disabled` | `boolean` | Disable the search bar |
| `debounceMs` | `number` | Debounce delay in ms |

Check warning on line 506 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L506

Did you really mean 'Debounce'?
| `inputRef` | `Ref<HTMLInputElement>` | Ref to the input element |
| `style` | `CSSProperties` | Inline styles |

Expand Down
Loading