Contact: Telegram
This branch is purely based on Pyrogram V2
with more stability And this is based on forced login means user must have to login in bot to use the bot you can use v4
branch to avoid this.
start
: Launch the application.myplan
: View your personalized plan.add
: Add a new item or entry.rem
: Remove an existing item.gcast
: Broadcast a message or notification.stats
: Display statistics and insights.speedtest
: Run a network speed test.settings
: Access and modify your settings.
- Able to extarct the content the from private or public entities/channels/group
- direct rename and forward to channel/group/users
- Custome caption/thumbnail
- auto default thumbnail removal from videos
- Deleting/Replacing words from file name and caption
- Easy to use and deploy
- auto pin messages(if they are pinned)
- login via phone number
Deploying Guide - TEAM SPY
- API_ID and API_HASH from telegram.org
- BOT_TOKEN: @Botfather on telegram
- OWNER_ID : Go to @missrose_bot on telegram and send
/info
to know your ID - CHANNEL_ID : This will be used as Force Subscribe channel
- LOG_GROUP: Create a Group or Channel add you bot there and forward any message of that channel/group to @userinfobot to know the ID of you channel/group
- MONGO_DB: It is recommended to use your mongoDB to avoid session hacks and all Note : You must make bot admin in both channels
Easy Method:
- Fork repo
- Go to
config.py
as below - Fill variables inside the double quoted commas
""
- Now run following commands one by one...
sudo apt update
sudo apt install ffmpeg git python3-pip
git clone your_repo_link
cd you_repo_name
pip3 install -r requirements.txt
python3 -m devgagan
- if you want bot to be running in background then enter
screen -S gagan
beforepython3 -m devgagan
- after
python3 -m devgagan
, clickctrl+A
,ctrl+D
- if you want to stop bot, then enter
screen -r gagan
and to kill screen enterscreen -S gagan -X quit
.
- Fork and star the repo
- edit
config.py
same as guided for VPS deployment (you can edit on render also by filling enviroment variables) - Go to render.com and singup/signin
- create new web service and select free plan
- connect github and your repository
- Click Deploy
- Done ✅
- Fork and star the repo
- edit
config.py
same as guided for VPS deployment (you can edit on koyeb also by filling enviroment variables) - Go to koyeb.com and singup/signin
- create new web service make sure you must choose build type
Dokerfile
because in Koyeb as a default it is checked tobuildpacks
so you have to change that. - connect github and your repository
- Click Deploy
- Done ✅
Visit Terms and accept the guidelines.
Enhanced Functionality for Public Channels:
- Removed the unnecessary login requirement for processing links from public channels.
- Users can now process both single and batch links from public channels, even without logging in or setting up a default session.
- Introduced batch size limit variables:
FREEMIUM_LIMIT
andPREMIUM_LIMIT
. These variables allow you to manage and customize the batch size accessible to users based on their subscription type.
👉 Note:
If you set the FREEMIUM_LIMIT
value to 0, users will not be able to extract links, even with a single link. The OWNER_ID(s)
are exempt from these limitations.
#repo_updated
🚀 Changelogs :
- Batch Process: Prevents starting new batch if one is already running.
- Single Link: Checks if a process is ongoing before accepting a new link.
- UserBot Management: Safely stops
userbot
after all processes. - /cancel: Improved to stop active processes with better feedback.
- Loop Management: Prevents overlapping processes for the same user.
- Bug Fixes: Fixed issues with
userbot
not stopping correctly.
Changelog:
-
Fixed .MOV Issue:
- Resolved the problem with
.MOV
files. All video files sent as documents will now be uploaded as streamable videos. - The repository can now function as a file-to-video converter as well.
- Resolved the problem with
-
Filename Replacement:
- Fixed issues with filename replacements.
- Made minor adjustments to captions to preserve the original formatting.
Branch: v3
Status: Complete ✅
- fixed reset button to clear everything
- topic group extraction fixed
note : if you are extracting from public group then you must use the group id instead of username use apps like
turbotel
or anyother to do get id and replace for ex suppose main post link ishttps://t.me/username/12
orhttps://t.me/username/6/12 (topic enabled group)
then you have to change like belowhttps://t.me/c/1346789/12
orhttps://t.me/c/1346789/6/12 (topic enabled group)
where1346789
is group id you get from telegram client apps liketurbotel, plus messenger
etc
- Added
/logout
command to delete the session files frommongodb
andlocal memory
- Fixed premium membership auto expiration (after subscription ends).
- Added
/login
method via phone number - Added auto pinning of messages
- fixed float division by zero
- Session saving permanently
- Fixed old bugs
- Added /add and /remove along with parameters of
user_id
andtime
for the period of premium subscription. - All old features along with
button
handler
Note: Changing the terms and commands doesn't magically make you a developer. Real development involves understanding the code, writing new functionalities, and debugging issues, not just renaming things. If only it were that easy!
My group members contact... Join @save_restricted_content_bots to know them.
Thanks!