Метод isStorageAssociatedWithChat

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 2658–2687
~/bitrix/modulesim/classes/general/im_disk.php

Исходный код

PHP
protected static

Сигнатура метода

protected static function isStorageAssociatedWithChat(int $storageId): bool

Возвращает: bool

Описание

Checks if the given storage is associated with a chat. A storage is considered associated with a chat if it is either the default messenger storage or if it belongs to a collab, as the collab and its chat share the same storage.

Параметры

1
Имя Тип По умолчанию Флаги
$storageId int -
-