changeGroupOwner method

Future<void> changeGroupOwner({
  1. required String groupId,
  2. required String newOwner,
})

Implementation

Future<void> changeGroupOwner({
  required String groupId,
  required String newOwner,
}) {
  return checkResult(ChatSDKEvent.changeGroupOwner, () {
    return Client.getInstance.groupManager.changeOwner(
      groupId,
      newOwner,
    );
  });
}