Layer 220
MessagesTranscribedAudio
Transcribed text from a voice message
constructor
messages.transcribedAudio#cfb9d957 flags:# pending:flags.0?true transcription_id:long text:string trial_remains_num:flags.1?int trial_remains_until_date:flags.1?int = messages.TranscribedAudio;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Pending | flags.0?true | Whether the transcription is partial because audio transcription is still in progress, if set the user may receive further update Transcribed Audio updates with the updated transcription. |
| TranscriptionId | long | Transcription ID |
| Text | string | Transcripted text |
| TrialRemainsNum | flags.1?int | For non- Premium users, this flag will be set, indicating the remaining transcriptions in the free trial period. |
| TrialRemainsUntilDate | flags.1?int | 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. |
Returns
messages.TranscribedAudioGogram Example
// Creating MessagesTranscribedAudio constructor obj := &tg.MessagesTranscribedAudio{ TranscriptionId: int64(0), Text: "...", // Optional fields: // Pending: true, // TrialRemainsNum: 0, // TrialRemainsUntilDate: 0, }