🇬🇧 This will just save your group files to a Channel & will provide a link to retrieve your file.
🇹🇷 Bu sadece grup dosyalarınızı bir Kanala kaydedecek ve dosyanızı almak için bir bağlantı sağlayacaktır.
🔥 Repo: HuzunluArtemis/AutoGroupPrivateChatFilesStoreBot
🇬🇧 if you forward/send me any media/file, i can create a public link for you. I will send the file you sent me to anyone who clicks on the link i created.
🇹🇷 bana bir medya/dosya iletir ya da gönderirseniz genel bir bağlantı oluşturabilirim. oluşturacağım bağlantıya kim tıklarsa ona, bana gönderdiğin dosyayı/medyayı gönderirim.
Features
- Saves document, video and audio in group. (dont forget to add bot to your group)
- Saves document, video, audio, photo and voice in bot’s private chat (if enabled)
- Save Permanently your Group Files
- Save Permanently your Private Files
- Auto delete or not delete saved files
- Ability for saving anonymously to db
- Ability for sending files anonymously to user
- Forcing to Join Channel
- Set custom minimum size for files
- Set custom Blocked extensions
- Set custom url-prefix
- Custom auto-delete time
- Delete message (saved-info) sent by bot with custom time
- Delete file (saved-file) sent by bot with custom time
- Custom auto-kick banned user time
- Custom start message
- Compatible with PublicLeech-like leechers (edit as video)
- Compatible with TorToolkit-like leechers (send new video)
- Send links with bot instead of user. (helps hiding user)
- Auth groups or users or use public
- Run in only bot mode. (Just dont fill user-session)
Setting up config file
BOT_TOKEN: Telegram Bot Token. Example:3asd2a2sd32:As56das65d2as:ASd2a6s3d26asAPP_ID: Telegram App ID. Example:32523453API_HASH: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1dasSTRING_SESSION: Telegram session string. Example:3asd2a2sd32:As56das65d2as:ASd2a6s3d26asDB_CHANNEL_ID: Files storing channel id. Example:-10062626626or@HuzunluArtemisFORCE_SUB_CHANNEL: Force subscribing channel. Example:-10062626626or@HuzunluArtemisMONGODB_URI: MongoDB database url. Set ip from everywhere. Example:mongodb+srv://s:s@xcv.mongodb.net/g?df=true&w=hgBLOCKED_EXTENSIONS: This extensions not will be stored. Example:rar 7z pngBOT_USERNAME: Your bot’s username. without @. Example:SaverBotMIN_FILE_SIZE: For example, if it is 20, files smaller than 20 mb will not be stored. Default is0SEND_AS_COPY: Send as copy to user. Will help for copyright shits. Default:TrueSAVE_AS_COPY: Save as copy to db. Will help for copyright shits. Default:TrueCONTACT_ADRESS: Your contacting adress. Example:@Contactgroupor@ContactbotURL_PREFIX: URL’s prefix. For example forHA: your link will be:t.me/abbot?start=HA_6266AUTO_DELETE: Auto-deleting enabled or disabled. Default:TrueAUTO_DELETE_TIME: Auto-deleting seconds for saved files. Example:10AUTO_KICK_TIME: Auto-kick seconds for banned users. Example:10ACCEPT_FROM_PRIVATE: Accepting backup from bot’s private. Example:FalseSTART_MESSAGE: Set custom start message. Example:Bot is running and up.DELETE_SENT_MESSAGE: Delete message (saved-info) sent by bot. Example:TrueDefault isFalseDELETE_SENT_MESSAGE_TIME: Set custom seconds for delete “saved-info” messages. Default is60DELETE_SENT_FILE: Delete file (saved-file) sent by bot. Example:TrueDefault isFalseDELETE_SENT_FILE_TIME: Set custom seconds for delete bot’s sent files. Default is60SKIP_SAVED_INFO_MESSAGE: Skip saved info message like “Your file saved into db…” Default isFalseUSE_BUTTON_FOR_LINK: Create messages with button. Default isTrueBUTTON_FOR_LINK_STR: IfUSE_BUTTON_FOR_LINKis true, this value sets the button string. Example:Click me to get your fileSEND_LINK_AGAIN: Send link again after sending file. Default isTrueUSE_BOT_INSTEAD_USER: Send links wit bot. (Button will works with groups if this is true.) Default:TrueAUTH_IDS: Auth only some groups or users. If you want public, leave it empty or give0. Example:-100656 56191 -10056561ONLY_BOT_MODE: Run as bot only. Default isFalse
Thanks
Thanks to original developer: AbirHasan2005/Save-Group
Deploy
Deploy to Heroku:
- Open me in new tab
- Fill required variables
- Fill app name (or dismiss)
Deploy to Local:
- install python to your machine
git clone https://gitlab.com/HuzunluArtemis/AutoGroupPrivateChatFilesStoreBotcd AutoGroupPrivateChatFilesStoreBotpip install -r requirements.txtpython bot.py
Deploy to Vps:
git clone https://gitlab.com/HuzunluArtemis/AutoGroupPrivateChatFilesStoreBotcd AutoGroupPrivateChatFilesStoreBot- For Debian based distros
sudo apt install python3 && sudo snap install docker - For Arch and it’s derivatives:
sudo pacman -S docker python
Lisans

You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Yorumlar yüklenmezse JavaScript'i etkinleştir.