refactor(handler): rename observers

Rename observers but with backward compatibility, relevant documentation
This commit is contained in:
mpa 2020-05-10 03:02:31 +04:00
parent b097680f3c
commit 4124770b0e
21 changed files with 297 additions and 110 deletions

View file

@ -7,7 +7,7 @@ from aiogram.handlers import InlineQueryHandler
...
@router.inline_query_handler()
@router.inline_query()
class MyHandler(InlineQueryHandler):
async def handle(self) -> Any: ...