messages.transcribeAudio
Transcribe voice message
[Transcribe voice message](https://core.telegram.org/api/transcribe.md)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | Peer ID where the voice message was sent |
msg_id | int | أيوه | Voice message ID |
الردود
messages.TranscribedAudio
MTProto RPC
- 400 · MSG_ID_INVALID — Invalid message ID provided.
- 400 · MSG_VOICE_MISSING — The specified message is not a voice message.
- 400 · MSG_VOICE_TOO_LONG — The specified voice message is too long to be transcribed.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.
- 403 · PREMIUM_ACCOUNT_REQUIRED — A premium account is required to execute this action.
- 400 · TRANSCRIPTION_FAILED — Audio transcription failed.