Layer 227
MessagesTranscribedAudioObj
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 |
|---|---|---|
| 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 MessagesTranscribedAudioObj constructor obj := &tg.MessagesTranscribedAudioObj{ Pending: nil, TranscriptionId: int64(1234567890), Text: "Hello, World!", TrialRemainsNum: nil, TrialRemainsUntilDate: nil, }