env.example 876 B

12345678910111213141516171819202122232425262728
  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
  15. # Gemini API Configuration
  16. # Get your API key from https://makersuite.google.com/app/apikey
  17. GEMINI_API_KEY=your_gemini_api_key_here
  18. # MiniMax API Configuration
  19. # Get your API key from https://platform.minimax.io
  20. MINIMAX_API_KEY=your_minimax_api_key_here