This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

SpaceLYnk Telegram
#3
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!
Reply


Messages In This Thread
SpaceLYnk Telegram - by adiaz - 12.03.2020, 14:41
RE: SpaceLYnk Telegram - by Joep - 12.03.2020, 14:50
RE: SpaceLYnk Telegram - by adiaz - 12.03.2020, 15:15

Forum Jump: