TELEGRAM MESSAGE ARCHIVER
The Telegram Message Archiver is a Python script designed to archive messages received or sent by the Telegram Alerts script. It listens for messages from the Telegram Alerts script and stores them locally for future reference or analysis. This tool is useful for maintaining a record of Telegram messages related to alerts or notifications generated by other scripts or systems.
FEATURES
- Automatically archives messages from the Telegram Alerts script.
- Stores message details locally in a text file for easy retrieval.
- Can be run continuously as a background service or scheduled task.
USAGE
-
Install Dependencies: Ensure you have Python installed on your system. Additionally, make sure to install any required Python packages by running:
pip install -r requirements.txt
-
Configure Telegram Alerts: Ensure that your Telegram Alerts script is configured to forward messages to the archiver. You may need to modify the Telegram Alerts script to include functionality for message forwarding.
-
Run the Archiver: Execute the
telegram_message_archiver.py
script to start archiving messages. You can run the script using the following command:python telegram_message_archiver.py
-
Access Archived Messages: The archived messages will be stored in the
telegram_message_archive.txt
file in the root directory of the project. You can access this file to view the archived messages at any time.
CONTRIBUTIONS
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or create a pull request.
LICENSE
This project is licensed under the MIT License - see the LICENSE file for details.