setParticipantPrivilegeToGuest

abstract fun setParticipantPrivilegeToGuest(room: Room?, contact: IRainbowContact?, listener: IRoomProxy.IChangeUserRoomDataListener?)

Set the privilege of a participant to guest.

It is only possible if the connected user itself is moderator or owner of the bubble.

Parameters

room

@object:Room The bubble

contact

@object:IRainbowContact The contact to set privilege to guest

listener

IChangeUserRoomDataListener Callback (onChangeUserRoomDataSuccess and onChangeUserRoomDataFailed)