leaveGroup method

Future<void> leaveGroup({
  1. required String groupId,
})

Implementation

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