Skip to content

mdudi210/trynewlogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Save restricted Content Bot by devgagan | Enterprise Release June 2024.

Contact: Telegram


ENTERPRISE RELEASE INFO

Update: This bot is updated with login functionalities, custom rename tag adding, log group, caption changing and and many more scroll down to last to see the latest update i.e. on 18 June 2024.

Try Live Bot

A stable telegram bot to get restricted messages with custom thumbnail support , made by TEAM SPY This bot can run in channels directly.

  • works for both public and private chats
  • Custom thumbnail support for Pvt medias
  • supports text and webpage media messages
  • Faster speed
  • Force subscribe available
  • To save from bots send link in this format : t.me/b/bot_username/message_id (use plus messenger for message_id)
  • /batch - (For owner only) Use this command to save upto 10000 files from a pvt or public restricted channel at once.
  • /cancel - Use this to stop batch
  • Time delay is added to avoid FloodWait and keep user account safe.
  • /setchat directly upload in channel or group

Deploying Guide - TEAM SPY

How to get required vars

  • 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

Deploy on VPS

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 Restriction
  • if you want bot to be running in background then enter screen -S gagan before python3 -m main
  • after python3 -m main, click ctrl+A, ctrl+D
  • if you want to stop bot, then enter screen -r gagan and to kill screen enter screen -S gagan -X quit.

Deploy your bot on heroku

  • Star the repo, and fork it in desktop mode
  • Click on Deploy
  • Fill your values and click deploy ✅

Terms of USE / Modification

Visit Terms and accept the guidelines.

Updates

Update: 24 June 2024

  • Added /login method via phone number
  • Session saving permanently
  • Fixed old bugs
  • Added /add_premium and /remove_premium along with parameters of user_id and time for the period of premium subscription.
  • All old features along with button handler

Important Note

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!

Contributers

My group members contact... Join @devggn to know them.

Thanks!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages