title: how to schedule a telegram bot to send a message?
body: <p>I am trying to create a Telegram bot that sends a message at a specific time, 5:30pm. However, the ways a was trying are not correct.</p>
  
  <p>I wanted to trigger send_message regarding to the time and without the necessity of the user to send any /command.</p>
  
  <pre><code>import telebot
  import datetime
  
  TOKEN = 'MyToken'
  bot = telebot.TeleBot(TOKEN)
  
  
  @bot.message_handler(commands=['start'])
  def send_welcome(message):
      message_id=message.chat.id
      bot.reply_to(message,"Welcome")
  
  
  bot.polling()
  </code></pre>
  
  <p>Until now I was trying to add something like that, of course it is not python but kind of pseudocode just to explain:</p>
  
  <pre><code>if currenttime=17:30
   send_message(idchat, "mymessage")
  </code></pre>
  
  <p>Thank you in advance.</p>