Function removeParticipants

Removes a participant from the room if the user has the necessary permissions.

removeParticipants({
coHostResponsibility: [{ name: "participants", value: true }],
participant: { id: "123", name: "John Doe", islevel: "1" },
member: "currentMember",
islevel: "2",
showAlert: (alert) => console.log(alert.message),
coHost: "coHostMember",
participants: [{ id: "123", name: "John Doe", islevel: "1" }],
socket,
roomName: "room1",
updateParticipants: (updatedParticipants) => console.log(updatedParticipants),
});