# filename: .env.example # ---------------------------------------------------- # Telegram Credentials (Mandatory) # ---------------------------------------------------- # Get these from my.telegram.org API_ID="12345678" API_HASH="your_api_hash" # Get this from @BotFather on Telegram BOT_TOKEN="1234567890:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" # Your personal Telegram User ID. The bot will recognize you as the owner. OWNER_ID="your_telegram_id" # ---------------------------------------------------- # Database Configuration (Mandatory) # ---------------------------------------------------- # Add your MongoDB connection strings here, numbered sequentially. # You can add more (MONGODB_URL_3, MONGODB_URL_4) in the future. MONGODB_URL_1="mongodb+srv://user:password@cluster0.mongodb.net/?retryWrites=true&w=majority" MONGODB_URL_2="mongodb+srv://user:password@cluster1.mongodb.net/?retryWrites=true&w=majority" # ---------------------------------------------------- # Bot Functionality (Mandatory) # ---------------------------------------------------- # The URL of your Terabox worker API TERABOX_WORKER_URL="https://your-worker-api.com/api" # ---------------------------------------------------- # Bot Features (Optional, but recommended) # ---------------------------------------------------- # The username of the channel users must join (without the '@'). Leave empty to disable. FORCE_SUB_CHANNEL_USERNAME="YourChannelName" # The ID of a private channel where all successful uploads will be sent as a backup. # Must start with -100. Leave empty to disable. BACKUP_CHANNEL_ID="-1001234567890" # ---------------------------------------------------- # Performance & Limits # ---------------------------------------------------- # Number of workers for each queue. For Hugging Face, keeping these at 1 is safest. PREMIUM_WORKERS="1" FREE_WORKERS="1" # The maximum file size in MB that a free user can download for a NEW, uncached link. FREE_USER_FILE_SIZE_LIMIT="50" # Set to "1" to enable FFMPEG operations (remuxing/thumbnails), "0" to disable. ENABLE_FFMPEG="1"