You've already forked Travel-Agent
feat: Added travel deletion and added ability to add locations
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
__all__ = ("get",)
|
||||
|
||||
from aiogram import types
|
||||
from aiogram.utils.keyboard import InlineKeyboardBuilder
|
||||
|
||||
|
||||
def get():
|
||||
builder = InlineKeyboardBuilder()
|
||||
|
||||
builder.row(
|
||||
types.InlineKeyboardButton(
|
||||
text="Yes",
|
||||
callback_data="confirm_location",
|
||||
),
|
||||
types.InlineKeyboardButton(text="No", callback_data="cancel_location"),
|
||||
)
|
||||
|
||||
return builder.as_markup()
|
||||
Reference in New Issue
Block a user