Skip to main content
This guide covers the full group lifecycle: creating groups, joining them, managing members, changing roles, and transferring ownership. Before starting, complete the Getting Started guide.

Components


Integration Steps

1. Display Groups List

Render CometChatGroups with custom app bar options for creating new groups. Handle item press to either open chat (if joined) or trigger join flow.

2. Create Group

Build a form that collects group name, type, and optional password. Call CometChat.createGroup() and emit ccGroupCreated.

3. Add Members to Group

Use CometChatUsers with selectionMode="multiple" to select users, then call CometChat.addMembersToGroup().

4. View and Manage Group Members

Use CometChatGroupMembers to display members. Owners, admins and moderators get options to change a member’s scope, remove them, or ban them.
The UI Kit has no screen for listing banned members or unbanning them. To undo a ban from your app, use the Chat SDK: fetch banned members with BannedMembersRequestBuilder, then unban with CometChat.unbanGroupMember(). To remove the Ban option instead, set hideBanMemberOption.

5. Transfer Ownership

Let the current owner select a member and transfer ownership via CometChat.transferGroupOwnership().

Feature Matrix


Next Steps

Groups

Display and manage group lists.

Group Members

Display and manage group member lists.

All Guides

Browse all feature and formatter guides.

Sample App

Full working sample application on GitHub.