• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Message/ReadService.php
  • Класс: BitrixImV2MessageReadService
  • Вызов: ReadService::setContext
public function setContext(?Context $context): self
{
	$this->defaultSetContext($context);
	$this->getCounterService()->setContext($context);
	$this->getViewedService()->setContext($context);

	return $this;
}