Метод resolveCollabAncestorId
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
259–279
~/bitrix/modulesim/lib/V2/Recent/PreviewSource/CollabPreviewSourcePointerService.php
Исходный код
Сигнатура метода
private function resolveCollabAncestorId(int $chatId): ?int
Возвращает:
?int
Описание
Resolves the collab ancestor one level up: the chat itself if it is a collab, otherwise its direct parent if that is a collab, else null. A chat two levels under a collab (thread) is deliberately not resolved, since only one level up is walked.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|