TranscribedAudio

class pyrogram.types.TranscribedAudio[source]

Contains transcribed text from a voice message or video note.

Parameters:
  • transcription_id (int) – Unique identifier of the transcription.

  • text (str) – Transcribed text.

  • pending (bool, optional) – True, if the transcription is still in progress and more text may follow.

  • trial_remains_num (int, optional) – For non-Premium users, remaining free transcriptions in the current trial period.

  • trial_remains_until_date (datetime, optional) – For non-Premium users, date when the trial counter will reset.