From b75b73e9bee3ea362b55b58060a7b983b1af7522 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 19 Aug 2022 16:33:11 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/links.html | 177 ++++++++++++++---- data/web/telegram.org/tour/screenshots.html | 5 +- 2 files changed, 145 insertions(+), 37 deletions(-) diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index 929bd9b130..50297b06a1 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -195,7 +195,36 @@

Wallpaper links

Used to share and install chat backgrounds (wallpapers): see here for more info on the various wallpaper and fill types ».

-

Solid fill wallpapers »

+

Image wallpapers

+

Used for image-based wallpapers ».

+

t.me syntax:

+
t.me/bg/<slug>?mode=<mode>
+

tg: syntax:

+
tg://bg?slug=<slug>&mode=<mode>
+

Parameters:

+ + + + + + + + + + + + + + + + + + + + +
NameOptionalDescription
slugRequiredWallpaper slug used to obtain the image file using account.getWallPaper.
modeOptionalblur, motion or blur+motion to enable blurring or parallax motion as specified in the docs ».
+

Solid fill wallpapers

+

Used for fill wallpapers » with a solid fill ».

t.me syntax:

t.me/bg/<hex_color>

tg: syntax:

@@ -217,7 +246,8 @@ -

Gradient fill wallpapers »

+

Gradient fill wallpapers

+

Used for fill wallpapers » with a gradient fill ».

t.me syntax:

t.me/bg/<top_color>-<bottom_color>?rotation=<rotation>

tg: syntax:

@@ -249,7 +279,8 @@ -

Freeform gradient fill wallpapers »

+

Freeform gradient fill wallpapers

+

Used for fill wallpapers » with a freeform gradient fill ».

t.me syntax:

t.me/bg/<hex_color1>~<hex_color2>~<hex_color3>~<hex_color4>

tg: syntax:

@@ -286,38 +317,12 @@ -

Image wallpapers

+

Solid pattern wallpapers

+

Used for pattern wallpapers » with a solid fill ».

t.me syntax:

-
t.me/bg/<slug>?mode=<mode>
+
t.me/bg/<slug>?intensity=<intensity>&bg_color=<bg_color>&mode=<mode>

tg: syntax:

-
tg://bg?slug=<slug>&mode=<mode>
-

Parameters:

- - - - - - - - - - - - - - - - - - - - -
NameOptionalDescription
slugRequiredWallpaper slug used to obtain the image file using account.getWallPaper.
modeOptionalblur, motion or blur+motion to enable blurring or parallax motion as specified in the docs.
-

Pattern wallpapers

-

t.me syntax:

-
t.me/bg/<slug>?intensity=<intensity>&bg_color=<params>&mode=<mode>
-

tg: syntax:

-
tg://bg?slug=<slug>&mode=<mode>
+
tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<bg_color>&mode=<mode>

Parameters:

@@ -339,6 +344,112 @@ + + + + + + + + + + +
A value ranging from -100 to 100, used to combine the pattern with the fill as specified in the docs.
bg_colorRequiredFill color in hex RGB format.
modeOptionalmotion to enable parallax motion as specified in the docs.
+

Gradient pattern wallpapers

+

Used for pattern wallpapers » with a gradient fill ».

+

t.me syntax:

+
t.me/bg/<slug>?intensity=<intensity>&bg_color=<top_color>-<bottom_color>&rotation=<rotation>&mode=<mode>
+

tg: syntax:

+
tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<top_color>-<bottom_color>&rotation=<rotation>&mode=<mode>
+

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameOptionalDescription
slugRequiredWallpaper slug used to obtain the pattern file using account.getWallPaper.
intensityRequiredA value ranging from -100 to 100, used to combine the pattern with the fill as specified in the docs.
top_colorRequiredTop gradient color in hex RGB format.
bottom_colorRequiredBottom gradient color in hex RGB format.
rotationOptionalClockwise rotation angle of the gradient, in degrees; 0-359. Must be always divisible by 45, default to 0 if not set.
modeOptionalmotion to enable parallax motion as specified in the docs.
+

Freeform gradient pattern wallpapers

+

Used for pattern wallpapers » with a freeform gradient fill ».

+

t.me syntax:

+
t.me/bg/<slug>?intensity=<intensity>&bg_color=<hex_color1>~<hex_color2>~<hex_color3>~<hex_color4>&mode=<mode>
+

tg: syntax:

+
tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<hex_color1>~<hex_color2>~<hex_color3>~<hex_color4>&mode=<mode>
+

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/web/telegram.org/tour/screenshots.html b/data/web/telegram.org/tour/screenshots.html index de05f5702c..95d265030c 100644 --- a/data/web/telegram.org/tour/screenshots.html +++ b/data/web/telegram.org/tour/screenshots.html @@ -77,10 +77,7 @@

Press Contacts

For media requests, please contact @PressBot on Telegram.

Videos

-

To see Telegram in action, check out the Telegram Blog or the @telegram channel.

-
-

To learn what Telegram can do for you, see @TelegramTips

-
+

To see Telegram in action, check out the Telegram Blog or the @telegram channel. To learn more about what you can do with Telegram, see @TelegramTips

Screenshots

All Telegram screenshots on this page are dedicated to the public domain, see CC0 1.0 Universal. Click on images to download hi-res versions.

NameOptionalDescription
slugRequiredWallpaper slug used to obtain the pattern file using account.getWallPaper.
intensityRequiredA value ranging from -100 to 100, used to combine the pattern with the fill as specified in the docs.
hex_color1RequiredFirst gradient color in hex RGB format.
hex_color2RequiredSecond gradient color in hex RGB format.
hex_color3RequiredThird gradient color in hex RGB format.
hex_color4OptionalFourth gradient color in hex RGB format.
mode Optional motion to enable parallax motion as specified in the docs.