modifyTopicPermissionInPermissionGroup method

  1. @override
Future<V2TimValueCallback<List<V2TimTopicOperationResult>>> modifyTopicPermissionInPermissionGroup({
  1. required String groupID,
  2. required String permissionGroupID,
  3. required Map<String, int> topicPermissionMap,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimTopicOperationResult>>> modifyTopicPermissionInPermissionGroup({
  required String groupID,
  required String permissionGroupID,
  required Map<String, int> topicPermissionMap,
}) async {
  return V2TimValueCallback<List<V2TimTopicOperationResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "modifyTopicPermissionInPermissionGroup",
        buildCommunityManagerParam(
          {
            "groupID": groupID,
            "permissionGroupID": permissionGroupID,
            "topicPermissionMap": topicPermissionMap,
          },
        ),
      ),
    ),
  );
}