You've already forked Travel-Agent
feat: Added menu command
This commit is contained in:
@@ -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