I have able to make a bot very easily by reading the docs but Jobqueue is not working as per it is written. The run_daily
method uses a datetime.time
object to send the message at a particular time but this code neither does its job of sending a message nor shows any errors. It just keeps running
import datetimefrom telegram import botfrom telegram.ext import Updaterdef callback_minute(bot, job):bot.send_message(chat_id=475838704, text='PlEaSe wOrK!')def main():updater = Updater()bot = updater.botjob = updater.job_queuedispatcher = updater.dispatcherjob.run_daily(callback_minute, time=datetime.time(6,33,00))updater.start_polling()updater.idle()if __name__ == '__main__':main()