> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-llms-scoped-indexes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Groups

> Manage CometChat group creation, membership, permissions, and group types in the iOS SDK.

<Accordion title="AI Integration Quick Reference">
  | Field | Value |
  | - | - |
  | Key Class | `CometChat.Group` |
  | Group Types | `Public`, `Private`, `Password` |
  | Member Roles | `Admin`, `Moderator`, `Participant` |
  | Key Methods | `createGroup()`, `joinGroup()`, `leaveGroup()`, `deleteGroup()` |
  | Prerequisites | SDK initialized, user logged in |
  | Related | [Create Group](/sdk/ios/create-group), [Join Group](/sdk/ios/join-group), [Retrieve Groups](/sdk/ios/retrieve-groups) |
</Accordion>

Groups help your users to converse together in a single space. You can have three types of groups- private, public and password protected.

Each group includes three kinds of users- admin, moderator, member.

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Create a Group" icon="plus" href="/sdk/ios/create-group">
    Create public, private, or password-protected groups
  </Card>

  <Card title="Join a Group" icon="right-to-bracket" href="/sdk/ios/join-group">
    Join existing groups as a participant
  </Card>

  <Card title="Retrieve Groups" icon="list" href="/sdk/ios/retrieve-groups">
    Fetch and filter the list of groups
  </Card>

  <Card title="Retrieve Group Members" icon="users" href="/sdk/ios/retrieve-group-members">
    Get the member list for a group
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.