Posts: 324
Threads: 60
Joined: Dec 2019
Reputation:
13
Hi community,
I need to create telegram company group where send LM5 notifications. Someone has already done?
My will it is send event notifications simultaneously at 10 users.
I already thanks all can help me.
Best regards Cristian
Posts: 350
Threads: 79
Joined: Jun 2017
Reputation:
7
Hi,
is possible more in detail describe how to find new created group ID? In same places I also found that bot should be added into new group. Also I open web telegram, try to find group id there. With group ID I taken from web telegram message was not sent. Log:
* arg: 1
* string: {"ok":false,"error_code":400,"description":"Bad Request: chat not found"}
* arg: 2
* number: 400
BR, Alex
Posts: 7876
Threads: 42
Joined: Jun 2015
Reputation:
450
You must add your bot to the group first.
Posts: 350
Threads: 79
Joined: Jun 2017
Reputation:
7
06.01.2025, 13:39
(This post was last modified: 06.01.2025, 13:51 by AlexLV.)
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