add user_hello dialog

This commit is contained in:
2025-09-23 14:19:50 +03:00
parent 656c8ac2c4
commit f043d5a0a7
8 changed files with 82 additions and 4 deletions

8
app/utils/getters.py Normal file
View File

@@ -0,0 +1,8 @@
from aiogram.types import User
from aiogram_dialog import DialogManager
async def username_getter(
dialog_manager: DialogManager, event_from_user: User, **kwargs
):
return {"username": event_from_user.username}