Метод abortBatchByIds

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 241–245
~/bitrix/modulesim/lib/V2/Integration/AI/TaskCreation/MultipleMessagesCreator.php

Исходный код

PHP
public static

Сигнатура метода

public static function abortBatchByIds(array $messageIds, int $userId, ?MessageCollection $messages = null): void

Возвращает: void

Описание

Aborts the batch from a static context (transcription barrier / queue job): deletes the dedup record and sends the initiator a terminal status, so the magic panel closes. The status anchor is resolved from the surviving collection, falling back to the formal anchor id when the whole selection is gone.

Параметры

3
Имя Тип По умолчанию Флаги
$messageIds array -
-
$userId int -
-
$messages ?MessageCollection null
-