Update content of files

This commit is contained in:
GitHub Action 2022-08-19 16:33:11 +00:00
parent b72efcc59f
commit b75b73e9be
2 changed files with 145 additions and 37 deletions

View file

@ -195,7 +195,36 @@
</table> </table>
<h3><a class="anchor" href="#wallpaper-links" id="wallpaper-links" name="wallpaper-links"><i class="anchor-icon"></i></a>Wallpaper links</h3> <h3><a class="anchor" href="#wallpaper-links" id="wallpaper-links" name="wallpaper-links"><i class="anchor-icon"></i></a>Wallpaper links</h3>
<p>Used to share and install chat backgrounds (wallpapers): see <a href="/api/wallpapers">here for more info on the various wallpaper and fill types »</a>. </p> <p>Used to share and install chat backgrounds (wallpapers): see <a href="/api/wallpapers">here for more info on the various wallpaper and fill types »</a>. </p>
<h4><a class="anchor" href="#solid-fill-wallpapers-" id="solid-fill-wallpapers-" name="solid-fill-wallpapers-"><i class="anchor-icon"></i></a><a href="/api/wallpapers#fill-wallpapers">Solid fill wallpapers »</a></h4> <h4><a class="anchor" href="#image-wallpapers" id="image-wallpapers" name="image-wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers#image-wallpapers">Image wallpapers</a></h4>
<p>Used for <a href="/api/wallpapers#image-wallpapers">image-based wallpapers »</a>. </p>
<p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;slug&gt;?mode=&lt;mode&gt;</code></pre>
<p>tg: syntax:</p>
<pre><code>tg://bg?slug=&lt;slug&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>Parameters:</p>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th style="text-align: center;">Optional</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>slug</code></td>
<td style="text-align: center;">Required</td>
<td>Wallpaper slug used to obtain the image file using <a href="/method/account.getWallPaper">account.getWallPaper</a>.</td>
</tr>
<tr>
<td><code>mode</code></td>
<td style="text-align: center;">Optional</td>
<td><code>blur</code>, <code>motion</code> or <code>blur+motion</code> to enable blurring or parallax motion as specified in the <a href="/api/wallpapers#image-wallpapers">docs »</a>.</td>
</tr>
</tbody>
</table>
<h4><a class="anchor" href="#solid-fill-wallpapers" id="solid-fill-wallpapers" name="solid-fill-wallpapers"><i class="anchor-icon"></i></a>Solid fill wallpapers</h4>
<p>Used for <a href="/api/wallpapers#fill-wallpapers">fill wallpapers »</a> with a <a href="/api/wallpapers#solid-fill">solid fill »</a>. </p>
<p>t.me syntax:</p> <p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;hex_color&gt;</code></pre> <pre><code>t.me/bg/&lt;hex_color&gt;</code></pre>
<p>tg: syntax:</p> <p>tg: syntax:</p>
@ -217,7 +246,8 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h4><a class="anchor" href="#gradient-fill-wallpapers-" id="gradient-fill-wallpapers-" name="gradient-fill-wallpapers-"><i class="anchor-icon"></i></a><a href="/api/wallpapers#fill-wallpapers">Gradient fill wallpapers »</a></h4> <h4><a class="anchor" href="#gradient-fill-wallpapers" id="gradient-fill-wallpapers" name="gradient-fill-wallpapers"><i class="anchor-icon"></i></a>Gradient fill wallpapers</h4>
<p>Used for <a href="/api/wallpapers#fill-wallpapers">fill wallpapers »</a> with a <a href="/api/wallpapers#gradient-fill">gradient fill »</a>. </p>
<p>t.me syntax:</p> <p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;top_color&gt;-&lt;bottom_color&gt;?rotation=&lt;rotation&gt;</code></pre> <pre><code>t.me/bg/&lt;top_color&gt;-&lt;bottom_color&gt;?rotation=&lt;rotation&gt;</code></pre>
<p>tg: syntax:</p> <p>tg: syntax:</p>
@ -249,7 +279,8 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h4><a class="anchor" href="#freeform-gradient-fill-wallpapers-" id="freeform-gradient-fill-wallpapers-" name="freeform-gradient-fill-wallpapers-"><i class="anchor-icon"></i></a><a href="/api/wallpapers#fill-wallpapers">Freeform gradient fill wallpapers »</a></h4> <h4><a class="anchor" href="#freeform-gradient-fill-wallpapers" id="freeform-gradient-fill-wallpapers" name="freeform-gradient-fill-wallpapers"><i class="anchor-icon"></i></a>Freeform gradient fill wallpapers</h4>
<p>Used for <a href="/api/wallpapers#fill-wallpapers">fill wallpapers »</a> with a <a href="/api/wallpapers#freeform-gradient-fill">freeform gradient fill »</a>. </p>
<p>t.me syntax:</p> <p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;hex_color1&gt;~&lt;hex_color2&gt;~&lt;hex_color3&gt;~&lt;hex_color4&gt;</code></pre> <pre><code>t.me/bg/&lt;hex_color1&gt;~&lt;hex_color2&gt;~&lt;hex_color3&gt;~&lt;hex_color4&gt;</code></pre>
<p>tg: syntax:</p> <p>tg: syntax:</p>
@ -286,38 +317,12 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h4><a class="anchor" href="#image-wallpapers" id="image-wallpapers" name="image-wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers#image-wallpapers">Image wallpapers</a></h4> <h4><a class="anchor" href="#solid-pattern-wallpapers" id="solid-pattern-wallpapers" name="solid-pattern-wallpapers"><i class="anchor-icon"></i></a>Solid pattern wallpapers</h4>
<p>Used for <a href="/api/wallpapers#pattern-wallpapers">pattern wallpapers »</a> with a <a href="/api/wallpapers#solid-fill">solid fill »</a>. </p>
<p>t.me syntax:</p> <p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;slug&gt;?mode=&lt;mode&gt;</code></pre> <pre><code>t.me/bg/&lt;slug&gt;?intensity=&lt;intensity&gt;&amp;bg_color=&lt;bg_color&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>tg: syntax:</p> <p>tg: syntax:</p>
<pre><code>tg://bg?slug=&lt;slug&gt;&amp;mode=&lt;mode&gt;</code></pre> <pre><code>tg://bg?slug=&lt;slug&gt;&amp;intensity=&lt;intensity&gt;&amp;bg_color=&lt;bg_color&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>Parameters:</p>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th style="text-align: center;">Optional</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>slug</code></td>
<td style="text-align: center;">Required</td>
<td>Wallpaper slug used to obtain the image file using <a href="/method/account.getWallPaper">account.getWallPaper</a>.</td>
</tr>
<tr>
<td><code>mode</code></td>
<td style="text-align: center;">Optional</td>
<td><code>blur</code>, <code>motion</code> or <code>blur+motion</code> to enable blurring or parallax motion as specified in the <a href="/api/wallpapers#image-wallpapers">docs</a>.</td>
</tr>
</tbody>
</table>
<h4><a class="anchor" href="#pattern-wallpapers" id="pattern-wallpapers" name="pattern-wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers#pattern-wallpapers">Pattern wallpapers</a></h4>
<p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;slug&gt;?intensity=&lt;intensity&gt;&amp;bg_color=&lt;params&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>tg: syntax:</p>
<pre><code>tg://bg?slug=&lt;slug&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>Parameters:</p> <p>Parameters:</p>
<table class="table"> <table class="table">
<thead> <thead>
@ -339,6 +344,112 @@
<td>A value ranging from -100 to 100, used to combine the pattern with the fill <a href="/api/wallpapers#pattern-wallpapers">as specified in the docs</a>.</td> <td>A value ranging from -100 to 100, used to combine the pattern with the fill <a href="/api/wallpapers#pattern-wallpapers">as specified in the docs</a>.</td>
</tr> </tr>
<tr> <tr>
<td><code>bg_color</code></td>
<td style="text-align: center;">Required</td>
<td>Fill color in hex RGB format.</td>
</tr>
<tr>
<td><code>mode</code></td>
<td style="text-align: center;">Optional</td>
<td><code>motion</code> to enable parallax motion as specified in the <a href="/api/wallpapers#image-wallpapers">docs</a>.</td>
</tr>
</tbody>
</table>
<h4><a class="anchor" href="#gradient-pattern-wallpapers" id="gradient-pattern-wallpapers" name="gradient-pattern-wallpapers"><i class="anchor-icon"></i></a>Gradient pattern wallpapers</h4>
<p>Used for <a href="/api/wallpapers#pattern-wallpapers">pattern wallpapers »</a> with a <a href="/api/wallpapers#gradient-fill">gradient fill »</a>. </p>
<p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;slug&gt;?intensity=&lt;intensity&gt;&amp;bg_color=&lt;top_color&gt;-&lt;bottom_color&gt;&amp;rotation=&lt;rotation&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>tg: syntax:</p>
<pre><code>tg://bg?slug=&lt;slug&gt;&amp;intensity=&lt;intensity&gt;&amp;bg_color=&lt;top_color&gt;-&lt;bottom_color&gt;&amp;rotation=&lt;rotation&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>Parameters:</p>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th style="text-align: center;">Optional</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>slug</code></td>
<td style="text-align: center;">Required</td>
<td>Wallpaper slug used to obtain the pattern file using <a href="/method/account.getWallPaper">account.getWallPaper</a>.</td>
</tr>
<tr>
<td><code>intensity</code></td>
<td style="text-align: center;">Required</td>
<td>A value ranging from -100 to 100, used to combine the pattern with the fill <a href="/api/wallpapers#pattern-wallpapers">as specified in the docs</a>.</td>
</tr>
<tr>
<td><code>top_color</code></td>
<td style="text-align: center;">Required</td>
<td>Top gradient color in hex RGB format.</td>
</tr>
<tr>
<td><code>bottom_color</code></td>
<td style="text-align: center;">Required</td>
<td>Bottom gradient color in hex RGB format.</td>
</tr>
<tr>
<td><code>rotation</code></td>
<td style="text-align: center;">Optional</td>
<td>Clockwise rotation angle of the gradient, in degrees; 0-359. Must be always divisible by 45, default to 0 if not set.</td>
</tr>
<tr>
<td><code>mode</code></td>
<td style="text-align: center;">Optional</td>
<td><code>motion</code> to enable parallax motion as specified in the <a href="/api/wallpapers#image-wallpapers">docs</a>.</td>
</tr>
</tbody>
</table>
<h4><a class="anchor" href="#freeform-gradient-pattern-wallpapers" id="freeform-gradient-pattern-wallpapers" name="freeform-gradient-pattern-wallpapers"><i class="anchor-icon"></i></a>Freeform gradient pattern wallpapers</h4>
<p>Used for <a href="/api/wallpapers#pattern-wallpapers">pattern wallpapers »</a> with a <a href="/api/wallpapers#freeform-gradient-fill">freeform gradient fill »</a>. </p>
<p>t.me syntax:</p>
<pre><code>t.me/bg/&lt;slug&gt;?intensity=&lt;intensity&gt;&amp;bg_color=&lt;hex_color1&gt;~&lt;hex_color2&gt;~&lt;hex_color3&gt;~&lt;hex_color4&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>tg: syntax:</p>
<pre><code>tg://bg?slug=&lt;slug&gt;&amp;intensity=&lt;intensity&gt;&amp;bg_color=&lt;hex_color1&gt;~&lt;hex_color2&gt;~&lt;hex_color3&gt;~&lt;hex_color4&gt;&amp;mode=&lt;mode&gt;</code></pre>
<p>Parameters:</p>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th style="text-align: center;">Optional</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>slug</code></td>
<td style="text-align: center;">Required</td>
<td>Wallpaper slug used to obtain the pattern file using <a href="/method/account.getWallPaper">account.getWallPaper</a>.</td>
</tr>
<tr>
<td><code>intensity</code></td>
<td style="text-align: center;">Required</td>
<td>A value ranging from -100 to 100, used to combine the pattern with the fill <a href="/api/wallpapers#pattern-wallpapers">as specified in the docs</a>.</td>
</tr>
<tr>
<td><code>hex_color1</code></td>
<td style="text-align: center;">Required</td>
<td>First gradient color in hex RGB format.</td>
</tr>
<tr>
<td><code>hex_color2</code></td>
<td style="text-align: center;">Required</td>
<td>Second gradient color in hex RGB format.</td>
</tr>
<tr>
<td><code>hex_color3</code></td>
<td style="text-align: center;">Required</td>
<td>Third gradient color in hex RGB format.</td>
</tr>
<tr>
<td><code>hex_color4</code></td>
<td style="text-align: center;">Optional</td>
<td>Fourth gradient color in hex RGB format.</td>
</tr>
<tr>
<td><code>mode</code></td> <td><code>mode</code></td>
<td style="text-align: center;">Optional</td> <td style="text-align: center;">Optional</td>
<td><code>motion</code> to enable parallax motion as specified in the <a href="/api/wallpapers#image-wallpapers">docs</a>.</td> <td><code>motion</code> to enable parallax motion as specified in the <a href="/api/wallpapers#image-wallpapers">docs</a>.</td>

