@bot.callback_query_handler(func = lambda call: True)
def answer(call):
elif call.data == "back":
bot.delete_message(call.message.chat.id, "всё")
@bot.callback_query_handler(func=lambda call:True)
def answer(call):
if call.message:
if call.data == 'back':
bot.edit_message_text(chat_id=call.message.chat.id, message_id=call.message.id, text= 'всё')