deletePermissionGroupFromCommunity method

  1. @override
Future<V2TimValueCallback<List<V2TimPermissionGroupOperationResult>>> deletePermissionGroupFromCommunity({
  1. required String groupID,
  2. required List<String> permissionGroupIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimPermissionGroupOperationResult>>> deletePermissionGroupFromCommunity({
  required String groupID,
  required List<String> permissionGroupIDList,
}) async {
  return V2TimValueCallback<List<V2TimPermissionGroupOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deletePermissionGroupFromCommunity",
        buildCommunityManagerParam(
          {
            "groupID": groupID,
            "permissionGroupIDList": permissionGroupIDList,
          },
        ),
      ),
    ),
  );
}