mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
Default filters
This commit is contained in:
parent
1ca0be538b
commit
b4ecc421e4
3 changed files with 15 additions and 4 deletions
|
|
@ -345,9 +345,6 @@ class Dispatcher:
|
|||
:param state:
|
||||
:return: decorated function
|
||||
"""
|
||||
if content_types is None:
|
||||
content_types = ContentType.TEXT
|
||||
|
||||
filters_set = self.filters_factory.resolve(self.message_handlers,
|
||||
*custom_filters,
|
||||
commands=commands,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue