2022-06-04 22:02:51 +03:00
|
|
|
from aiogram.types.reply_keyboard import ReplyKeyboardMarkup, KeyboardButton
|
|
|
|
|
|
|
|
from load import messages
|
|
|
|
|
2022-06-05 15:02:41 +03:00
|
|
|
|
2022-06-16 00:32:17 +03:00
|
|
|
def load_info(data: bool = False):
|
2022-06-04 22:02:51 +03:00
|
|
|
markup = ReplyKeyboardMarkup(resize_keyboard=True)
|
|
|
|
if data:
|
|
|
|
markup.row(KeyboardButton(messages.load_data))
|
|
|
|
markup.row(KeyboardButton(messages.rewrite_data))
|
|
|
|
return markup
|