transferGroupOwner

public void transferGroupOwner(String newOwnerId, boolean quitGroup, LeaveGroupConfig config)

Transfers group ownership.

Since

5.12.2

Parameters

newOwnerId

the new owner's user ID

quitGroup

whether to quit the group after transfer

config

the leave group configuration