Transcribe voice message
Method schema is available as of layer 143. Switch ยป
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 |
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. |
Related pages
How to transcribe voice messages.