Rate this page:

Add, remove and manage users

This article will teach you how to add, remove, and manage users in a conversation.

To manage users, you need to be an administrator or an owner in the conversation. To make someone an administrator, the chat room's owner needs to set the canManageParticipants permission of a chat member to true.

Add and remove users

Use the addParticipants method to add new users to the conversation. To remove users from a conversation, use the removeParticipants method.

Add and remove users

Add and remove users

Manage user permissions

Use the editParticipants method to change user permissions.

By default, the conversation's members have the following permissions: canRead, canWrite, canRemove. Please refer to this API to read more about all the available permission options.

Manage user permissions

Manage user permissions