mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
689 B
689 B
ChosenInlineResultHandler
There is base class for chosen inline result handlers.
Simple usage:
from aiogram.handlers import ChosenInlineResultHandler
...
@router.chosen_inline_result()
class MyHandler(ChosenInlineResultHandler):
async def handle(self) -> Any: ...
Extension
This base handler is subclass of BaseHandler with some extensions:
self.chatis alias forself.event.chatself.from_useris alias forself.event.from_user