Aiogram 2.25.1 не работает callback_query_handler с inline кнопками
from aiogram import Bot, Dispatcher, types, executor
from aiogram.types import ReplyKeyboardMarkup, InlineKeyboardButton, InlineKeyboardMarkup
bot = Bot(token="token")
dp = Dispatcher(bot)
kbbk = InlineKeyboardMarkup(row_width=1).add(InlineKeyboardButton(text='tap on me', callback_data='www'))
@dp.message_handler(commands=['start'])
async def cmd_start(message: types.Message):
await message.answer('!', reply_markup=kbbk)
@dp.callback_query_handler()
async def cback(call: types.CallbackQuery):
if str(call.data) == 'www':
await bot.send_message(chat_id=call.from_user.id, text='adasdasd')
executor.start_polling(dp, skip_updates=True)
Источник: Stack Overflow на русском