ShopBot/keyboard/default/ordering.py
2022-06-05 15:02:41 +03:00

12 lines
335 B
Python

from aiogram.types.reply_keyboard import ReplyKeyboardMarkup, KeyboardButton
from load import messages
def load_info(data:bool = False):
markup = ReplyKeyboardMarkup(resize_keyboard=True)
if data:
markup.row(KeyboardButton(messages.load_data))
markup.row(KeyboardButton(messages.rewrite_data))
return markup