1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-23 12:18:48 +02:00
Vitaly the Alpaca (bot) ab33d2f19d Main build (Jenkins)
2024-09-17 12:29:46 +03:00

738 B

sidebar_position
sidebar_position
4

Delete webhook

Deletes the bot event handler URL for webhook operation

Function DeleteWebhook(Val Token) Export

Parameter CLI option Type Description
Token --token String Bot token

Returns: Map Of KeyAndValue - Serialized JSON response from Telegram


    Token  = FunctionParameters["Telegram_Token"];
    Result = OPI_Telegram.DeleteWebhook(Token);
    
  oint telegram DeleteWebhook --token "6129457865:AAFyzNYOAFbu..."

{
  "ok": true,
  "result": true,
  "description": "Webhook was deleted"
  }