1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
Files
AdministrationItDepartmens/.venv2/Lib/site-packages/aiogram/handlers/shipping_query.py
2024-12-31 02:37:57 +06:00

15 lines
314 B
Python

from abc import ABC
from aiogram.handlers import BaseHandler
from aiogram.types import ShippingQuery, User
class ShippingQueryHandler(BaseHandler[ShippingQuery], ABC):
"""
Base class for shipping query handlers
"""
@property
def from_user(self) -> User:
return self.event.from_user