Метод getFileIdByTemplateId
Сигнатура метода
public static function getFileIdByTemplateId(int $templateId): ?int
Возвращает:
?int
Описание
Freshly saved b_file id for the update path (Bot::update accepts an int id only), or null. A new copy is saved on every call on purpose: sharing an id is unsafe because Bot::update deletes the previous avatar file.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/integration/imbot/aiagentbotavatar.php
Расположение метода в файле
Строки
88–99