feat: Added menu command

This commit is contained in:
ITQ
2024-03-22 11:02:43 +03:00
parent 4ebd403d2e
commit e7e6323c6c
5 changed files with 102 additions and 5 deletions
+31
View File
@@ -0,0 +1,31 @@
__all__ = ("get",)
from aiogram import types
from aiogram.utils.keyboard import InlineKeyboardBuilder
def get():
builder = InlineKeyboardBuilder()
builder.row(
types.InlineKeyboardButton(
text="👤 Profile",
callback_data="menu_profile",
),
types.InlineKeyboardButton(
text=" Create travel",
callback_data="menu_create_travel",
),
)
builder.row(
types.InlineKeyboardButton(
text="📃 Travels",
callback_data="menu_travels",
),
types.InlineKeyboardButton(
text="🔵 Temp",
callback_data="menu_temp",
),
)
return builder.as_markup()