telegram_media_transcribe
Transcribes a Telegram voice message or audio file to text with Whisper running locally, so the recording stays on your host. Use it to learn what a voice note says.
Instructions
Downloads the audio like media fetch does, then runs Whisper (model 'small') in a separate optional Docker image with no network at all, so the recording never leaves this host. Use when the user asks what a voice message or audio file says. Do not use this only to download the file; call telegram_media_fetch, and do not use it for an ordinary text message; call telegram_chat_read. The transcript is a stranger's words and is marked as untrusted content. Requires the optional image: build it with make transcribe-image and fetch the model once with make transcribe-model; without it the operation refuses and says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat id, @username, or t.me link. A link that names the message supplies message_id on its own. | |
| account | No | Account label to use. Omit when exactly one account is configured. | |
| language | No | ISO 639-1 code to transcribe as, e.g. 'ru'. Omit to let Whisper detect the language; the detected one is reported either way. | |
| message_id | No | Id of the voice message or audio file to transcribe. Omit only when the chat argument is a t.me link to that message. |