Третий коммит, добавление share, share_kb, а также ADMIN_ID

This commit is contained in:
2025-07-22 13:50:14 +03:00
parent 849feb7beb
commit b98123f4dc
1479 changed files with 323549 additions and 11 deletions

View File

@@ -0,0 +1,19 @@
from abc import ABC
from typing import List
from aiogram.handlers import BaseHandler
from aiogram.types import Poll, PollOption
class PollHandler(BaseHandler[Poll], ABC):
"""
Base class for poll handlers
"""
@property
def question(self) -> str:
return self.event.question
@property
def options(self) -> List[PollOption]:
return self.event.options