This commit is contained in:
2025-06-08 20:55:08 +09:00
parent f7e0d17829
commit 7a75f79413
139 changed files with 10619 additions and 2340 deletions

View File

@@ -0,0 +1 @@
from . import markups

View File

@@ -0,0 +1,31 @@
from aiogram.types import ReplyKeyboardMarkup
back_message = '👈 Назад'
confirm_message = '✅ Подтвердить заказ'
all_right_message = 'Все верно'
cancel_message = '🚫 Отменить'
def confirm_markup():
markup = ReplyKeyboardMarkup(resize_keyboard=True, selective=True)
markup.add(confirm_message)
markup.add(back_message)
return markup
def back_markup():
markup = ReplyKeyboardMarkup(resize_keyboard=True, selective=True)
markup.add(back_message)
return markup
def check_markup():
markup = ReplyKeyboardMarkup(resize_keyboard=True, selective=True)
markup.row(back_message, all_right_message)
return markup
def submit_markup():
markup = ReplyKeyboardMarkup(resize_keyboard=True, selective=True)
markup.row(cancel_message, all_right_message)
return markup