-
Notifications
You must be signed in to change notification settings - Fork 7
/
keyboards.py
42 lines (30 loc) · 1.68 KB
/
keyboards.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Импортируем из библиотеки aiogram все нужное
from aiogram.types import ReplyKeyboardRemove, \
ReplyKeyboardMarkup, KeyboardButton, \
InlineKeyboardMarkup, InlineKeyboardButton
# Кнопка "Кошелёк"
btn_wallet = InlineKeyboardButton
## Кнопка "Пополнить" и кнопка "Вывести"
btn_top_up = InlineKeyboardButton('Пополнить', callback_data='btn_top_up')
btn_withdraw = InlineKeyboardButton('Вывести', callback_data='btn_withdraw')
## Кнопка Рефералы"
btn_referrals = InlineKeyboardButton('Рефералы', callback_data='btn_referrals')
## Кнопка "Уведомления"
btn_notifications = InlineKeyboardButton('🛎 Уведомления', callback_data='btn_notifications')
## Кнопка "Донат"
btn_donate = InlineKeyboardButton('💸 Донат', callback_data='btn_donate')
## Кнопка "Маркет"
btn_market = InlineKeyboardButton('Маркет', callback_data='btn_market')
## Кнопка "Настройки"
btn_settings = InlineKeyboardButton('Настройки', callback_data='btn_settings')
## Ветвь "Админ"
btn_mailing = InlineKeyboardButton('Рассылка', callback_data='btn_mailing')
# Клавиатуры
kb_menu = InlineKeyboardMarkup().add(btn_wallet, btn_market, btn_donate, btn_settings)
kb_wallet = InlineKeyboardMarkup().row(btn_top_up, btn_withdraw)
kb_referrals = InlineKeyboardMarkup
kb_notifications = InlineKeyboardMarkup
kb_market = InlineKeyboardMarkup
kb_donate = InlineKeyboardMarkup
kb_settings = InlineKeyboardMarkup().add(btn_notifications, btn_referrals)
kb_admin = InlineKeyboardMarkup()