Closed dadino closed 3 years ago
Since this is using node-telegram-bot-api under the hood, you need to follow their API for deleting a message. Unfortunately it doesn't seem like you can do this with the current version of node-red-contrib-telegrambot-home.
I've issued a new release that adds support for deleteMessage via the payload node.
Maybe in the future it would be nice to have a fully generic "send" method where you could send the raw Telegram API payload, rather than having to translate to node-telegram-bot-api's API. But unfortunately I don't have time for that at the moment.
I'm trying to delete a message using the payload node, passing this msg with a function
But all I'm getting is this response:
"empty arguments after parsing payload"
.Here are my test nodes (replace my_chat_id with your id and my_telegram_bot with the name of your bot):
delete message can be found here: https://core.telegram.org/bots/api#deletemessage