transfer Group Owner
public abstract void transferGroupOwner(String groupId, String newOwnerId, boolean quitGroup, QuitGroupConfig config, IRongCoreCallback.OperationCallback callback)
Transfer group ownership
Parameters
group Id
The group ID.
new Owner Id
The user ID of the new group owner after the transfer.
quit Group
Whether to quit the group after the transfer.
config
Configuration for kicking out of the group. This parameter can be left empty, and the default configuration will be used. Note: This feature only takes effect when the user quits the group after the transfer. This configuration parameter is only effective when quitGroup is true. Refer to QuitGroupConfig
callback
The result of the operation is returned through this callback.