mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 07:20:31 +01:00
Update content of files
This commit is contained in:
parent
b72efcc59f
commit
b75b73e9be
2 changed files with 145 additions and 37 deletions
|
@ -195,7 +195,36 @@
|
|||
</table>
|
||||
<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>
|
||||
<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/<slug>?mode=<mode></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
<pre><code>tg://bg?slug=<slug>&mode=<mode></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>
|
||||
<pre><code>t.me/bg/<hex_color></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
|
@ -217,7 +246,8 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</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>
|
||||
<pre><code>t.me/bg/<top_color>-<bottom_color>?rotation=<rotation></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
|
@ -249,7 +279,8 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</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>
|
||||
<pre><code>t.me/bg/<hex_color1>~<hex_color2>~<hex_color3>~<hex_color4></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
|
@ -286,38 +317,12 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</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>
|
||||
<pre><code>t.me/bg/<slug>?mode=<mode></code></pre>
|
||||
<pre><code>t.me/bg/<slug>?intensity=<intensity>&bg_color=<bg_color>&mode=<mode></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
<pre><code>tg://bg?slug=<slug>&mode=<mode></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/<slug>?intensity=<intensity>&bg_color=<params>&mode=<mode></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
<pre><code>tg://bg?slug=<slug>&mode=<mode></code></pre>
|
||||
<pre><code>tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<bg_color>&mode=<mode></code></pre>
|
||||
<p>Parameters:</p>
|
||||
<table class="table">
|
||||
<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>
|
||||
</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/<slug>?intensity=<intensity>&bg_color=<top_color>-<bottom_color>&rotation=<rotation>&mode=<mode></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
<pre><code>tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<top_color>-<bottom_color>&rotation=<rotation>&mode=<mode></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/<slug>?intensity=<intensity>&bg_color=<hex_color1>~<hex_color2>~<hex_color3>~<hex_color4>&mode=<mode></code></pre>
|
||||
<p>tg: syntax:</p>
|
||||
<pre><code>tg://bg?slug=<slug>&intensity=<intensity>&bg_color=<hex_color1>~<hex_color2>~<hex_color3>~<hex_color4>&mode=<mode></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 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>
|
||||
|
|
|
@ -77,10 +77,7 @@
|
|||
<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>
|
||||
<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>
|
||||
<blockquote>
|
||||
<p>To learn what Telegram can do for you, see <a href="https://t.me/s/TelegramTips">@TelegramTips</a></p>
|
||||
</blockquote>
|
||||
<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>
|
||||
<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>
|
||||
<div class="blog_2images_wrap">
|
||||
|
|
Loading…
Reference in a new issue