[Python] How to detect when I react to a message using Telethon?

Discussão em 'Python' iniciado por Stack, Maio 12, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to detect when I react to a message using Telethon. I tried using UpdateMessageReactions inside events.Raw, but it only triggers when someone else reacts to my messages — and only if I've seen the message. However, I want to detect when I react to messages (sent by others). Is there a reliable way to do this?

    @client.on(events.Raw(UpdateMessageReactions))
    async def handler(event):
    print(event)

    Continue reading...

Compartilhe esta Página