UpdateTranscribedAudio

class pyrogram.raw.types.UpdateTranscribedAudio

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

Constructor of Update.

Details:
  • Layer: 223

  • 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
├── pendingtrue (optional)
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── msg_idint
├── transcription_idlong
└── textstring

Example

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