Метод resolveBotIdByCode
Сигнатура метода
private function resolveBotIdByCode(string $botCode): ?int
Возвращает:
?int
Описание
Id of the bot the reserved code belongs to, or null when no such bot exists.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$botCode
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/BotCleanup.php
Расположение метода в файле
Строки
456–470