12.03.2020, 15:15
Network is OK.
Code used is:
local telegram_url = 'https://api.telegram.org/'..token_bot..'/sendMessage?'
function telegram(message)
local data_str = 'chat_id=' .. chat_id .. '&text=' .. message..''
local res, code, headers, status = ssl.https.request(telegram_url, data_str)
log (res,code,headers,status)
end
Log Response:
* arg: 1
* nil
* arg: 2
* string: error:1409442E:lib(20):func(148):reason(1070)
* arg: 3
* nil
* arg: 4
* nil
Not working!
Thanks!
Code used is:
local telegram_url = 'https://api.telegram.org/'..token_bot..'/sendMessage?'
function telegram(message)
local data_str = 'chat_id=' .. chat_id .. '&text=' .. message..''
local res, code, headers, status = ssl.https.request(telegram_url, data_str)
log (res,code,headers,status)
end
Log Response:
* arg: 1
* nil
* arg: 2
* string: error:1409442E:lib(20):func(148):reason(1070)
* arg: 3
* nil
* arg: 4
* nil
Not working!
Thanks!