Метод openDiscussionChatForSender

protected static

Сигнатура метода

protected static function openDiscussionChatForSender(int $senderId, string $dialogId): void

Возвращает: void

Описание

Transport boundary for the auto-open: asks the clicking manager's active client to open the discussion chat via the im pull event. The event class is guarded because module updates are not atomic (im may still be an older version) - when it is missing the chat is created but not auto-opened (logged no-op), never a fatal. Isolated as an overridable seam so the gating in onCommandAdd can be tested without raising a real pull.

Параметры

2
Имя Тип По умолчанию Флаги
$senderId int —
—
$dialogId string —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/integration/imbot/bizprocbot.php
Расположение метода в файле
Строки 399–441

Исходный код

PHP