Skip to content

Commit

Permalink
Merge pull request #2251 from vehlwn/feature/missing-type-hints
Browse files Browse the repository at this point in the history
Add type hints to SimpleCustomFilter
  • Loading branch information
Badiboy authored May 1, 2024
2 parents 23e7caf + a7379a6 commit 2732944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/asyncio_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def check(self, message):

key: str = None

async def check(self, message):
async def check(self, message: types.Message) -> bool:
"""
Perform a check.
"""
Expand Down

0 comments on commit 2732944

Please sign in to comment.