How can a bot find out that a reaction emoji was left in a Telegram channel post? telebot python
I need the bot to understand that they left a reaction in the post and display in the console what type of reaction they gave, for example, heart, like, dislike, and I need this to work through the telebot library in python, please help, I don’t understand at all how this can be done. I tried to read data from a message, something like "message.reaction", but I got an error saying that there is no "reaction". import telebot bot = telebot.TeleBot('token') @bot.message_handler(func=lambda message: True) def handle_reaction(message): print(message.reaction) bot.polling() AttributeError: 'Message'
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.