Метод getChatCounter
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
98–125
~/bitrix/modulesim/lib/V2/Integration/AiAssistant/Tools/GetUnreadCountersTool.php
Исходный код
Сигнатура метода
private function getChatCounter(int $userId, string $dialogId, ImToolContext $context, ImToolFormatter $formatter): array
Возвращает:
array
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$dialogId
|
string
|
-
|
-
|
$context
|
ImToolContext
|
-
|
-
|
$formatter
|
ImToolFormatter
|
-
|
-
|