35 'command' =>
'informMessage',
36 'params' => $pushFormat->formatPrivateMessage($message, $chat),
37 'extra' => \Bitrix\Im\Common::getPullExtra(),
40 $pullMessageTo = $pullMessage;
41 $pullMessageTo[
'params'][
'dialogId'] = $fromUserId;
43 if ($fromUserId != $toUserId)
45 \Bitrix\Pull\Event::add($toUserId, $pullMessageTo);