Oops. Include lost files

This commit is contained in:
Alex Root Junior 2021-02-07 18:50:26 +02:00
parent 8a94dde7fb
commit 66f0868f45
16 changed files with 619 additions and 0 deletions

View file

@ -0,0 +1,27 @@
==================
InlineQueryHandler
==================
There is base class for inline query handlers.
Simple usage
============
.. code-block:: python
from aiogram.handlers import InlineQueryHandler
...
@router.inline_query()
class MyHandler(InlineQueryHandler):
async def handle(self) -> Any: ...
Extension
=========
This base handler is subclass of :ref:`BaseHandler <cbh-base-handler>` with some extensions:
- :code:`self.chat` is alias for :code:`self.event.chat`
- :code:`self.query` is alias for :code:`self.event.query`