create event
This commit is contained in:
8
app/bot/dialogs/flows/new_event/getters.py
Normal file
8
app/bot/dialogs/flows/new_event/getters.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from aiogram.types import User
|
||||
from aiogram_dialog import DialogManager
|
||||
|
||||
|
||||
async def event_data_getter(
|
||||
dialog_manager: DialogManager, event_from_user: User, **kwargs
|
||||
):
|
||||
return {"event_obj": dialog_manager.dialog_data["event_obj"]}
|
||||
Reference in New Issue
Block a user