15 lines
733 B
Python
Executable File
15 lines
733 B
Python
Executable File
from aiogram.types import ReplyKeyboardMarkup, KeyboardButton # , ReplyKeyboardRemove - нужен для удаления клавиатуры
|
||
|
||
|
||
b1 = KeyboardButton("/Start")
|
||
b2 = KeyboardButton("/bitcoin")
|
||
b3 = KeyboardButton("%х%у%й%")
|
||
b4 = KeyboardButton("Поделиться номером", request_contact=True)
|
||
b5 = KeyboardButton("Отправить где я ", request_location=True)
|
||
b6 = KeyboardButton("/Меню")
|
||
b7 = KeyboardButton("/погода")
|
||
b8 = KeyboardButton("/dice")
|
||
|
||
custom_kb_client = ReplyKeyboardMarkup(resize_keyboard=True) # one_time_keyboard=True - для одноразовости клавиатуры
|
||
custom_kb_client.add(b1).add(b2).insert(b3).insert(b6).row(b7, b4, b5, b8)
|