This article will teach you how to create, manage, and remove an IM conversation with Voximplant.
Create a conversation
To create a conversation, use the createConversation method:
By default, the conversation's members have the following permissions: canRead, canWrite, canRemove. You can specify another default permissions at conversation creation.
The user that created the conversation becomes its owner. After the conversation is created, other users can join it or be invited by administrators.
Manage a conversation
Add and remove the participants
To make someone an administrator, the chat room's owner needs to set the canManageParticipants permission of a chat member to true.
Here is how you can manage a chat room's preferences:
Refer to the chat room user management guide to learn how to add and remove users and how to change their permissions.