@bot.message_handler(commands=['go'])
def mess (message):
time.sleep(1)
bot.send_message (message.chat.id, "Привет")
bot.register_next_step_handler (message, deleted)
def deleted (message):
for far in range ((message.message_id-1), message.message_id):
bot.delete_message(message.chat.id, far)
mess(message)