Метод unbindRestEvents
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
238–271
~/bitrix/modulesim/lib/restbot.php
Исходный код
Сигнатура метода
public static function unbindRestEvents(int $botId, string $applicationToken): void
Возвращает:
void
Описание
Removes the bot's V2 webhook REST event subscriptions. No-op when another bot still owns the same APP_ID (custom token shared across bots).
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$botId
|
int
|
-
|
-
|
$applicationToken
|
string
|
-
|
-
|