diff --git a/telegram/ext/_messagehandler.py b/telegram/ext/_messagehandler.py index 704647436..0e90635c3 100644 --- a/telegram/ext/_messagehandler.py +++ b/telegram/ext/_messagehandler.py @@ -76,7 +76,7 @@ class MessageHandler(BaseHandler[Update, CCT]): def __init__( self, - filters: filters_module.BaseFilter, + filters: Optional[filters_module.BaseFilter], callback: HandlerCallback[Update, CCT, RT], block: DVType[bool] = DEFAULT_TRUE, ):