Метод recomputeCollabPreviewSourceOnRead
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
154–177
~/bitrix/modulesim/lib/V2/Reading/RecentReader.php
Исходный код
Сигнатура метода
public function recomputeCollabPreviewSourceOnRead(Chat $readChat, int $userId): void
Возвращает:
void
Описание
Recomputes the preview-source pointer of the just-read chat's collab ancestor for this user only, then pushes the refreshed preview over the Pull stream. No-op when the feature flag is off or the read chat has no collab ancestor.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$readChat
|
Chat
|
-
|
-
|
$userId
|
int
|
-
|
-
|