- Implemented the initial version of the web interface. refactor: Begin Telegram bot refactoring - Started restructuring the bot’s code for better maintainability. chore: Migrate to Flask project structure - Reorganized the application to follow Flask's project structure. cleanup: Extensive code cleanup - Removed redundant code and improved readability. Signed-off-by: UdoChudo <stream@udochudo.ru>
10 lines
449 B
Python
10 lines
449 B
Python
# app/bot/keyboards/settings_menu.py
|
|
from telebot.types import ReplyKeyboardMarkup, KeyboardButton
|
|
|
|
def get_settings_menu():
|
|
markup = ReplyKeyboardMarkup(resize_keyboard=True)
|
|
markup.add(KeyboardButton("Подписаться"),KeyboardButton("Отписаться"))
|
|
markup.add(KeyboardButton("Мои подписки"),KeyboardButton("Режим уведомлений"))
|
|
markup.add(KeyboardButton("Назад"))
|
|
return markup
|