tg_bot/keyboards/AdminAnswerToBooking.py

14 lines
498 B
Python
Raw Normal View History

2024-12-06 14:20:29 +03:00
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))
],
]