...Человеческий поиск в разработке...
- Модуль: im
- Путь к файлу: ~/bitrix/modules/im/lib/call/integration/zoom.php
- Класс: BitrixImCallIntegrationZoom
- Вызов: Zoom::__construct
public function __construct(int $userId, string $chatId) { global $USER; if($userId === null) { if(is_object($USER) && $USER->IsAuthorized()) { $this->userId = $USER->GetID(); } } else { $this->userId = $userId; } if (BitrixImCommon::isChatId($chatId)) { $this->chatType = self::GROUP_CHAT; $this->chatId = BitrixImDialog::getChatId($chatId); } else { $this->chatType = self::PERSONAL_CHAT; $this->chatId = $chatId; } $this->zoomChatName = $this->prepareZoomChatName($chatId); $accessToken = $this->getAccessToken(); if ($accessToken) { $this->accessToken = $accessToken; } }