OptionalonThe options for muting participants.
OptionalshowAlert?: ShowAlertOptionalonSends a direct message to a participant if the current member has the necessary permissions.
The options for messaging participants.
OptionalshowAlert?: ShowAlertmessageParticipants({
coHostResponsibility: [{ name: "chat", value: true }],
participant: { name: "John Doe", islevel: "1" },
member: "currentMember",
islevel: "2",
showAlert: (alert) => console.log(alert.message),
coHost: "coHostMember",
updateIsMessagesModalVisible: (isVisible) => setMessagesModalVisible(isVisible),
updateDirectMessageDetails: (participant) => setDirectMessageDetails(participant),
updateStartDirectMessage: (start) => setStartDirectMessage(start),
});
OptionalonRemoves a participant from the room if the user has the necessary permissions.
The options for removing a participant.
OptionalshowAlert?: ShowAlertremoveParticipants({
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),
});
OptionalRenderOptionalRenderOptionalbackgroundOptionalpositionOptionalisTheme control - whether dark mode is active
OptionalenableEnable glassmorphism effects (modern UI)
OptionalrenderRender mode: modal (default overlay), sidebar (inline for desktop), inline (no wrapper)
OptionaltitleOptionaloverlayOptionalcontentOptionalheaderOptionaltitleOptionalbadgeOptionalbadgeOptionalcloseOptionalcloseOptionalbodyOptionalsearchOptionalsearchOptionallistsOptionalmoderatorOptionalattendeeOptionalemptyOptionalrenderOptionalrenderOptionalrenderOptionalrenderOptionalrender
Mutes a participant in a media session if the current member has the necessary permissions.