mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.9 KiB
1.9 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
messages.transcribedAudio | Transcribed text from a voice message » | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_transcribedAudio.html |
Constructor: messages.transcribedAudio
Transcribed text from a voice message »
Attributes:
Name | Type | Required | Description |
---|---|---|---|
pending | Bool | Optional | Whether the transcription is partial because audio transcription is still in progress, if set the user may receive further updateTranscribedAudio updates with the updated transcription. |
transcription_id | long | Yes | Transcription ID |
text | string | Yes | Transcripted text |
trial_remains_num | int | Optional | For non-Premium users, this flag will be set, indicating the remaining transcriptions in the free trial period. |
trial_remains_until_date | int | Optional | For non-Premium users, this flag will be set, indicating the date when the trial_remains_num counter will be reset to the maximum value of transcribe_audio_trial_weekly_number. |
Type: messages.TranscribedAudio
Example:
$messages_transcribedAudio = ['_' => 'messages.transcribedAudio', 'pending' => Bool, 'transcription_id' => long, 'text' => 'string', 'trial_remains_num' => int, 'trial_remains_until_date' => int];