all the project copy
This commit is contained in:
48
telepot/keyboards.py
Normal file
48
telepot/keyboards.py
Normal file
@@ -0,0 +1,48 @@
|
||||
import telepot
|
||||
from telepot.loop import MessageLoop
|
||||
from telepot.namedtuple import InlineKeyboardMarkup, InlineKeyboardButton, ReplyKeyboardMarkup, KeyboardButton
|
||||
|
||||
|
||||
|
||||
|
||||
def getKeyboard():
|
||||
keyboard = ReplyKeyboardMarkup(
|
||||
keyboard=[
|
||||
[KeyboardButton(text="🖍 Crea filtro x Competenze")
|
||||
, KeyboardButton(text="📦 Crea filtro x Prodotto")
|
||||
,KeyboardButton(text="📌 I mie filtri")
|
||||
]
|
||||
,
|
||||
[
|
||||
KeyboardButton(text="✖ Cancella filtro")
|
||||
, KeyboardButton(text="👥 Crea filtro x Area")
|
||||
, KeyboardButton(text="👥 Crea filtro x Sott.Area")
|
||||
# KeyboardButton(text="🗂 Ticket ultimi 20")
|
||||
]
|
||||
,
|
||||
[
|
||||
KeyboardButton(text="💜 Preferiti")
|
||||
]
|
||||
]
|
||||
)
|
||||
return keyboard
|
||||
|
||||
|
||||
def getFilterKeyboard():
|
||||
keyboard = ReplyKeyboardMarkup(
|
||||
keyboard=[
|
||||
[KeyboardButton(text="+ Filtro x competenze")
|
||||
, KeyboardButton(text="+ Filtro x Cliente")
|
||||
]
|
||||
|
||||
]
|
||||
)
|
||||
return keyboard
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user