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>" 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) function url_encode(str)
if str then if str then
@ -66,7 +66,7 @@ function url_encode(str)
end) end)
str = str:gsub(" ", "+") str = str:gsub(" ", "+")
end end
return str return str
end end
function pageRequest(req, protocol) function pageRequest(req, protocol)

Loading…
Cancel
Save