Receiving Messages and Buttons #6
Replies: 4 comments 2 replies
-
Hello @mikolajzawadzki
good luck! |
Beta Was this translation helpful? Give feedback.
-
It seems that I may have phrased my question poorly and asked it in a way that was too broad. My apologies for that. I am specifically interested in communication with bots on Telegram. Could you please take a look at my workflow and guide me on where I might be making a mistake? I'm logging in as a user and want to receive messages from a Telegram bot. Here's my example: [{"id":"c2725f3a92f1395f","type":"telegram client receiver","z":"e0f7c6eee4580964","name":"from bot test","bot":"f26912c50cb14023","sendrawevents":true,"sendnewmessage":false,"sendeditedmessage":false,"senddeletedmessage":false,"sendalbum":false,"sendcallbackquery":false,"x":750,"y":1120,"wires":[["bce811e49b16b59e"]]},{"id":"c73611046ca72228","type":"debug","z":"e0f7c6eee4580964","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1380,"y":1120,"wires":[]},{"id":"bce811e49b16b59e","type":"switch","z":"e0f7c6eee4580964","name":"from https://t.me/hyper_trade_bot","property":"payload.peer.userId","propertyType":"msg","rules":[{"t":"eq","v":"6543763138","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":1070,"y":1120,"wires":[["c73611046ca72228"]]},{"id":"f26912c50cb14023","type":"telegram client config","botname":"mikowhy","verboselogging":true,"loginmode":"user","useproxy":false,"usewss":false,"host":"","sockstype":"5","port":"6667","username":"anonymous","password":"","secret":"","mtproxy":false,"timeout":"2"}] I'm unable to receive any message content from the bot. I've tried configuring the telegram client receiver node in various ways, but to no avail. In the Debug, I only have this information: {"type":"Raw","payload":{"peer":{"userId":"6543763138","className":"PeerUser"},"maxId":180352,"pts":400685,"ptsCount":1,"className":"UpdateReadHistoryOutbox"},"_msgid":"d6f5e04d866dfd09"}
{"type":"Raw","payload":{"flags":0,"folderId":null,"peer":{"userId":"6543763138","className":"PeerUser"},"maxId":180353,"stillUnreadCount":0,"pts":400687,"ptsCount":1,"className":"UpdateReadHistoryInbox"},"_msgid":"d16e12f884e8b06e"} I have asked whether it is possible to receive messages from a bot because I can't configure it in a way that allows me to see any content of the messages the bot sends. |
Beta Was this translation helpful? Give feedback.
-
I have a question regarding the repository where I'm posting this query. It concerns the node-red-node-telegrambot and not the node-red-contrib-telegrambot repository. My objective is to have Node-RED interact with an existing bot on my behalf, with me logged in as a user. My issue is that I'm uncertain about how to retrieve message content from the bot. Could you please guide me on how to achieve this? |
Beta Was this translation helpful? Give feedback.
-
Yes. The basic functionalities are working fine without any issues. I can send and receive messages from other users. However, what I'm unable to do is:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I am currently working on a project using node-red-node-telegrambot, and I have encountered a challenge with receiving messages and button interactions from a Telegram bot.
My goal is to configure the
telegram client receiver
node to listen for and process messages and button clicks (inline keyboard) sent by the bot to a user. However, I am not sure how to set up the node correctly to capture these interactions, especially the button clicks.Could you please provide guidance on the following points:
telegram client receiver
node to receive messages sent by the bot to a user?telegram client receiver
node? If so, how can this be achieved?I would appreciate any examples or documentation you could share that would assist me in setting up these functionalities.
Thank you for your time and assistance. I look forward to your response.
Best regards,
Miko
Beta Was this translation helpful? Give feedback.
All reactions