Group chat
Build group chats for small teams and large communities.
You can use TalkJS for anything from a private chat between three teammates to a live event with thousands of fans.

Group chat with team collaboration
Group chats are great for use cases such as:
- Team chats inside a company-wide collaboration tool
- Live video streaming events with real-time discussion
- A general lobby or reception room for an online event
For private messaging between two users, see 1-on-1 chat.
A user in a group chat can either be a participant or a guest:
- Participant: A user who is a member of a conversation. Participants can read messages, send messages, and perform message actions. Among other things, participants can also be
@mentionedand appear in the conversation's participant list. - Guest: A user who isn't a member of a conversation, but instead has lightweight guest access to that conversation. Guests can read all messages, send messages, and perform message actions in a conversation. Among other things, guests can't be
@mentionedand won't appear in the conversation's participant list.
Participants and guests have access to the following features:
| Feature | Participant | Guest |
|---|---|---|
| Send and receive messages | ✓ | ✓ |
| Send files, voice messages, location | ✓ | ✓ |
| React with emojis | ✓ | ✓ |
| See when people are typing | ✓ | ✓ |
| Others see when they type | ✓ | |
| Can be @mentioned | ✓ | Only after sending a message |
| Unread messages tracked | ✓ | |
| Desktop notifications | ✓ | ✓ |
| Email/SMS notifications | ✓ | |
| Appears in participant list | ✓ | |
| Inbox UI | ✓ | |
| Chatbox UI | ✓ | ✓ |
| Popup UI | ✓ | ✓ |
| Conversation appears in inbox | ✓ | |
| Webhooks | ✓ | All except notification and message-read events |
To use some of the features in this table, you need to enable them for a user's role.
Whether a user is a participant or a guest is specific to a group chat. A user can be a participant in one conversation, and a guest in another conversation.
Participant and guest access are each great for different types of situations. For example:
| Access type | Great for |
|---|---|
| Participants | Private group chats with known members, such as:
|
| Guests | Larger, open chat rooms, such as:
|
| Combination of participants and guests | Larger chats where some but not all users need to be a listed, notifiable participant |
| Per conversation | Basic | Growth | Enterprise |
|---|---|---|---|
| Participants (Counts all members added to the conversation, including offline users.) | 100 | 300 | Custom (e.g. 10,000+) |
| Concurrent guests (Counts guests who have the conversation open at the same time, separate from the participant limit. There is no limit on how many guests can join over time.) | 300 | 1,250 | Custom (e.g. 10,000+) |
For example, on the Growth plan, a single conversation can have up to 300 participants and up to 1,250 concurrent guests, with no limit on the number of unique users who joined as guests over the course of a livestream.
If a conversation reaches its participant limit, adding another participant returns an error until you remove an existing one. If the guest limit is full, the next guest sees a message asking them to try again later. There is no limit on the number of group chats you can create.
An AI assistant joins a group chat the way a person does: it's a TalkJS user that you add to the conversation as a participant. You bring the model, and your server connects it to the chat:
- Create a user for the assistant, with the name and photo people should see.
- Add it to the group chat as a participant. It can read the messages sent before it joined.
- Listen for the
message.sentwebhook. Each event has amentionedUserIdslist, so the assistant can stay quiet until someone@mentionsit, instead of answering every message in the group. - Send the reply with the assistant's user ID as the
sender, so it appears under the assistant's own name.
Add the assistant as a participant, not a guest. A guest can only be @mentioned after it has sent a message, as the table above shows.
For the full setup, see AI agent and chatbot integration. To let people ask several assistants questions in one group chat, see Multiple AI agents.
In addition to being a participant or guest, users can have different access permissions that determine what they can do in a conversation.
Guests always have full read-write access to a conversation. You can give participants the following access permissions:
| Access type | Value | Description |
|---|---|---|
| Full read-write | ReadWrite | The participant can read and write messages in the conversation. |
| Read-only | Read | The participant can read but not write messages in the conversation. |
To revoke both read and write access, remove the participant. If you add them again later, they'll be able to read the entire conversation history, including all the messages sent while they didn't have access.
If you're building with the Classic React SDK or JavaScript SDK, check out the Control access permissions guide on how to update participants' access.