October 5
вАбоавыфа
from aiogram import types from aiogram.fsm.context import FSMContext from aiogram import Router # Импортируем функцию start_command from registration import start_command router = Router() # Обработчик для калбека "main_menu" @router.callback_query(lambda callback_query: callback_query.data == "main_menu") async def return_to_main_menu(callback_query: types.CallbackQuery, state: FSMContext): # Вызываем функцию start_command await start_command(callback_query.message, state)