Метод bindRestEvents
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
192–228
~/bitrix/modulesim/lib/restbot.php
Исходный код
Сигнатура метода
public static function bindRestEvents(int $botId, string $webhookUrl, string $clientId): void
Возвращает:
void
Описание
Subscribes the bot to the V2 webhook REST events under the given clientId.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$botId
|
int
|
-
|
-
|
$webhookUrl
|
string
|
-
|
-
|
$clientId
|
string
|
-
|
-
|