View file

@ -77,10 +77,7 @@
<h3><a class="anchor" name="press-contacts" href="#press-contacts"><i class="anchor-icon"></i></a>Press Contacts</h3> <h3><a class="anchor" name="press-contacts" href="#press-contacts"><i class="anchor-icon"></i></a>Press Contacts</h3>
<p>For <strong>media requests</strong>, please contact <a href="https://t.me/pressbot">@PressBot</a> on Telegram.</p> <p>For <strong>media requests</strong>, please contact <a href="https://t.me/pressbot">@PressBot</a> on Telegram.</p>
<h3><a class="anchor" name="videos" href="#videos"><i class="anchor-icon"></i></a>Videos</h3> <h3><a class="anchor" name="videos" href="#videos"><i class="anchor-icon"></i></a>Videos</h3>
<p>To see Telegram in action, check out the <a href="/blog">Telegram Blog</a> or the <a href="https://t.me/s/Telegram">@telegram</a> channel.</p> <p>To see Telegram in action, check out the <a href="/blog">Telegram Blog</a> or the <a href="https://t.me/s/Telegram">@telegram</a> channel. To learn more about what you can do with Telegram, see <a href="https://t.me/s/TelegramTips">@TelegramTips</a></p>
<blockquote>
<p>To learn what Telegram can do for you, see <a href="https://t.me/s/TelegramTips">@TelegramTips</a></p>
</blockquote>
<h3><a class="anchor" name="screenshots" href="#screenshots"><i class="anchor-icon"></i></a>Screenshots</h3> <h3><a class="anchor" name="screenshots" href="#screenshots"><i class="anchor-icon"></i></a>Screenshots</h3>
<p>All Telegram screenshots on this page are dedicated to the <strong>public domain</strong>, see <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0 Universal</a>. Click on images to download hi-res versions.</p> <p>All Telegram screenshots on this page are dedicated to the <strong>public domain</strong>, see <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0 Universal</a>. Click on images to download hi-res versions.</p>
<div class="blog_2images_wrap"> <div class="blog_2images_wrap">