-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarkup.py
30 lines (21 loc) · 1.08 KB
/
markup.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
from telebot import types
kb_shop = types.InlineKeyboardButton(text='Перейти в магазин', callback_data='shop')
kb_help = types.InlineKeyboardButton(text='Консультация специалиста', callback_data='help')
kb_smartphones = types.InlineKeyboardButton(text='Смартфоны', callback_data='smartphones')
kb_accessories = types.InlineKeyboardButton(text='Умные устройства', callback_data='accessories')
kb_modems = types.InlineKeyboardButton(text='Роутеры', callback_data='modems')
kb = types.InlineKeyboardMarkup()
kb.add(kb_shop, kb_help)
kb1 = types.InlineKeyboardMarkup()
kb1.add(kb_shop)
kb_shop = types.InlineKeyboardMarkup()
kb_shop.add(kb_smartphones, kb_accessories, kb_modems)
kb_smartphones = types.InlineKeyboardMarkup()
kb_smartphones.add(kb_accessories, kb_modems)
kb_smartphones.add(kb_help)
kb_accessories = types.InlineKeyboardMarkup()
kb_accessories.add(kb_smartphones, kb_modems)
kb_accessories.add(kb_help)
kb_modems = types.InlineKeyboardMarkup()
kb_modems.add(kb_smartphones, kb_accessories)
kb_modems.add(kb_help)