Voice Note STT
Telegram voice notes are transcribed to text before hitting the agent.
How It Works
- Incoming message with a
voiceattachment detected getFileAPI → download the.ogaaudio via the bot token- POST multipart to
/v1/audio/transcriptions(OpenAI-compatible endpoint, same credentials as the primary client) - Transcript injected as the user message text
Config
OFF unless stt_model is set:
[gateway]
stt_model = "gemini/gemini-2.5-flash"
Any model the provider supports on the transcriptions endpoint works.