Skip to content

Bot will help you to save files permanently and generates sharable link inside telegram for documents and make files public via inline search

License

Notifications You must be signed in to change notification settings

Kunal-Diwan/File-Store-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File-Store-Bot

Bot generates sharable link inside telegram for documents and make files public via inline search

Deploy

required details

TOKEN - Get bot token from bot father

DOMAIN - Same as app name that you enter in heroku

ADMIN - your account id(if you cant find it use bots like @getidsbot )

BOTUSERNAME - your bot username without '@'

DB_URL - create an account on https://www.mongodb.com/cloud/atlas , database name - mediaFile ,collection name - fileBackup.Click connect and choose 'connect your application'. Copy the link and replace "< password >" with password of user having acess to db and replace "myFirstDatabase" to "mediaFile"

LOG_CHANNEL - create a private channel and get channel ID


Here are some of the admin commands and usage

1.How to ban and unban users

/ban userID

/unban userID

(Get userID from log channel)

How to remove files from bot

you can remove files 3 ways

⚫ Remove individual files with file_id

⚫ Remove all files send by a user

⚫ Remove all files send to the bot

Remove individual files with file_id

/rem file_id

(This will remove files one by one as you give file_id,Get file_id from log channel)

Remove all files send by a user

/remall userID

(You can remove all files send by a particular user if user is sending abusive contents or spam ,Get the userID from log channel)

Remove all files send to b0t

/clear

(This will remove all files send to the bot permenantly)

Send message to users

/send your message to be broadcasted

(You can broadcast text messages to your users ,the message will be send from last joined user to first joined user to reduce spam.Try not to send too many messages at a single time if you have a large number of users)

How to know total bot users

/stats

(You will get total users started your bot,Real time data will be updated after a succesfull broadcast)

Powered By @DevelopedBots 💖

About

Bot will help you to save files permanently and generates sharable link inside telegram for documents and make files public via inline search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published