add user_hello dialog
This commit is contained in:
8
app/utils/getters.py
Normal file
8
app/utils/getters.py
Normal 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}
|
||||
Reference in New Issue
Block a user