params): Promise<void>Demotes a participant from “member” to “audience”. See join and promote.
Object containing the parameters of the method.
Id of the member to affect. If omitted, affects the current member.
Specifies the media that the client will be allowed to receive. An audience participant cannot send any media.
Promise<void>
room.member.demoteYou need to specify the permissions when creating the Video Room Token on the server side.