• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Message.php
  • Класс: BitrixImV2Message
  • Вызов: Message::processChangeNotifyEvent
public function processChangeNotifyEvent(?string $notifyEvent): ?string
{
	if ($notifyEvent === Notify::EVENT_PRIVATE_SYSTEM)
	{
		$this->markAsSystem(true);
	}

	return $notifyEvent;
}