deleteGroupAdmin method

Future<void> deleteGroupAdmin({
  1. required String groupId,
  2. required String memberId,
})

Implementation

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