Updates multiple participants' permission levels in bulk. Only hosts (islevel === "2") can update permissions. Processes in batches (default max 50 at a time).
Options for bulk updating permissions.
await bulkUpdateParticipantPermissions({ socket, participants: [participant1, participant2], newLevel: "0", member: "currentUser", islevel: "2", roomName: "room123", showAlert: (alert) => console.log(alert.message), maxBatchSize: 50,}); Copy
await bulkUpdateParticipantPermissions({ socket, participants: [participant1, participant2], newLevel: "0", member: "currentUser", islevel: "2", roomName: "room123", showAlert: (alert) => console.log(alert.message), maxBatchSize: 50,});
Updates multiple participants' permission levels in bulk. Only hosts (islevel === "2") can update permissions. Processes in batches (default max 50 at a time).