Bot generates sharable link inside telegram for documents and make files public via inline search
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 (if you cant get channel id forward any message from channel to @getidsbot it may look something like -1001234567899)
1.How to ban and unban users
/ban
userID
/unban
userID
(Get userID from log channel)
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
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)
/stats
(You will get total users started your bot,Real time data will be updated after a succesfull broadcast)
If you wish to support me follow me on github as a token of support