mirror of
https://github.com/koloideal/Quizzi.git
synced 2026-06-10 10:25:28 +03:00
39 lines
883 B
Python
39 lines
883 B
Python
from aiogram.fsm.state import State, StatesGroup
|
|
|
|
|
|
class CreatorMenuSG(StatesGroup):
|
|
main = State()
|
|
|
|
|
|
class CreatorUsersSG(StatesGroup):
|
|
users_list = State()
|
|
users_input = State()
|
|
user_detail = State()
|
|
make_admin_confirm = State()
|
|
|
|
|
|
class CreatorTestsSG(StatesGroup):
|
|
tests_list = State()
|
|
|
|
|
|
class CreatorBroadcastSG(StatesGroup):
|
|
broadcast_input = State()
|
|
broadcast_confirm = State()
|
|
|
|
|
|
class CreateTestSG(StatesGroup):
|
|
input_title = State()
|
|
input_description = State()
|
|
input_password = State()
|
|
input_expires_at = State()
|
|
input_for_group = State()
|
|
confirm_test_info = State()
|
|
add_question = State()
|
|
input_question_text = State()
|
|
select_question_type = State()
|
|
input_correct_answer = State()
|
|
input_options = State()
|
|
mark_correct_options = State()
|
|
confirm_question = State()
|
|
test_created = State()
|