Обновление 4.2
This commit is contained in:
15
BotCode/routers/survey/states.py
Normal file
15
BotCode/routers/survey/states.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from enum import StrEnum
|
||||
from aiogram.fsm.state import StatesGroup, State
|
||||
|
||||
class Survey(StatesGroup):
|
||||
full_name = State()
|
||||
age = State()
|
||||
email = State()
|
||||
sport = State()
|
||||
email_newsletter = State()
|
||||
|
||||
|
||||
class Sports(StrEnum):
|
||||
tennis = "Теннис"
|
||||
football = "Футбол"
|
||||
fomula_one = "Гонки"
|
||||
Reference in New Issue
Block a user