deleteTopicPermissionFromPermissionGroup method

  1. @override
Future<V2TimValueCallback<List<V2TimTopicOperationResult>>> deleteTopicPermissionFromPermissionGroup({
  1. required String groupID,
  2. required String permissionGroupID,
  3. required List<String> topicIDList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimTopicOperationResult>>> deleteTopicPermissionFromPermissionGroup({
  required String groupID,
  required String permissionGroupID,
  required List<String> topicIDList,
}) async {
  Map<String, dynamic> param = {
    "groupID": groupID,
    "permissionGroupID": permissionGroupID,
    "topicIDList": topicIDList,
  };
  var resp = V2TimValueCallback<List<V2TimTopicOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deleteTopicPermissionFromPermissionGroup",
        buildCommunityManagerParam(
          param,
        ),
      ),
    ),
  );
  log("deleteTopicPermissionFromPermissionGroup", param, resp.toLogString());
  return resp;
}