mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Merge pull request #79 from Olegt0rr/fix_antiflood_example
Added other args for on_process_message()
This commit is contained in:
commit
61e0f3601d
1 changed files with 1 additions and 1 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, *args):
|
||||
"""
|
||||
This handler is called when dispatcher receives a message
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue