messages.transcribeAudio

Transcribe voice message

messages.transcribedAudio#93752c52 flags:# pending:flags.0?true transcription_id:long text:string = messages.TranscribedAudio;
---functions---
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;

Parameters

Name Type Description
peer InputPeer Peer ID where the voice message was sent
msg_id int Voice message ID

Result

messages.TranscribedAudio

Possible errors

Code Type Description
403 PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.
400 TRANSCRIPTION_FAILED Audio transcription failed.

Related pages

Voice message transcription

How to transcribe voice messages.