- Open Telegram and search for @BotFather
- Send
/newbot - Enter a display name (e.g., "My Gru Bot")
- Enter a username ending in
bot(e.g., "my_gru_bot") - Copy the token:
1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
Optional: Send /setprivacy to @BotFather, select your bot, choose "Disable" to let it read group messages.
- Search for @userinfobot in Telegram
- Send any message
- Copy the ID number it returns
Multiple admins: separate IDs with commas (e.g., 123456789,987654321)
GRU_TELEGRAM_TOKEN=1234567890:ABCdefGHIjklMNOpqrsTUVwxyz
GRU_ADMIN_IDS=123456789Gru supports sending and receiving voice messages through Telegram:
- Send a voice message to your Gru bot
- Gru automatically transcribes it and processes as text
- Supports all major audio formats (OGG, MP3, WAV)
/gru voice send <chat_id> <text> # Send TTS to specific chat
/gru voice test "Hello" # Test TTS in current chat
/gru voice settings # View configuration
/gru voice set tts_provider edge # Change TTS provider
Text-to-Speech Providers:
eleven_labs- High quality (requires API key)openai- Good quality (requires API key)edge- Free Microsoft voices
Speech-to-Text Providers:
claude- Uses Claude for transcription (recommended)openai- OpenAI Whisper API (requires key)whisper- Local Whisper (slower)
Environment Variables for Voice:
# Optional - for premium TTS
GRU_ELEVEN_LABS_API_KEY=your_key_here
GRU_OPENAI_API_KEY=your_key_hereBot not responding:
- Verify
GRU_ADMIN_IDSmatches your user ID exactly - Check
GRU_TELEGRAM_TOKENhas no extra spaces - Restart Gru
Voice messages not working:
- Check audio file format is supported (OGG, MP3, WAV)
- Verify API keys if using premium providers
- Try
/gru voice settingsto check configuration