mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Fix Type Hint for filters
Parameter of MessageHandler
(#4039)
This commit is contained in:
parent
57c2f6e01e
commit
c33c541cbe
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
):
|
||||
|
|
Loading…
Reference in a new issue