set Participant Privilege To User
abstract fun setParticipantPrivilegeToUser(room: Room?, contact: IRainbowContact?, listener: IRoomProxy.IChangeUserRoomDataListener?)
Content copied to clipboard
Set the privilege of a participant to user (demote).
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 down to user
listener
IChangeUserRoomDataListener Callback (onChangeUserRoomDataSuccess and onChangeUserRoomDataFailed)