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.

Telegram group
#8
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
Reply


Messages In This Thread
Telegram group - by CristianAgata - 03.08.2024, 15:19
RE: Telegram group - by CristianAgata - 03.08.2024, 16:56
RE: Telegram group - by AlexLV - 03.08.2024, 17:38
RE: Telegram group - by CristianAgata - 04.08.2024, 09:56
RE: Telegram group - by admin - 05.08.2024, 07:27
RE: Telegram group - by AlexLV - 05.01.2025, 21:14
RE: Telegram group - by admin - 06.01.2025, 07:21
RE: Telegram group - by AlexLV - 06.01.2025, 13:39
RE: Telegram group - by AlexLV - 07.01.2025, 14:28

Forum Jump: