Такой код
class bindAccount(StatesGroup):
input_phone = State()
@dp.callback_query(StateFilter(None), F.data == "linkAccount")
async def linkAccount(callback: types.CallbackQuery, state: FSMContext):
await callback.message.answer(f"введите номер")
await state.set_state(bindAccount.input_phone)
@dp.message(F.text, bindAccount.input_phone)
async def tag_entered(message: Message, state: FSMContext):
print(1)
if re.compile(r'^[+]\\d+$').match(message.text) is None:
print(2)
message.answer("<b>Введите в формате +19998887766</b> ещё раз!")
print(3)
Такой вывод в консоль
INFO:aiogram.event:Update id=236347626 is handled. Duration 280 ms by bot id=7934833337
1
2
3
INFO:aiogram.event:Update id=236347627 is handled. Duration 0 ms by bot id=7934833337
Но бот не присылает сообщение, просто молчит.
Что делать?