From 1484af8c97b6f17ba91dc6b1d491e133924d6d6c Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 7 Jun 2022 17:27:33 +0300 Subject: [PATCH] Improve documentation. --- td/generate/scheme/td_api.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 611fe18c3..672de08ae 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -4857,7 +4857,7 @@ getMessageLinkInfo url:string = MessageLinkInfo; //@to_language_code A two-letter ISO 639-1 language code of the language to which the message is translated translateText text:string from_language_code:string to_language_code:string = Text; -//@description Recognizes speech in a voice note message. The message must be successfully sent and must not be scheduled +//@description Recognizes speech in a voice note message. The message must be successfully sent and must not be scheduled. May return an error with a message "MSG_VOICE_TOO_LONG" if the voice note is too long to be recognized //@chat_id Identifier of the chat to which the message belongs //@message_id Identifier of the message recognizeSpeech chat_id:int53 message_id:int53 = Ok;