How to listen when user react to message? #1186
-
From telegram api 7.0, MessageReactionUpdated added. |
Beta Was this translation helpful? Give feedback.
Answered by
danielperez9430
May 30, 2024
Replies: 1 comment
-
You need to include the This is a example of how to listing this event; bot.on('message_reaction', (msg) => {
const chatId = msg.chat.id;
console.log(msg);
bot.sendMessage(chatId, 'Received your reaction message');
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
danielperez9430
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to include the
message_reaction
in the list of theallowed_updates
listThis is a example of how to listing this event;