Python-telegram-bot: [BUG] MessageHandler stopped working

Created on 20 Dec 2019  路  4Comments  路  Source: python-telegram-bot/python-telegram-bot

Steps to reproduce

  1. Run Example from https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/echobot2.py
  2. Send command --> Notice it echos
  3. Send regular message --> No response occurs

Expected behaviour

Should echo text as described.

Actual behaviour

Nothing occurred, but for /command messages everything works

Configuration

Operating System:
Mac0S Mojave with Python 3.7

Version of Python, python-telegram-bot & dependencies:
Python 3.7

$ python -m telegram
python-telegram-bot 12.2.0
certifi 2019.09.11
future 0.17.1
Python 3.7.4 (v3.7.4:e09359112e,

Logs

Insert logs here (if necessary)

bug

Most helpful comment

Then this article will provide some inside why its not echoing: https://core.telegram.org/bots/faq#what-messages-will-my-bot-get

In short, make the bot admin or disable privacy. You need to re-add the bot in the second case though

All 4 comments

@psytron are you testing this in a group?

Yes I am

Then this article will provide some inside why its not echoing: https://core.telegram.org/bots/faq#what-messages-will-my-bot-get

In short, make the bot admin or disable privacy. You need to re-add the bot in the second case though

Wow Thanks @Poolitzer !!

Was this page helpful?
0 / 5 - 0 ratings