getTopicPermissionInPermissionGroup method

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

Implementation

@override
Future<V2TimValueCallback<List<V2TimTopicPermissionResult>>> getTopicPermissionInPermissionGroup({
  required String groupID,
  required String permissionGroupID,
  required List<String> topicIDList,
}) async {
  return V2TimValueCallback<List<V2TimTopicPermissionResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getTopicPermissionInPermissionGroup",
        buildCommunityManagerParam(
          {
            "groupID": groupID,
            "permissionGroupID": permissionGroupID,
            "topicIDList": topicIDList,
          },
        ),
      ),
    ),
  );
}