windkh / node-red-contrib-telegrambot

Telegram bot nodes for node-red.
Other
262 stars 116 forks source link

dont get al messages #213

Closed higgis-daax closed 2 years ago

higgis-daax commented 2 years ago

when I write something to my bot I get it in node red but if node red send to my bot I do not get that message in node red. Can you set that node red gets / can read all messages in the group?

windkh commented 2 years ago

Does the echo example work? To allow reading all messages from a group you must set the privacy mode using botfather https://core.telegram.org/bots#privacy-mode

higgis-daax commented 2 years ago

if I send a message to my bot or group, I get node red to send the same message back. But if I send a message via node red, I can not get this via debug.

What I tried to do is to be able to automatically send different messages to node red via bags with different commands, but when these do not come up, I got stuck :-(

I have set my group to public and my bot to enabel.

Den tis 28 sep. 2021 kl 21:15 skrev Karl-Heinz Wind < @.***>:

Does the echo example work? To allow reading all messages from a group you must set the privacy mode using botfather https://core.telegram.org/bots#privacy-mode

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/windkh/node-red-contrib-telegrambot/issues/213#issuecomment-929549465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOS7YYF2QMD4TA5QANWMLR3UEIH4HANCNFSM5E6D5OHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

windkh commented 2 years ago

Have you tried the examples in the example folder?

windkh commented 2 years ago

There are plenty of tutorial videos on youtube that show you step by step what to do

higgis-daax commented 2 years ago

Have watched most of the youtube clips :-)

If I write a message to myself in the group, node red reacts to this and in the chat it comes to "right" then I can get node red to send this back and what I get back ends up on "left".

If I send another message to the group via bags or node red, it ends up directly to the "left" and node red does not seem to know that I have received a new message.

Den tis 28 sep. 2021 kl 21:34 skrev Karl-Heinz Wind < @.***>:

There are plenty of tutorial videos on youtube that show you step by step what to do

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/windkh/node-red-contrib-telegrambot/issues/213#issuecomment-929562520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOS7YYCRW7PIVK7VJCKFN7TUEIKD7ANCNFSM5E6D5OHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

windkh commented 2 years ago

I do not really what you mean with "...and node red does not seem to know that I have received a new message."

and secondly what is "bags" ???

higgis-daax commented 2 years ago

sorry is googel translate :-)

I have tried and read more today and what I understand is the problem that when I send a message to the group it is via one of my bots and you can not what I understand make it "read" what a bot has sent. And that's why it's only come up if I myself sit and write the message.

Den ons 29 sep. 2021 kl 15:10 skrev Karl-Heinz Wind < @.***>:

I do not really what you mean with "...and node red does not seem to know that I have received a new message."

and secondly what is "bags" ???

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/windkh/node-red-contrib-telegrambot/issues/213#issuecomment-930160845, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOS7YYBUKVXPOCG2P62RJKTUEMF4ZANCNFSM5E6D5OHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

windkh commented 2 years ago

yes that is correct. The bot acts like a real person in a chat.