feat: Added ability to change travel

This commit is contained in:
ITQ
2024-03-23 23:53:54 +03:00
parent 40ea9689ab
commit 02508ea9fd
9 changed files with 206 additions and 24 deletions
+11 -1
View File
@@ -17,6 +17,16 @@ def get(travel_id: int):
callback_data=f"travel_change_{travel_id}_description",
),
)
builder.row(
types.InlineKeyboardButton(
text="🗺️ Locations",
callback_data=f"travel_locations_{travel_id}",
),
types.InlineKeyboardButton(
text="👤 Users",
callback_data=f"travel_users_{travel_id}",
),
)
builder.row(
types.InlineKeyboardButton(
text=" Add location",
@@ -30,7 +40,7 @@ def get(travel_id: int):
builder.row(
types.InlineKeyboardButton(
text="⬅️",
callback_data="menu_travels",
callback_data="travels",
),
)