()
| 7 | bot = telebot.TeleBot(TELEGRAM_TOKEN) |
| 8 | |
| 9 | def gen_markup(): |
| 10 | markup = InlineKeyboardMarkup() |
| 11 | markup.row_width = 2 |
| 12 | markup.add(InlineKeyboardButton("Yes", callback_data="cb_yes"), |
| 13 | InlineKeyboardButton("No", callback_data="cb_no")) |
| 14 | return markup |
| 15 | |
| 16 | @bot.callback_query_handler(func=lambda call: True) |
| 17 | def callback_query(call): |
no test coverage detected
searching dependent graphs…