29 lines
876 B
Plaintext
29 lines
876 B
Plaintext
# 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
|
|
|
|
# Gemini API Configuration
|
|
# Get your API key from https://makersuite.google.com/app/apikey
|
|
GEMINI_API_KEY=your_gemini_api_key_here
|
|
|
|
# MiniMax API Configuration
|
|
# Get your API key from https://platform.minimax.io
|
|
MINIMAX_API_KEY=your_minimax_api_key_here
|