Answer the question
In order to leave comments, you need to log in
Does parse_mode work in InlineKeyboardButton?
parse_mode="HTML" not working in inlineKeyboardButton Aiogram
import aiogram.utils.markdown as fmt
@dp.message_handler(commands=['start'])
async def starts(message: types.Message, state: FSMContext):
recording_btn = InlineKeyboardButton(fmt.text(fmt.hunderline("1"), parse_mode="HTML"), callback_data="application")
call_back_btn = InlineKeyboardButton('2',callback_data="application")
my_records_btn = InlineKeyboardButton('3',callback_data="application")
print(message.from_user.id)
print(message)
record_keyboard = InlineKeyboardMarkup(resize_keyboard=True,one_time_keyboard=True).add(recording_btn).add(call_back_btn).add(my_records_btn)
await bot.send_message(message.from_user.id, "1", reply_markup=record_keyboard)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question