Skip to content

Commit 0949720

Browse files
authored
Merge pull request #1245 from gotd/feat/update-tdlib-schema
Update TDLib schema to the latest layer
2 parents 515f035 + 505263a commit 0949720

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

_schema/tdapi.tl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Code generated by ./cmd/dltl, DO NOT EDIT.
22
//
33
// Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl
4-
// SHA256: 6b8f03c114a99f63b1c56b8c74d8b90d8bf37cc2f47b16a2cbe2461038450903
4+
// SHA256: bd8aa4da2ec994c4f642cd53c169ddd8fa28533d1617148f072788b5b9e6ba2e
55

66
double#2210c154 ? = Double;
77

@@ -2220,7 +2220,7 @@ webPageInstantView#2c0ec99c page_blocks:vector<PageBlock> view_count:int32 versi
22202220
//@duration Duration of the content, in seconds
22212221
//@author Author of the content
22222222
//@has_large_media True, if size of media in the preview can be changed
2223-
//@show_large_media True, if large media preview must be shown
2223+
//@show_large_media True, if large media preview must be shown; otherwise, the media preview must be shown small and only the first frame must be shown for videos
22242224
//@skip_confirmation True, if there is no need to show an ordinary open URL confirmation, when opening the URL from the preview, because the URL is shown in the message text in clear
22252225
//@show_above_text True, if the link preview must be shown above message text; otherwise, the link preview must be shown below the message text
22262226
//@animation Preview of the content as an animation, if available; may be null
@@ -4114,7 +4114,7 @@ speechRecognitionResultPending#9ebc8e00 partial_text:string = SpeechRecognitionR
41144114
speechRecognitionResultText#80e681dd text:string = SpeechRecognitionResult;
41154115

41164116
//@description The speech recognition failed
4117-
//@error Recognition error
4117+
//@error Recognition error. An error with a message "MSG_VOICE_TOO_LONG" is returned when media duration is too big to be recognized
41184118
speechRecognitionResultError#9d243fc error:error = SpeechRecognitionResult;
41194119

41204120
//@description Describes a color to highlight a bot added to attachment menu
@@ -7598,7 +7598,7 @@ translateText#252264f2 text:formattedText to_language_code:string = FormattedTex
75987598
//@to_language_code Language code of the language to which the message is translated. Must be one of
75997599
translateMessageText#53c51ed2 chat_id:int53 message_id:int53 to_language_code:string = FormattedText;
76007600

7601-
//@description Recognizes speech in a video note or 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 media duration is too big to be recognized
7601+
//@description Recognizes speech in a video note or a voice note message. The message must be successfully sent and must not be scheduled
76027602
//@chat_id Identifier of the chat to which the message belongs
76037603
//@message_id Identifier of the message
76047604
recognizeSpeech#67d402b9 chat_id:int53 message_id:int53 = Ok;

tdapi/tl_speech_recognition_result_gen.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tdapi/tl_web_page_gen.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)