sfx-tg-bot/fsm/fsm.py

23 строки
659 B
Python

from aiogram.dispatcher.filters.state import StatesGroup, State
class FSM(StatesGroup):
start = State()
select_category = State()
select_subcategory = State()
select_date = State()
select_time_range = State()
input_email_address = State()
input_phone_number = State()
input_comment = State()
confirm_order = State()
success_sign_up = State()
select_order = State()
no_orders = State()
select_operation = State()
reschedule_order_select_date = State()
reschedule_order_select_time_range = State()
success_reschedule_order = State()
cancel_order = State()
success_cancel_order = State()