telegram-s3-uploader/.env.example

21 lines
437 B
Plaintext

# Telegram
API_ID=123456
API_HASH=your_api_hash_here
BOT_TOKEN=your_bot_token_here
# Allowed Telegram user IDs (comma-separated)
ALLOWED_USERS=123456789
# S3 / S3-Compatible
S3_ENDPOINT=
S3_REGION=us-east-1
S3_ACCESS_KEY=your_access_key
S3_SECRET_KEY=your_secret_key
S3_BUCKET=your_bucket_name
# Return presigned download link after upload
ENABLE_PRESIGNED_URL=true
# Presigned URL expiration (seconds)
PRESIGNED_EXPIRE_SECONDS=3600