This is a webhook to broadcasts alerts to all Telegram active chats.
- Python 3.8 or higher
- pip
- Clone the repository
- Install the dependencies with pip:
pip install -r requirements.txt
1- Run the Webhook with the following command:
python main.py
2- Run the Bot backend (to register Users) with the following command:
python bot.py
3- Send a POST request to the /push-alert endpoint with the tools you want.
Request body example:
{
"message": "My alert !"
}