[Python] Is accessing details of message replied from another chat possible

Discussão em 'Python' iniciado por Stack, Julho 14, 2025.

  1. Stack

    Stack Membro Participativo

    I am using the python-telegram-bot package to develop a Telegram bot.

    I was wondering if it's possible to access the details of a message that has been replied to from another chat?

    Broader explanation:

    When a user in a group click on a someone else's message and choose reply in another chat, and goes to a bot and writes some text and sends it to the bot, is it possible to track the original message and know details like id of group/supergroup, id of original user, message id of original message and so on?

    I tried: update.effective_message.reply_to_message and update.effective_message.forward_origin. Both seem to return None.

    Continue reading...

Compartilhe esta Página