• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Chat.php
  • Класс: BitrixImV2Chat
  • Вызов: Chat::setContext
public function setContext(?Context $context): self
{
	$this->defaultSaveContext($context);
	$this->getReadService()->setContext($context);
	$this->role = null;

	return $this;
}