mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
611 B
611 B
ShippingQueryHandler
There is base class for callback query handlers.
Simple usage:
from aiogram.handlers import ShippingQueryHandler
...
@router.shipping_query_handler()
class MyHandler(ShippingQueryHandler):
async def handle(self) -> Any: ...
Extension
This base handler is subclass of BaseHandler with some extensions:
self.from_useris alias forself.event.from_user