Skip to main content
A group can be used for multiple users to communicate with each other on a particular topic or interest.

GUID

  • Each group is uniquely identified using a GUID.
  • The GUID is typically the primary ID of the group from your database. If you do not store group information in your database, you can generate a random string for use as GUID.
GUID can be alphanumeric with underscore and hyphen. Spaces, punctuation and other special characters are not allowed.

Group Types

CometChat supports three different types of groups:
TypeVisibilityParticipation
PublicAll usersAny user can choose to join
PasswordAll usersAny user with a valid password can join
PrivateOnly membersInvited users are auto-joined

Member Scopes

Once a participant joins a group, they become a member. Members remain part of the group indefinitely — to stop receiving messages, calls, and notifications, a member must be kicked, banned, or leave the group.
ScopeDefaultPrivileges
AdminGroup creatorManage all members, add members, kick & ban anyone, send & receive messages & calls, update & delete group
ModeratorChange scope of participants, kick & ban participants, update group, send & receive messages & calls
ParticipantAll other membersSend & receive messages & calls