Minimal telegram bot example
This is trivial bot example. Each part can be replaced keeping the overall structure the same
How to start
-
Edit code in a correspoing way
-
Upadte
pip
andsetuptools
packages
pip install -U setuptools pip
- Install bot
pip install .
For development install it via command
pip install -e .[test,lint]
-
Create and fill
bot.ini
file (example) -
Start bot to check
tgbot
- Edit systemd service file and copy it to a proper location