04.08.2020, 09:03
(This post was last modified: 04.08.2020, 09:04 by phongvucba.)
Hi everybody ! I have shortened the following code to send a message! But it didn't work, I used LM5 RIO2E version 20170620, it still started at first, it doesn't work anymore.
I have tried the telegram bot on the web browser and it still works.
Is there any wrong code in my code?
Please everyone help. !
----------------------------
http= require('ssl.https')
socket.http.timeout = 10
noidung = 'Báo%20động%20có%20người%20đột%20nhập%20qua%20cửa%20sổ!'
local ip=http.request('https://api.telegram.org/bot.../sendmessage?chat_id=-731524114&text='..noidung..'')
log('dfdgdfgdfgdfg=' .. ip)
----------------------
I have tried the telegram bot on the web browser and it still works.
Is there any wrong code in my code?
Please everyone help. !
----------------------------
http= require('ssl.https')
socket.http.timeout = 10
noidung = 'Báo%20động%20có%20người%20đột%20nhập%20qua%20cửa%20sổ!'
local ip=http.request('https://api.telegram.org/bot.../sendmessage?chat_id=-731524114&text='..noidung..'')
log('dfdgdfgdfgdfg=' .. ip)
----------------------