- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/timeline/pusher.php
- Класс: Bitrix\Crm\Timeline\Pusher
- Вызов: Pusher::sendPullEvent
public function sendPullEvent(
int $targetEntityTypeId,
int $targetEntityId,
string $command,
array $historyDataModel = null
): void
{
$this->sendPullCommand(
$targetEntityTypeId,
$targetEntityId,
$command,
$historyDataModel ? [
'HISTORY_ITEM' => $historyDataModel,
] : []
);
}