Метод getExistingPrivateChatId
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
97–113
~/bitrix/modulesim/lib/V2/Integration/AiAssistant/Tools/Support/ImToolContext.php
Исходный код
Сигнатура метода
private function getExistingPrivateChatId(int $userId, int $opponentId): int
Возвращает:
int
Описание
Returns the id of an already existing private chat with the given user, never creating one.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$opponentId
|
int
|
-
|
-
|