initial commit

This commit is contained in:
behruz-dev
2025-09-01 19:12:16 +05:00
commit ca7061bfe7
2880 changed files with 370683 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from abc import ABC
from aiogram.handlers import BaseHandler
from aiogram.types import InlineQuery, User
class InlineQueryHandler(BaseHandler[InlineQuery], ABC):
"""
Base class for inline query handlers
"""
@property
def from_user(self) -> User:
return self.event.from_user
@property
def query(self) -> str:
return self.event.query