mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix filters.
This commit is contained in:
parent
c153fcfe8d
commit
2e2d9ea433
3 changed files with 5 additions and 7 deletions
|
|
@ -46,7 +46,7 @@ class ThrottlingMiddleware(BaseMiddleware):
|
|||
self.prefix = key_prefix
|
||||
super(ThrottlingMiddleware, self).__init__()
|
||||
|
||||
async def on_process_message(self, message: types.Message):
|
||||
async def on_process_message(self, message: types.Message, data: dict):
|
||||
"""
|
||||
This handler is called when dispatcher receives a message
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue