• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Chat.php
  • Класс: BitrixImV2Chat
  • Вызов: Chat::startRecordVoice
public function startRecordVoice(): void
{
	if (!MainLoader::includeModule('pull'))
	{
		return;
	}

	$pushFormatter = new ImV2MessagePushFormat();
	Event::add($this->getUsersForPush(), $pushFormatter->formatStartRecordVoice($this));
}