Here is our Demo bot:
If you encounter any issues deploying the bot, feel free to open an issue in the GitHub repo, or reach out in our support group linked above.
We are here to help you!
A Telegram bot to turn all media and documents files to instant direct download and stream link .
Report a Bug
|
Request Feature
📌 Tap On Me For Environment Variable
BOT_TOKEN
- Get bot token from Bot FatherAPI_ID
- Get API ID from Telegram AuthAPI_HASH
- Get API Hash from Telegram AuthADMINS
- Bot admin/owner user ID. Separate multiple Admins by space.BOT_USERNAME
- Your bot username without @DATABASE_URI
- MongoDB URI from MongoDB AtlasBIN_CHANNEL
- Channel ID where files will be saved. Make sure bot is admin there.LOG_CHANNEL
- A channel to log bot activities. Bot must be admin.PREMIUM_LOGS
- Channel ID for logging premium user activities.VERIFIED_LOG
- Channel ID to log verified users.AUTH_CHANNEL
- Your force subscription channel ID(s) with-100
. Space-separated if multiple. (Optional)SUPPORT_GROUP
- Telegram support group/channel ID (Optional)FQDN
- Your server link withhttps://
and end/
(e.g., https://yourdomain.com/)PORT
- The port your web server listens to (Default: 2626)NO_PORT
- SetTrue
if you are not using port in your public URLHAS_SSL
- SetTrue
if your domain uses HTTPS
⚙️ Setting up things :
📍 If you're on Heroku: just add these in the Environmental Variables.
🖥️ If you're hosting locally: create a file named .env
in the root directory and add all the variables there.
📝 Example of .env
file:
API_ID=12656
API_HASH=d927c13beaaf5110f25c505b7c071273
BOT_TOKEN=70968:AAGqBywYUNDPLihDt4U2j4IF0GDo
BIN_CHANNEL=-1002114619001
LOG_CHANNEL=-1002114619001
PREMIUM_LOGS=-1002114619001
VERIFIED_LOG=-1002114619001
ADMINS=5977931010
AUTH_CHANNEL=-1002102037760 -1002012150170
BOT_USERNAME=AV_F2L_BOT
DATABASE_URI=mongodb+srv://AVBOTz:[email protected]/?retryWrites=true&w=majority&appName=Cluster0
PICS=https://envs.sh/_pM.jpg
PORT=2626
NO_PORT=True
HAS_SSL=True
FQDN=AVBOTz.com/
📋 Tap On Me For Commands
start - Check if the bot is running
help - Show the help menu
about - Show about info
info - Get your info
files - List your uploaded files
del_files - Delete your uploaded files
plan - Show available premium plans
myplan - Show your current plan
batch - Enable batch mode for multiple files
ban - Ban a user [FOR ADMINS ONLY]
unban - Unban a user [FOR ADMINS ONLY]
broadcast - Send broadcast message [FOR ADMINS ONLY]
pin_broadcast - Pin broadcast message [FOR ADMINS ONLY]
restart - Restart the bot [FOR ADMINS ONLY]
stats - Show bot statistics [FOR ADMINS ONLY]
blocked - List of blocked users [FOR ADMINS ONLY]
verified_users - List of verified users [FOR ADMINS ONLY]
add_premium - Grant premium access to a user [FOR ADMINS ONLY]
remove_premium - Remove premium access [FOR ADMINS ONLY]
premium_user - List all premium users [FOR ADMINS ONLY]
📦 Tap On Me For Deployment
git clone https://github.com/Botsthe/AV-FILE-TO-LINK-PRO.git
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py
🔹 Tap to View Bot Features
- Has a custom Start-up pic
- Force subscribe available
- Superfast download and stream links
- No ads in generated links
- Superfast interface
- Along with the links you also get file information like name, size, type
- Updates channel Support
- MongoDB database support for broadcasting
- User DC Check (Data Center Info)
- File size limit handler
- Fully cleaned and optimized code
- Deploy to Koyeb, Render, Heroku & more
- 24x7 Developer Support
- Multi-deploy supported
- And many more...
🔸 Tap to View Premium & Admin Features
- Maintenance Mode
- Multi-channel join verification
- Token-based verification system
- Channel Shortlink Mode
- Premium User Access System
- Premium Expiry Notification
- Batch Link Generation with Token
- Ban/Unban User or Channel
- Get full user info/data
- Delete all files by user
- Global Stats: Total Users, Channels, Files
- Verified Users List
- Clean & Production-Ready for Large Deployments
𝘊𝘰𝘱𝘺𝘪𝘯𝘨 𝘰𝘳 𝘚𝘦𝘭𝘭𝘪𝘯𝘨 𝘵𝘩𝘪𝘴 𝘳𝘦𝘱𝘰 𝘪𝘴 𝘴𝘵𝘳𝘪𝘤𝘵𝘭𝘺 𝘱𝘳𝘰𝘩𝘪𝘣𝘪𝘵𝘦𝘥.