removeCommunityMembersFromPermissionGroup method

  1. @override
Future<V2TimValueCallback<List<V2TimPermissionGroupMemberOperationResult>>> removeCommunityMembersFromPermissionGroup({
  1. required String groupID,
  2. required String permissionGroupID,
  3. required List<String> memberList,
})
override

Implementation

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