Метод getRelationUserIds
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
207–223
~/bitrix/modulesim/lib/V2/Integration/AiAssistant/Tools/AddUsersToChatTool.php
Исходный код
Сигнатура метода
private function getRelationUserIds(int $chatId, array $userIds): array
Возвращает:
array
Описание
Point query of the chat relations limited to the requested user ids. Hidden relations are excluded: Chat::addUsers() re-adds such a user by making the relation visible again, so for the before/after diff a hidden member counts as "not in the chat yet".
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|
$userIds
|
array
|
-
|
-
|