Files

19 lines
442 B
Bash

# Telegram API credentials
# Get these from https://my.telegram.org/apps
API_ID=your_api_id_here
API_HASH=your_api_hash_here
PHONE=+79991234567
# Session name (will create telegram-archiver.session file)
SESSION_NAME=telegram-archiver
# Max file size to download (in bytes)
# Default: 200 MB = 209715200
MAX_FILE_SIZE=209715200
# Output directory for archives
OUTPUT_DIR=./archives
# Log level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO