Getting error ETELEGRAM:
400 Bad Request: message to react not found
I am using the node-telegram-bot API and trying to set a reaction to a message in the channel via the setMessageReaction method:
bot.setMessageReaction method('@channel_name', message_id, [
{type: 'emoji', emoji: '' },
])
But I get the following error:
ETELEGRAM: 400 Bad Request: message to react not found
What could be the reason if the message id is correct?
The problem isn't the permissions, but the emoji needs to be passed this way.