@dp.message_handler(commands=['start'])
async def exit_system(message: types.Message, state: FSMContext):
# await state.reset_state(with_data=True) # Holatni tozalash
await message.answer("Xizmat turini tanlang", Answer_markup=InlineKeyboardMarkup(inline_keyboard=[
[
InlineKeyboardButton(text="
],
[ InlineKeyboardButton(text="
async def answer_regitration(call: types.CallbackQuery):
print(call.data)
logging.info(f"{call.from_user.id} {call.from_user.full_name} {call.data}")
await call.message.answer("Telegram raqamingizni yuboring.", reply_markup=keyboard)
await Learning.zero.set()```
Подробнее здесь: https://stackoverflow.com/questions/797 ... ng-happens