From 5baf16202b07898361eb9b41852072c0cdda1cdd Mon Sep 17 00:00:00 2001 From: AardCrowley <12467582+AardCrowley@users.noreply.github.com> Date: Thu, 20 Aug 2020 11:30:51 -0400 Subject: [PATCH] Update Telegram.xml --- Telegram.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram.xml b/Telegram.xml index daeee52..b90a85d 100644 --- a/Telegram.xml +++ b/Telegram.xml @@ -56,7 +56,7 @@ chatID = apiToken = "" -alertFormat = "https://api.telegram.org/" .. apiToken .. "/sendMessage?chat_id=" .. chatID .. "&text=%s" +alertFormat = "https://api.telegram.org/bot" .. apiToken .. "/sendMessage?chat_id=" .. chatID .. "&text=%s" function url_encode(str) if str then @@ -66,7 +66,7 @@ function url_encode(str) end) str = str:gsub(" ", "+") end - return str + return str end function pageRequest(req, protocol)