Метод getMessagesBeforeUnread
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
545–575
~/bitrix/modulesim/lib/chat.php
Исходный код
Сигнатура метода
private static function getMessagesBeforeUnread(array $chatData, int $userId, int $limit, array $options): array
Возвращает:
array
Описание
Reads the messages already seen by the user, right below the unread window. Returns messages in DESC order, ready to be appended to the reversed unread window.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatData
|
array
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$limit
|
int
|
-
|
-
|
$options
|
array
|
-
|
-
|