feat: Added menu command
This commit is contained in:
1 parent
4ebd403d2e
commit
e7e6323c6c
5 files changed
+102
-5
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user