• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Chat.php
  • Класс: BitrixImV2Chat
  • Вызов: Chat::getMarkedId
public function getMarkedId(): int
{
	if (!isset($this->markedId))
	{
		$this->markedId = ImRecent::getMarkedId($this->getContext()->getUserId(), $this->getType(), $this->getDialogId());
	}

	return $this->markedId;
}