add new method for Router (#1117)

* add new method for Router

* add type hint, tests, changes file

* update tests

* Update aiogram/dispatcher/router.py

* Update tests/test_dispatcher/test_router.py

* Update router.py

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
This commit is contained in:
sheldy 2023-02-12 01:26:49 +02:00 committed by GitHub
parent e8d279c8f2
commit bac90c8fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 0 deletions

1
CHANGES/1117.feature.rst Normal file
View file

@ -0,0 +1 @@
Added a method that allows you to compactly register routers