Метод explainRemainingMembership
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
117–129
~/bitrix/modulesim/lib/V2/Integration/AiAssistant/Tools/RemoveUserFromChatTool.php
Исходный код
Сигнатура метода
private function explainRemainingMembership(Bitrix\Im\V2\Chat $chat, int $targetUserId): string
Возвращает:
string
Описание
A member still in the chat has two causes now, and they call for opposite advice: the chat type can refuse the change, or the deletion went through and the check that follows it put a member the company structure holds back. Naming the first cause for the second one sends the user to a manager of an entity that refused nothing.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chat
|
Bitrix\Im\V2\Chat
|
-
|
-
|
$targetUserId
|
int
|
-
|
-
|