Метод exceedsChatComposition
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
28–36
~/bitrix/modulesim/lib/V2/Folder/FolderLimits.php
Исходный код
Сигнатура метода
public static function exceedsChatComposition(array $chatIds, array $dialogIds): bool
Возвращает:
bool
Описание
Guards the raw requested composition size BEFORE dialogId resolution, so an over-limit request is rejected without ever creating private chats for the surplus ids (a huge dialogIds list must never spawn chats it can never fit into the folder). The count is a dedup upper bound across both id forms (a chatId and its numeric dialogId twin may double-count) — it can only reject earlier, never later.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatIds
|
array
|
-
|
-
|
$dialogIds
|
array
|
-
|
-
|