22 lines
612 B
Python
22 lines
612 B
Python
from aiogram.types import ReplyKeyboardMarkup, KeyboardButton
|
|
|
|
|
|
def get_main_menu() -> ReplyKeyboardMarkup:
|
|
"""Create main menu keyboard."""
|
|
keyboard = [
|
|
[
|
|
KeyboardButton(text="📊 Мои марафоны"),
|
|
KeyboardButton(text="📈 Статистика")
|
|
],
|
|
[
|
|
KeyboardButton(text="⚙️ Настройки"),
|
|
KeyboardButton(text="❓ Помощь")
|
|
]
|
|
]
|
|
|
|
return ReplyKeyboardMarkup(
|
|
keyboard=keyboard,
|
|
resize_keyboard=True,
|
|
input_field_placeholder="Выбери действие..."
|
|
)
|