File size: 1,083 Bytes
e1a2a92 b6ba437 e1a2a92 4833409 f378241 4833409 cdb5090 f378241 cdb5090 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# Required Vars
API_ID=123456
API_HASH=dagsjdhgjfsahgjfh
BOT_TOKENS=21413535:gkdshajfhjfakhjf
STORAGE_CHANNEL=-100123456789
DATABASE_BACKUP_MSG_ID=123
# Optional: Bot session file names (must match BOT_TOKENS count)
# Place session files in cache/ directory. Pyrogram will use them if they exist.
# BOT_SESSIONS=bot.session,bot2.session
# Optional: String sessions for Premium accounts (files > 2GB)
# STRING_SESSIONS=1BVtsOMwBu5...your_session_string_here...
# Optional: For TG Drive's Bot Mode
# MAIN_BOT_SESSION=mainbot.session # Session file name (default: mainbot.session)
# MAIN_BOT_TOKEN=your_main_bot_token # Bot token (required for bot mode)
# TELEGRAM_ADMIN_IDS=123456789,987654321 # Admin user IDs
# Note:
# - BOT_TOKENS is required (Pyrogram needs token for bot clients)
# - BOT_SESSIONS is optional - if provided, Pyrogram will use those session file names
# - If session file exists, it will be used (faster connection)
# - If session file doesn't exist, Pyrogram will create it
# - MAIN_BOT_SESSION defaults to "mainbot.session" - place it in cache/ directory |