Метод reserveBotCodes
Сигнатура метода
private function reserveBotCodes(int $templateId): void
Возвращает:
void
Описание
Reserves the codes of the bots the copy is going to create. A code that already holds a bot is not reserved: such a bot is an external dependency of the agent and is never owned or deleted by this API. The codes themselves come from the standard extractor, which resolves the reference to the copy of the template.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки
1498–1537