|
|
@ -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
|
|
|
|