first commit
This commit is contained in:
14
bot.0.1/keybords/client_kb.py
Executable file
14
bot.0.1/keybords/client_kb.py
Executable file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user