Skip to content

Commit

Permalink
Fix Type Hint for filters Parameter of MessageHandler (#4039)
Browse files Browse the repository at this point in the history
  • Loading branch information
Palaptin committed Jan 1, 2024
1 parent 57c2f6e commit c33c541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/ext/_messagehandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def callback(update: Update, context: CallbackContext)

def __init__(
self,
filters: filters_module.BaseFilter,
filters: Optional[filters_module.BaseFilter],
callback: HandlerCallback[Update, CCT, RT],
block: DVType[bool] = DEFAULT_TRUE,
):
Expand Down

0 comments on commit c33c541

Please sign in to comment.