...Человеческий поиск в разработке...
- Модуль: im
- Путь к файлу: ~/bitrix/modules/im/lib/call/integration/abstractentity.php
- Класс: BitrixImCallIntegrationAbstractEntity
- Вызов: AbstractEntity::checkAccess
public function checkAccess(int $userId): bool; abstract public function getChatId(); abstract public function getUsers(); abstract public function getName($currentUserId); abstract public function onUserAdd($userId); abstract public function onStateChange($state, $prevState); public function toArray($currentUserId = 0) { if($currentUserId == 0) { $currentUserId = $this->initiatorId; } return [ 'type' => $this->getEntityType(), 'id' => $this->getEntityId($currentUserId), 'name' => $this->getName($currentUserId) ]; }