mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +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__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
filters: filters_module.BaseFilter,
|
filters: Optional[filters_module.BaseFilter],
|
||||||
callback: HandlerCallback[Update, CCT, RT],
|
callback: HandlerCallback[Update, CCT, RT],
|
||||||
block: DVType[bool] = DEFAULT_TRUE,
|
block: DVType[bool] = DEFAULT_TRUE,
|
||||||
):
|
):
|
||||||
|
|
Loading…
Add table
Reference in a new issue