diff --git a/docs/dispatcher/router.rst b/docs/dispatcher/router.rst index 617c1f89..40d91769 100644 --- a/docs/dispatcher/router.rst +++ b/docs/dispatcher/router.rst @@ -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 -------------------