From 27fb078cfe95823d4a91a3662aed09cbd9bbd92b Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 27 Dec 2019 18:01:45 +0300 Subject: [PATCH] Add support for TGV patterns. GitOrigin-RevId: 8e82497baf4f5906c72383e54af4d0ffd5ba45a5 --- td/generate/scheme/td_api.tl | 2 +- tdutils/generate/mime_types.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 86f1a5b5..3a1f8c77 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -2113,7 +2113,7 @@ backgroundFillGradient top_color:int32 bottom_color:int32 rotation_angle:int32 = //@is_moving True, if the background needs to be slightly moved when device is rotated backgroundTypeWallpaper is_blurred:Bool is_moving:Bool = BackgroundType; -//@description A PNG or SVG pattern to be combined with the background fill chosen by the user +//@description A PNG or TGV (deflated subset of SVG) pattern to be combined with the background fill chosen by the user //@fill Description of the background fill //@intensity Intensity of the pattern when it is shown above the filled background, 0-100 //@is_moving True, if the background needs to be slightly moved when device is rotated diff --git a/tdutils/generate/mime_types.txt b/tdutils/generate/mime_types.txt index cc1fb5e3..4f8c9d32 100644 --- a/tdutils/generate/mime_types.txt +++ b/tdutils/generate/mime_types.txt @@ -565,6 +565,7 @@ application/x-tex-tfm tfm application/x-texinfo texinfo texi application/x-tgif obj application/x-tgsticker tgs +application/x-tgwallpattern tgv application/x-ustar ustar application/x-wais-source src application/x-x509-ca-cert der crt