new bot structure

This commit is contained in:
2025-09-25 13:22:14 +03:00
parent f043d5a0a7
commit 8c801eb66e
22 changed files with 85 additions and 47 deletions

View File

@@ -0,0 +1,14 @@
from aiogram_dialog import Dialog, Window
from aiogram_dialog.widgets.text import Format
from app.bot.dialogs.widgets.getters import username_getter
from .states import StartSG
start_dialog = Dialog(
Window(
Format("Hello, {username}"),
getter=username_getter,
state=StartSG.start,
)
)