Update router.rst

Fix typo error in docs
This commit is contained in:
Daniil 2022-10-11 19:23:47 +03:00 committed by GitHub
parent 2429e4a1ac
commit 0bf578e3fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ Inline query
.. code-block:: python
@router.inline_query()
async def inline_query_handler(inline_query: types.Message) -> Any: pass
async def inline_query_handler(inline_query: types.InlineQuery) -> Any: pass
Chosen inline query
-------------------