Files
shveitechbot/misc/states.py
2026-08-13 12:03:56 +07:00

28 lines
580 B
Python

from aiogram.fsm.state import State, StatesGroup
class CheckoutStorage(StatesGroup):
name = State()
phone = State()
address = State()
confirmation = State()
class PaymentStorage(StatesGroup):
refresh = State()
class SearchStorage(StatesGroup):
query = State()
class AdminControlStorage(StatesGroup):
edit_product = State()
edit_product_photo = State()
edit_category = State()
new_category = State()
new_product_name = State()
new_product_description = State()
new_product_price = State()
new_product_photo = State()