This is a template of telegram bot in python with pyTelegramBotApi, which support MongoDB connections and created to host free by heroku.
Clone repo:
git clone https://github.com/grnbows/python-mongo-telegram-bot-template.git
Then fill the fields in config.py
file.
Run bot:
Windows:
python bot.py
Linux/MacOS:
python3 bot.py
With respect and love,
by grnbows