I'm new in telegram bot building, the problem is, how is possible to send a message to the user if he does nothing for 12 hours, then send another one if he continues to do nothing? But if he clicks on the button in the message 4 for example, it skips message 5.
if call.data == 'GetLesson1':
bot.send_message(call.message.chat.id, mg.third_message, reply_markup=kb.check_exercise())
push_data.append(call.data)
if call.data == 'Exercise':
bot.send_message(call.message.chat.id, mg.sixth_message, reply_markup=kb.check_exercise())
time.sleep(54000)
if call.data is None:
bot.send_message(call.message.chat.id, mg.fourth_message, reply_markup=kb.check_exercise())
time.sleep(54000)
if call.data is None:
bot.send_message(call.message.chat.id, mg.fives_message, reply_markup=kb.check_exercise())