first
This commit is contained in:
13
keyboards/AdminAnswerToBooking.py
Normal file
13
keyboards/AdminAnswerToBooking.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from bot.Keyboard import Keyboard
|
||||
from telegram import InlineKeyboardButton, InlineKeyboardMarkup
|
||||
|
||||
class AdminAnswerToBooking(Keyboard):
|
||||
|
||||
def get_keyboard(self):
|
||||
book_id = self.get_option("book_id")
|
||||
return [
|
||||
[
|
||||
InlineKeyboardButton("Принять", callback_data="accept={book_id}".format(book_id=book_id)),
|
||||
# InlineKeyboardButton("Ответить", callback_data="answer={book_id}".format(book_id=book_id))
|
||||
],
|
||||
]
|
Reference in New Issue
Block a user