20 lines
620 B
Text
20 lines
620 B
Text
# Telegram Bot Configuration
|
|
# Copy this file to .env and fill in your actual values
|
|
|
|
# Your Telegram bot token (get from @BotFather)
|
|
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
|
|
|
# Your chat ID (get by messaging your bot and checking the API)
|
|
TELEGRAM_CHAT_ID=your_chat_id_here
|
|
|
|
# Your bot username (optional, defaults to @OpenCode)
|
|
TELEGRAM_BOT_USERNAME=@YourBotUsername
|
|
|
|
# Idle timeout in milliseconds (default: 5 minutes = 300000ms)
|
|
TELEGRAM_IDLE_TIMEOUT=300000
|
|
|
|
# Check interval in milliseconds (default: 30 seconds = 30000ms)
|
|
TELEGRAM_CHECK_INTERVAL=30000
|
|
|
|
# Enable/disable the plugin (true/false)
|
|
TELEGRAM_ENABLED=true
|