https://github.com/stkr2/autosavemediauser
AutoSaveMediaUser is a lightweight Telegram script that automatically saves self-destructing photos and videos from private chats to Saved Messages before they disappear. Built with Pyrogram for fast and secure media backup.
https://github.com/stkr2/autosavemediauser
pyrogram pyrogram-userbot self-destruct telegram
Last synced: 10 months ago
JSON representation
AutoSaveMediaUser is a lightweight Telegram script that automatically saves self-destructing photos and videos from private chats to Saved Messages before they disappear. Built with Pyrogram for fast and secure media backup.
- Host: GitHub
- URL: https://github.com/stkr2/autosavemediauser
- Owner: STKR2
- Created: 2025-03-15T23:48:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T00:13:21.000Z (10 months ago)
- Last Synced: 2025-03-16T00:25:15.553Z (10 months ago)
- Topics: pyrogram, pyrogram-userbot, self-destruct, telegram
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎥 AutoSaveMediaUser – Automatically Save Telegram Media
A **simple and efficient** Telegram script built with **Pyrogram**.
🚀 Designed to **automatically save all received photos and videos** in private chats to your **Saved Messages** for quick and easy access.
---
## 🌟 Features
🔹 **Auto-Save Media self-destruct** – Instantly saves all received photos and videos.
🔹 **Works in Private Chats** – Automatically handles media sent by users.
🔹 **Runs on Your Account** – No need for a bot, uses your personal Telegram account.
🔹 **Lightweight & Fast** – Optimized for minimal resource usage.
🔹 **Easy to Set Up** – Just configure your API details and run the script.
---
## 🛠Deployment Options
### 🚀 **1- Click Deploy on Heroku**
Deploy instantly on **Heroku** by clicking the button below:
[](https://heroku.com/deploy?template=https://github.com/STKR2/AutoSaveMediaUser)
🔗 **Visit Heroku:** [https://www.heroku.com](https://www.heroku.com)
---
### 🖥 **Manual Deployment (VPS or Local Machine)**
#### **Step 1: Install Dependencies**
Make sure you have **Python 3.8+** installed, then run:
```sh
git clone https://github.com/STKR2/AutoSaveMediaUser.git
cd AutoSaveMediaUser
pip install -r requirements.txt
```
#### **Step 3: Run the Script**
```sh
python3 bot.py
```
---
## **🛡 Security Notice**
🚨 **Use this script responsibly**. It runs on your personal Telegram account, so keep your API credentials private.