Skip to content

BeastBots/SaveRestrictedContent

Repository files navigation

Save Restricted Bot

A Telegram Bot, Which can send you restricted content by it's post link with login feature


Watch Video Tutorial - Click Here


Variables

  • API_HASH : Your API Hash From Telegram Website
  • API_ID : Your API ID From Telegram Website
  • BOT_TOKEN : Your Bot Token From BotFather
  • ADMINS : Your Admin Id For Broadcasting Message
  • DB_URI : Your Mongodb Database Url From Mongodb Watch Video Tutorial ( Warning - Give Db uri in deploy server environment variable, don't give in repo )
  • ERROR_MESSAGE : Set True Or False, If You Want Error Message Then True Else False.

Commands

  • /start : Check Bot Is Working Or Not
  • /help : Check How To Use Bot
  • /login : Login Your Telegram String Session
  • /logout : Logout Your Session
  • /cancel : Cancel Your Any Ongoing Task
  • /broadcast : Broadcast Message To User (Admin Only)

Usage

FOR PUBLIC CHATS

just send post/s link

FOR PRIVATE CHATS

first send invite link of the chat (unnecessary if the account of string session already member of the chat) then send post/s link

FOR BOT CHATS

send link with '/b/', bot's username and message id, you might want to install some unofficial client to get the id like below

https://t.me/b/botusername/4321

MULTI POSTS

send public/private posts link as explained above with formate "from - to" to send multiple messages like below

https://t.me/xxxx/1001-1010

https://t.me/c/xxxx/101 - 120

note that space in between doesn't matter


Deploy to Heroku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages