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