I want to use telegram messages in my projects, as I see it as easy and free way to recieve updates on my phone.There is a catch tho.
I downloaded node-red-contrib-telegrambot (15.0.1) Created bot via @BotFather on Telegram.
I stared a chat with my new bot, so I cloud get a chatID via api/getResponse.
Than, after setting up my node, I an getting and error: "TypeError: Cannot read properties of null (reading 'botname')".
My config clearle contains botname, in this case SKOiotBot. The same thing happens if I create a different bot. Any tips?
Config info:
Thanks for the tip, but I already tried those options but no change whatsoever. I dont mind getting this bot spammed as I will create a new one and I am not able to connect to this one anyway. But I get your point.
OK, so have you tried restarting Node-RED and rebooting your Raspberry PI ??
It should look like this when the Bot connects.
To isolate all the other parts of your flow, you could try placing the Telegram node on a flow (in a new tab) with nothing else there?
Does it connect?
You might need to disable the original Telegram node or even delete it (whilst you check things out).