регистратор
def register_handlers_other(dp: Dispatcher):
dp.register_message_handler(start, commands=['start'])
dp.register_callback_query_handler(go_team, lambda call: call.data == 'GO')
dp.register_callback_query_handler(reg_start, lambda call: call.data == 'GO1', state=None)
dp.register_callback_query_handler(where, lambda call: True, state=FSMReg.where)
dp.register_message_handler(experience, state=FSMReg.experience)
dp.register_callback_query_handler(accept, lambda call: True)
dp.register_callback_query_handler(trading, lambda call: call.data == '11')
dp.register_message_handler(start1, text='Главное меню')
кнопка
ikb2 = InlineKeyboardMarkup(row_width=3)
but = InlineKeyboardButton(text='Trading', callback_data='11')
ikb2.add(but)
функция
async def trading(call):
if call.data == '11':
await bot.send_message(chat_id=call.from_user.id, text='fff')