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

	return $authorId;
}