addGroupBlockList method

Future<void> addGroupBlockList({
  1. required String groupId,
  2. required List<String> members,
})

Implementation

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