diff --git a/_schema/tdapi.tl b/_schema/tdapi.tl index 17ae097697..8dabe669b4 100644 --- a/_schema/tdapi.tl +++ b/_schema/tdapi.tl @@ -1,7 +1,7 @@ // Code generated by ./cmd/dltl, DO NOT EDIT. // // Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl -// SHA256: 6b8f03c114a99f63b1c56b8c74d8b90d8bf37cc2f47b16a2cbe2461038450903 +// SHA256: 67abde3cc175e534ac7489306745921b30d62567c5c3b9036e9d5a2a3f53745c double#2210c154 ? = Double; @@ -2220,7 +2220,7 @@ webPageInstantView#2c0ec99c page_blocks:vector view_count:int32 versi //@duration Duration of the content, in seconds //@author Author of the content //@has_large_media True, if size of media in the preview can be changed -//@show_large_media True, if large media preview must be shown +//@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 //@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 //@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 //@animation Preview of the content as an animation, if available; may be null diff --git a/tdapi/tl_web_page_gen.go b/tdapi/tl_web_page_gen.go index c03f9d7c25..8a831560e6 100644 --- a/tdapi/tl_web_page_gen.go +++ b/tdapi/tl_web_page_gen.go @@ -62,7 +62,8 @@ type WebPage struct { Author string // True, if size of media in the preview can be changed HasLargeMedia bool - // True, if large media preview must be shown + // 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 ShowLargeMedia bool // 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