mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-01 12:42:07 +01:00
Update content of files
This commit is contained in:
parent
674e3cff31
commit
714f491729
2 changed files with 57 additions and 40 deletions
|
@ -48,6 +48,23 @@ Wallpapers must be rendered according to the instructions…">
|
|||
|
||||
<p>Telegram apps support generating and setting chat backgrounds.</p>
|
||||
<p>Wallpapers must be rendered according to the instructions contained in the wallpaper constructors. </p>
|
||||
<h3><a class="anchor" href="#installing-wallpapers" id="installing-wallpapers" name="installing-wallpapers"><i class="anchor-icon"></i></a>Installing wallpapers</h3>
|
||||
<pre><code><a href='/constructor/inputWallPaper'>inputWallPaper</a>#e630b979 id:<a href='/type/long'>long</a> access_hash:<a href='/type/long'>long</a> = <a href='/type/InputWallPaper'>InputWallPaper</a>;
|
||||
<a href='/constructor/inputWallPaperSlug'>inputWallPaperSlug</a>#72091c80 slug:<a href='/type/string'>string</a> = <a href='/type/InputWallPaper'>InputWallPaper</a>;
|
||||
<a href='/constructor/inputWallPaperNoFile'>inputWallPaperNoFile</a>#967a462e id:<a href='/type/long'>long</a> = <a href='/type/InputWallPaper'>InputWallPaper</a>;
|
||||
|
||||
<a href='/constructor/account.wallPapersNotModified'>account.wallPapersNotModified</a>#1c199183 = <a href='/type/account.WallPapers'>account.WallPapers</a>;
|
||||
<a href='/constructor/account.wallPapers'>account.wallPapers</a>#cdc3858c hash:<a href='/type/long'>long</a> wallpapers:<a href='/type/Vector%20t'>Vector</a><<a href='/type/WallPaper'>WallPaper</a>> = <a href='/type/account.WallPapers'>account.WallPapers</a>;
|
||||
|
||||
---functions---
|
||||
|
||||
<a href='/method/account.getMultiWallPapers'>account.getMultiWallPapers</a>#65ad71dc wallpapers:<a href='/type/Vector%20t'>Vector</a><<a href='/type/InputWallPaper'>InputWallPaper</a>> = <a href='/type/Vector%20t'>Vector</a><<a href='/type/WallPaper'>WallPaper</a>>;
|
||||
<a href='/method/account.getWallPapers'>account.getWallPapers</a>#7967d36 hash:<a href='/type/long'>long</a> = <a href='/type/account.WallPapers'>account.WallPapers</a>;
|
||||
<a href='/method/account.getWallPaper'>account.getWallPaper</a>#fc8ddbea wallpaper:<a href='/type/InputWallPaper'>InputWallPaper</a> = <a href='/type/WallPaper'>WallPaper</a>;
|
||||
<a href='/method/account.uploadWallPaper'>account.uploadWallPaper</a>#dd853661 file:<a href='/type/InputFile'>InputFile</a> mime_type:<a href='/type/string'>string</a> settings:<a href='/type/WallPaperSettings'>WallPaperSettings</a> = <a href='/type/WallPaper'>WallPaper</a>;
|
||||
<a href='/method/account.saveWallPaper'>account.saveWallPaper</a>#6c5a5b37 wallpaper:<a href='/type/InputWallPaper'>InputWallPaper</a> unsave:<a href='/type/Bool'>Bool</a> settings:<a href='/type/WallPaperSettings'>WallPaperSettings</a> = <a href='/type/Bool'>Bool</a>;
|
||||
<a href='/method/account.installWallPaper'>account.installWallPaper</a>#feed5769 wallpaper:<a href='/type/InputWallPaper'>InputWallPaper</a> settings:<a href='/type/WallPaperSettings'>WallPaperSettings</a> = <a href='/type/Bool'>Bool</a>;
|
||||
<a href='/method/account.resetWallPapers'>account.resetWallPapers</a>#bb3b9804 = <a href='/type/Bool'>Bool</a>;</code></pre>
|
||||
<h3><a class="anchor" href="#wallpaper-types" id="wallpaper-types" name="wallpaper-types"><i class="anchor-icon"></i></a>Wallpaper types</h3>
|
||||
<p>There are three main wallpaper types:</p>
|
||||
<ul>
|
||||
|
@ -80,7 +97,7 @@ The <code>settings</code> field describes the transforms that should be applied
|
|||
<li>Values from -1 to -100 mean that the pattern should be inverted (black background, transparent pattern) before overlaying on top of the <a href="#fill-types">color fill</a> with the specified intensity (@ -100 the filled pattern is fully visible on a black background, @ -1 only black is visible). </li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><code>settings.motion</code>: The combined background needs to be slightly moved when device is tilted, allowing for a parallax effect.</li>
|
||||
<li><code>settings.motion</code>: The background needs to be slightly moved when device is tilted, allowing for a parallax effect.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" href="#fill-wallpapers" id="fill-wallpapers" name="fill-wallpapers"><i class="anchor-icon"></i></a>Fill wallpapers</h4>
|
||||
<pre><code><a href='/constructor/wallPaperNoFile'>wallPaperNoFile</a>#e0804116 id:<a href='/type/long'>long</a> flags:<a href='/type/%23'>#</a> default:flags.1?<a href='/constructor/true'>true</a> dark:flags.4?<a href='/constructor/true'>true</a> settings:flags.2?<a href='/type/WallPaperSettings'>WallPaperSettings</a> = <a href='/type/WallPaper'>WallPaper</a>;</code></pre>
|
||||
|
|
|
@ -1094,6 +1094,45 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-wallpapers-" id="working-with-wallpapers-" name="working-with-wallpapers-"><i class="anchor-icon"></i></a>Working with <a href="/api/wallpapers">wallpapers »</a></h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/account.getMultiWallPapers">account.getMultiWallPapers</a></td>
|
||||
<td>Get info about multiple <a href="/api/wallpapers">wallpapers</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getWallPaper">account.getWallPaper</a></td>
|
||||
<td>Get info about a certain <a href="/api/wallpapers">wallpaper</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getWallPapers">account.getWallPapers</a></td>
|
||||
<td>Returns a list of available <a href="/api/wallpapers">wallpapers</a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.installWallPaper">account.installWallPaper</a></td>
|
||||
<td>Install <a href="/api/wallpapers">wallpaper</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.resetWallPapers">account.resetWallPapers</a></td>
|
||||
<td>Delete all installed <a href="/api/wallpapers">wallpapers</a>, reverting to the default wallpaper set.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.saveWallPaper">account.saveWallPaper</a></td>
|
||||
<td>Install/uninstall <a href="/api/wallpapers">wallpaper</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.uploadWallPaper">account.uploadWallPaper</a></td>
|
||||
<td>Create and upload a new <a href="/api/wallpapers">wallpaper</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-web-app-bots-" id="working-with-web-app-bots-" name="working-with-web-app-bots-"><i class="anchor-icon"></i></a>Working with <a href="/bots/webapps">web app bots »</a></h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
@ -2461,45 +2500,6 @@
|
|||
<td>Rate transcribed voice message</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-wallpapers" id="working-with-wallpapers" name="working-with-wallpapers"><i class="anchor-icon"></i></a>Working with wallpapers</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/account.getMultiWallPapers">account.getMultiWallPapers</a></td>
|
||||
<td>Get info about multiple wallpapers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getWallPaper">account.getWallPaper</a></td>
|
||||
<td>Get info about a certain wallpaper</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getWallPapers">account.getWallPapers</a></td>
|
||||
<td>Returns a list of available wallpapers.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.installWallPaper">account.installWallPaper</a></td>
|
||||
<td>Install wallpaper</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.resetWallPapers">account.resetWallPapers</a></td>
|
||||
<td>Delete installed wallpapers</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.saveWallPaper">account.saveWallPaper</a></td>
|
||||
<td>Install/uninstall wallpaper</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.uploadWallPaper">account.uploadWallPaper</a></td>
|
||||
<td>Create and upload a new wallpaper</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue