From 5a74f9100fc6608babd286e2640abdbf170a0932 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 23 Aug 2022 15:44:58 +0000 Subject: [PATCH] Update content of files --- .../corefork.telegram.org/api/transcribe.html | 136 ++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 data/web/corefork.telegram.org/api/transcribe.html diff --git a/data/web/corefork.telegram.org/api/transcribe.html b/data/web/corefork.telegram.org/api/transcribe.html new file mode 100644 index 0000000000..0a5a40cb02 --- /dev/null +++ b/data/web/corefork.telegram.org/api/transcribe.html @@ -0,0 +1,136 @@ + + + + + Voice message transcription + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Voice message transcription

+ +
+ +

The API provides methods to transcribe voice messages.

+

Schema:

+
updateTranscribedAudio#84cd5a flags:# pending:flags.0?true peer:Peer msg_id:int transcription_id:long text:string = Update;
+
+messages.transcribedAudio#93752c52 flags:# pending:flags.0?true transcription_id:long text:string = messages.TranscribedAudio;
+
+---functions---
+
+messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
+messages.rateTranscribedAudio#7f1d072f peer:InputPeer msg_id:int transcription_id:long good:Bool = Bool;
+

Use messages.transcribeAudio to initiate transcription of a message.
+The returned messages.transcribedAudio constructor will have the pending flag set if the transcription is still in progress and the transcribed text contained in text will be updated in future with updateTranscribedAudio updates.
+These updates will contain the updated text with the same transcription_id returned in the first messages.transcribedAudio, and the pending flag will be set if the transcription is still in progress.

+

A transcription can then be rated as good or bad using messages.rateTranscribedAudio.

+ +
+ +
+
+ +
+ + + + + + + +