Participants: add, manage, delete
This article will teach you how to add, remove, and manage participants in a conversation.
To manage participants, 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.
Contents
Add and remove participants
Use the addParticipants method to add new participants to the conversation. To remove participants from a conversation, use the removeParticipants method.
Manage participant permissions
Use the editParticipants method to change participant 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.
Download our demos
Here you can download our instant messaging demos for multiple platforms for your instance: