Skeleton for python-telegram-bot In this repository you'll find a skeleton for building complex telegram bot using the python-telegram-bot library.
Things to read/know:
- Heroku getting started with Python
- Heroku CLI - Not required but very usefull
- Basic knowledge with git
Things you need:
- A token for your bot from @BotFather
For questions regarding python-telegram-bot please use our telegram group.
- Register an account on heroku.
- Use this template
- Open
https://heroku.com/deploy?template=https://github.com/<your username>/<your repo name>/
- Fill BOT_TOKEN and APP_URL
- Deploy app
Next step for auto deployment from github
- Open heroku Dashboard
- Click your app name.
- Click Deploy
- Deployment method select GitHub / Connect to GitHub
- Search your repo-name
- Click Connect
- Choose a branch to deploy (usually main branch)
- Finally, Click Enable Automatic Deploy