From 0b8f37f19b162b0b99ce0e28656f4c212d0302c4 Mon Sep 17 00:00:00 2001 From: ivacom Date: Tue, 3 Sep 2024 06:50:32 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20se?= =?UTF-8?q?tWebhook.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setWebhook.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 setWebhook.sh diff --git a/setWebhook.sh b/setWebhook.sh deleted file mode 100644 index acf0fe5..0000000 --- a/setWebhook.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -TOKEN="" -URL="bill.DOMAIN.ru" -SHM_TEMPLATE="telegram_bot" - -curl https://api.telegram.org/bot${TOKEN}/deleteWebhook?drop_pending_updates=True - -curl -X POST \ - -H 'content-type: application/json' \ - https://api.telegram.org/bot${TOKEN}/setWebhook \ - -d " -{ - \"url\": \"https://$URL/shm/v1/telegram/bot/$SHM_TEMPLATE\", - \"allowed_updates\": [] -}"