UpdateTranscribedAudio
- class pyrogram.raw.types.UpdateTranscribedAudio
A pending voice message transcription » initiated with messages.transcribeAudio was updated.
Constructor of
Update.- Details:
Layer:
223ID:
84CD5A
- Parameters:
peer (
Peer) – Peer of the transcribed messagemsg_id (
int32-bit) – Transcribed message IDtranscription_id (
int64-bit) – Transcription IDtext (
str) – Transcribed textpending (
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 →
stringExample
UpdateTranscribedAudio(
peer=PeerUser(user_id=0),
msg_id=0,
transcription_id=0,
text="Open",
)