- create a bot in telegram using botfather
- get the API token and create a config.cfg file from the config-example.cfg file and add the api key there
- create a virtual environment using python3 pip using the command
python3 -m venv telegramchatbot
- activate the created environment using
source telegramchatbot/bin/activate
- install all the libs from requirements.txt file using
pip install -r requirements.txt
- run
python server.py
to run the server - to deactivate the environment run
deactivate
feel free to fork and give PRs, follow contributing.md