Update Telegram.xml

pull/1/head
AardCrowley 4 years ago
parent 1c6d874450
commit 5baf16202b

@ -56,7 +56,7 @@ chatID = <your chat ID>
apiToken = "<your bot token>"
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)

Loading…
Cancel
Save