@bot.callback_query_handler(func=lambda call: True)
def callback_inline(call):
try:
if call.message:
if call.data == "callback data":
markup = types.InlineKeyboardMarkup(row_width=2)
button1 = types.InlineKeyboardButton("кнопка", callback_data='button')
markup.add(button1)
bot.send_message(message.chat.id, 'сообщение', reply_markup=markup)
if call.data == 'button':
# ...