How to use kickedOut() function to remove all participants from the meeting?

Is there any way to use the kickedOut function in another file apart from main conference.js file

    room.on(JitsiConferenceEvents.KICKED, participant => {, participant));

So It takes two parameters but I need to know what this first parameter room variable means & how to access this from other files like for example: toolbar.js

Currently I’m using kickParticipant for removing everyone out of the meeting but it doesn’t remove everyone and my other moderator is still retained in the meeting…

This is this event.

1 Like

Thanks a lot…