Метод processMessagesBatch
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
581–722
~/bitrix/modulesim/lib/chat.php
Исходный код
Сигнатура метода
private static function processMessagesBatch(array $ids, array $order, array $chatData, int $userId, array $options, bool $collectUsersFiles): array
Возвращает:
array
Описание
Builds the payload of a message batch: text, params, disappearing date and link attachments. Authors, chat users and files are collected only when $collectUsersFiles is set.
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$ids
|
array
|
-
|
-
|
$order
|
array
|
-
|
-
|
$chatData
|
array
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$options
|
array
|
-
|
-
|
$collectUsersFiles
|
bool
|
-
|
-
|