# Gateway authentication key (required) # You can generate with `openssl rand -hex 16` API_KEY= # Server port PORT=3456 # Data directory for persistence DATA_DIR=./data # Webhook URLs for message delivery (comma-separated, optional) # WEBHOOK_URLS=https://your-server.com/webhook,https://backup.com/webhook WEBHOOK_URLS= # Incoming webhook token (optional, enables POST /webhook/:token) # You can generate with `openssl rand -hex 16` WEBHOOK_TOKEN= # Max download size for media uploads (MB) MAX_DOWNLOAD_SIZE_MB=128 # Download timeout for fetching media URLs (ms) DOWNLOAD_TIMEOUT_MS=30000 # Max messages kept in memory buffer MAX_BUFFER_SIZE=1000