UpdateTranscribedAudio

class pyrogram.raw.types.UpdateTranscribedAudio

A pending voice message transcription » initiated with messages.transcribeAudio was updated.

Constructor of Update.

Details:
  • Layer: 227

  • ID: 84CD5A

Parameters:
  • peer (Peer) – Peer of the transcribed message

  • msg_id (int 32-bit) – Transcribed message ID

  • transcription_id (int 64-bit) – Transcription ID

  • text (str) – Transcribed text

  • pending (bool, optional) – Whether this transcription is still pending and further updateTranscribedAudio about it will be sent in the future.

TL Schema

updateTranscribedAudio#84cd5a
flags:#
pending:flags.0?true
peer:Peer
msg_id:int
transcription_id:long
text:string

= Update

Parameter Tree

UpdateTranscribedAudio
├── pending → true (optional)
├── peer → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── msg_id → int
├── transcription_id → long
└── text → string

Example

UpdateTranscribedAudio(
    peer=PeerUser(user_id=0),
    msg_id=0,
    transcription_id=0,
    text="Open",
)