Метод postStopSystemMessage
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
95–116
~/bitrix/modulesim/lib/V2/Chat/Copilot/GenerationStopService.php
Исходный код
Сигнатура метода
public function postStopSystemMessage(Chat $chat, string $text): void
Возвращает:
void
Описание
Posts the stop notice as a plain "from System" message (author_id=0 => isSystem on clients), so web and mobile render it with their native system style. The phrase is owned by the caller (aiassistant) and passed in — im does not localize it here.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chat
|
Chat
|
-
|
-
|
$text
|
string
|
-
|
-
|