Can we send a Poll on Telegram using the node-red-contrib-telegrambot pallete?

For sending simple messages, I assign msg.payload.content ; type ; chatid properties. Now i am exploring whether we can send Polls using Node Red.

Problem 1 - I tried to read the telegram bot documentation and I tried out few things. So if we set the property "type" to "poll" and answers as an array, a Poll can be sent. But I am unable to assign properties such as questions, anonymity, etc.

Problem 2 - If I chose an answer option of the "incomplete" Poll the bot sent, I am unable to grab that answer from the receiver node. Nothing comes out of the Reciever Node.

Please help. Thanks

There is a fully working demo in the examples...

ctrl+I --> examples...

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.