Метод onCommandAdd

public static

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

public static function onCommandAdd($messageId, $messageFields): bool

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

Описание

Keyboard-command handler for the "manager summary" button. Static bool contract (@see \Bitrix\ImBot\Bot\Base); refusals and errors are a silent no-op returning true - never throws out to the command dispatcher.

Параметры

2
Имя Тип По умолчанию Флаги
$messageId — —
—
$messageFields — —
—

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

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

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

Исходный код

PHP