addGroupAdmin method

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

Implementation

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