env.example 620 B

1234567891011121314151617181920
  1. # Telegram Bot Configuration
  2. # Copy this file to .env and fill in your actual values
  3. # Your Telegram bot token (get from @BotFather)
  4. TELEGRAM_BOT_TOKEN=your_bot_token_here
  5. # Your chat ID (get by messaging your bot and checking the API)
  6. TELEGRAM_CHAT_ID=your_chat_id_here
  7. # Your bot username (optional, defaults to @OpenCode)
  8. TELEGRAM_BOT_USERNAME=@YourBotUsername
  9. # Idle timeout in milliseconds (default: 5 minutes = 300000ms)
  10. TELEGRAM_IDLE_TIMEOUT=300000
  11. # Check interval in milliseconds (default: 30 seconds = 30000ms)
  12. TELEGRAM_CHECK_INTERVAL=30000
  13. # Enable/disable the plugin (true/false)
  14. TELEGRAM_ENABLED=true