init new bot

This commit is contained in:
ada-dmitry
2024-08-26 20:22:16 +03:00
parent 8208bd226e
commit 564398d0dd
1675 changed files with 164420 additions and 115 deletions
@@ -0,0 +1,14 @@
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