Hi, I add my existing bot into new group, when trying send command message, I see such log:
* arg: 1
* string: receive error
* arg: 2
* string: error:0A000126:SSL routines::unexpected eof while reading
from resident tgread script:
function callback(text, userid, username)
log(text, userid, username)
if (text == "AlexOn") then
grp.write('0/2/3', 1)
end
if (text == "AlexOff") then
grp.write('0/2/3', 0)
end
if (text == "TeraseOn") then
grp.write('0/4/4', 1)
end
if (text == "TeraseOff") then
grp.write('0/4/4', 0)
end
end
token = 'here my token'
require('user.tgupdates')(token, callback)
What I did wrong? Of course I changed group id to new, Also I see incoming messages from SL in group, I receive error in SL when trying to send command message from group
Alex
* arg: 1
* string: receive error
* arg: 2
* string: error:0A000126:SSL routines::unexpected eof while reading
from resident tgread script:
function callback(text, userid, username)
log(text, userid, username)
if (text == "AlexOn") then
grp.write('0/2/3', 1)
end
if (text == "AlexOff") then
grp.write('0/2/3', 0)
end
if (text == "TeraseOn") then
grp.write('0/4/4', 1)
end
if (text == "TeraseOff") then
grp.write('0/4/4', 0)
end
end
token = 'here my token'
require('user.tgupdates')(token, callback)
What I did wrong? Of course I changed group id to new, Also I see incoming messages from SL in group, I receive error in SL when trying to send command message from group
Alex