addTopicPermissionToPermissionGroup method

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

Implementation

Future<V2TimValueCallback<List<V2TimTopicOperationResult>>> addTopicPermissionToPermissionGroup({
  required String groupID,
  required String permissionGroupID,
  required Map<String, int> topicPermissionMap,
}) async {
  return TencentCloudChatSdkPlatform.instance.addTopicPermissionToPermissionGroup(
    groupID: groupID,
    permissionGroupID: permissionGroupID,
    topicPermissionMap: topicPermissionMap,
  );
}