• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/userpause.php
  • Класс: BitrixImOpenLinesUserPause
  • Вызов: UserPause::__construct
public function __construct(int $userId = 0)
{
	if (!$userId)
	{
		$userId = BitrixImUser::getInstance()->getId();
	}

	$this->userId = $userId;
	$this->options = new Option($this->userId);
}