mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update dispatcher.py (#386)
This commit is contained in:
parent
d2cf737919
commit
7a2fb9779f
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
|
|||
|
||||
.. code-block:: python3
|
||||
|
||||
@dp.message_handler(rexexp='^[a-z]+-[0-9]+')
|
||||
@dp.message_handler(regexp='^[a-z]+-[0-9]+')
|
||||
async def msg_handler(message: types.Message):
|
||||
|
||||
Filter messages by command regular expression:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue