А
Size: a a a
А
D
Д
<Ч
A
def get_kb_main():
""" Главная клавиатура """
return ReplyKeyboardMarkup(
resize_keyboard=True,
keyboard=[
KeyboardButton(text_make_order),
[
KeyboardButton(text_profile),
KeyboardButton(text_orders)
],
[
KeyboardButton(text_about),
KeyboardButton(text_support)
]])
A
A
text_make_order = emojize("Сделать заказ 🔥")
text_profile = emojize("Профиль 👤")
text_orders = emojize("Заказы 📦")
text_about = "О проекте"
text_support = "Поддержка"
<Ч
A
A
@dp.message_handler(commands=["start"])
async def cmd_start(message: types.Message):
""" Обработка команды /start """
await message.answer(MESSAGES["START"], reply_markup=get_kb_main())
V
🤔T
A
AD
<Ч
🤔T
A
<Ч
A
V