Developed by
As project for the Quality Development Course at UNICT.
The goal of the project is to develop a Telegram bot using the Python language to filter messages from one or more Telegram channels based on specific keywords entered by the user.
- Install the libraries needed first using the following command:
$ pip install -r requirements.txt
-
Create and populate .env file based on the provided .env.dist file.
You can obtain the bot token from @BotFather and the API HASH/ID by creating your own Telegram App -
Run the code using the following command:
$ python main.py
Run the following command in the main directory to obtain a report about pytest coverage
$ pytest --cov ./src ./tests