messages.TranscribedAudio
- class pyrogram.raw.types.messages.TranscribedAudio
Transcribed text from a voice message »
Constructor of
TranscribedAudio.- Details:
Layer:
223ID:
CFB9D957
- Parameters:
transcription_id (
int64-bit) – Transcription IDtext (
str) – Transcripted textpending (
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.trial_remains_num (
int32-bit, optional) – For non-Premium users, this flag will be set, indicating the remaining transcriptions in the free trial period.trial_remains_until_date (
int32-bit, 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.
- Functions:
This object can be returned by 1 function.
Transcribe voice message
TL Schema
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
Parameter Tree
true (optional)longstringint (optional)int (optional)Example
TranscribedAudio(
transcription_id=0,
text="Open",
)