Telegram Group Message Recorder is a bot designed to monitor and record messages from a specific Telegram group. It offers the following features:
- Record every message from a specific Telegram group locally.
- Automatically generate a daily summary of the group's messages.
- Send the daily summary to another group when called upon.
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd TG-recorder
- Install the required Python packages:
pip install -r requirements.txt
Before using the bot, certain configurations are required:
-
Rename
config_sample.py
toconfig.py
. -
Fill in the required details in
config.py
, which include:API_ID
andAPI_HASH
: Obtain these from Telegram's developer portal.SESSION_STRING
: This string is required for the bot to authenticate and access Telegram.PROXY
: If you're in a region where Telegram is blocked, specify your proxy settings here.
- Start the bot:
python main.py
-
The bot will now monitor the specific group you've set it up for and will record all messages.
-
Every day at 8:00 PM, the bot will automatically send a summary of that day's messages to the designated group.
If you encounter any issues:
- Ensure you have the correct
API_ID
,API_HASH
, andSESSION_STRING
. - Ensure your proxy settings are correct if you're using one.
- Check the error logs for more specific issues and consider raising an issue on GitHub.
Feel free to fork this project and submit pull requests. All contributions are welcome!
This project is licensed under the MIT License. See the LICENSE
file for more details.