transcribe_telegram_voice
Download and transcribe Telegram voice messages using Whisper AI. Converts voice recordings to text with optional language detection and word timestamps.
Instructions
Download and transcribe a Telegram voice message.
Downloads the voice message from Telegram, transcribes it, then deletes the temp file.
Args: file_id: The file_id from a Telegram voice message (from the Message object). bot_token: Telegram bot token. Falls back to TELEGRAM_BOT_TOKEN env var. language: Optional ISO-639-1 language code. None = auto-detect. word_timestamps: Include word-level timestamps in segments.
Returns: Same dict structure as transcribe_audio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| bot_token | No | ||
| language | No | ||
| word_timestamps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||