changeRole()
changeRole(userId: string, role: string)
Changes the role of an existing user. The target user's id and new role are provided as parameters.
Sample use case: Have a custom participants panel in your integration and want power users to be able to change roles of other participants.
This method is often used with the roleChanged event, which is emitted after a role of a user changes.
Last updated