I created my telegram bot, and it’s running successfully, but I need to keep it running till I closed my PC
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
You have to run it on a server. You can deploy it on Heroku for free (https://www.heroku.com/).
If you want to run it on your own computer (i.e. not on a server such as AWS or Heroku), you could look to daemonize your application. The easiest would be to use python-daemon.