mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-29 07:52:37 +01:00
Update content of files
This commit is contained in:
parent
41f90d0f1d
commit
5446ba70e2
6 changed files with 61 additions and 54 deletions
|
@ -394,7 +394,7 @@ It should be shown to the user in chat message previews, or while still download
|
|||
Sticker outlines will have a <code>j</code> type <a href="/constructor/photoPathSize">photoPathSize</a> thumbnail. </p>
|
||||
<p>This specific vector thumbnail consists of an <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths">SVG path</a>, specially encoded to save space.<br>
|
||||
This path will be the outline of the animated sticker, and should be shown to the user while downloading the actual sticker. </p>
|
||||
<p>As for stripped sizes, the payload should be inflated using the following algorithm:</p>
|
||||
<p>The payload should be inflated using the following algorithm:</p>
|
||||
<pre><code>encoded := photoPathSize.bytes
|
||||
|
||||
lookup := "AACAAAAHAAALMAAAQASTAVAAAZaacaaaahaaalmaaaqastava.az0123456789-,"
|
||||
|
|
|
@ -1019,7 +1019,7 @@ tg://resolve?domain=<bot_username>&startattach=<start_parameter>
|
|||
t.me/<username>?attach=<bot_username>&startattach=<start_parameter>
|
||||
t.me/+<phone_number>?attach=<bot_username>
|
||||
t.me/+<phone_number>?attach=<bot_username>&startattach=<start_parameter></code></pre>
|
||||
<p><code>tg:</code> syntax (install+open in chat):</p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://resolve?domain=<username>&attach=<bot_username>
|
||||
tg://resolve?domain=<username>&attach=<bot_username>&startattach=<start_parameter>
|
||||
tg://resolve?phone=<phone_number>&attach=<bot_username>
|
||||
|
@ -1061,7 +1061,7 @@ tg://resolve?phone=<phone_number>&attach=<bot_username>&star
|
|||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/<bot_username>?startattach&choose=users+bots+groups+channels
|
||||
t.me/<bot_username>?startattach=<start_parameter>&choose=users+bots+groups+channels</code></pre>
|
||||
<p><code>tg:</code> syntax (install):</p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://resolve?domain=<bot_username>&startattach&choose=users+bots+groups+channels
|
||||
tg://resolve?domain=<bot_username>&startattach=<start_parameter>&choose=users+bots+groups+channels</code></pre>
|
||||
<p>Parameters:</p>
|
||||
|
|
|
@ -111,8 +111,12 @@
|
|||
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
|
||||
<p><a href="/type/InputThemeSettings">InputThemeSettings</a></p>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#inputwallpaper" id="inputwallpaper" name="inputwallpaper"><i class="anchor-icon"></i></a><a href="/constructor/inputWallPaper">inputWallPaper</a></h4>
|
||||
<p><a href="/api/wallpapers">Wallpaper</a></p>
|
||||
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
|
||||
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p></div>
|
||||
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p>
|
||||
<h4><a class="anchor" href="#inputwallpapernofile" id="inputwallpapernofile" name="inputwallpapernofile"><i class="anchor-icon"></i></a><a href="/constructor/inputWallPaperNoFile">inputWallPaperNoFile</a></h4>
|
||||
<p><a href="/api/wallpapers">Wallpaper</a> with no file access hash, used for example when deleting (<code>unsave=true</code>) wallpapers using <a href="/method/account.saveWallPaper">account.saveWallPaper</a>, specifying just the wallpaper ID.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -118,7 +118,10 @@
|
|||
<td>The specified theme title is invalid.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#deep-links" id="deep-links" name="deep-links"><i class="anchor-icon"></i></a><a href="/api/links">Deep links</a></h4>
|
||||
<p>Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -116,8 +116,8 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
|
||||
<h4><a class="anchor" href="#uploading-and-downloading-files" id="uploading-and-downloading-files" name="uploading-and-downloading-files"><i class="anchor-icon"></i></a><a href="/api/files">Uploading and Downloading Files</a></h4>
|
||||
<p>How to transfer large data batches correctly.</p></div>
|
||||
<h4><a class="anchor" href="#themes" id="themes" name="themes"><i class="anchor-icon"></i></a><a href="/api/themes">Themes</a></h4>
|
||||
<p>Telegram apps support generating, sharing and synchronizing app themes.</p></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -813,6 +813,53 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-cloud-themes" id="working-with-cloud-themes" name="working-with-cloud-themes"><i class="anchor-icon"></i></a>Working with <a href="/api/themes">cloud themes</a></h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/account.updateTheme">account.updateTheme</a></td>
|
||||
<td>Update theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.uploadTheme">account.uploadTheme</a></td>
|
||||
<td>Upload theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getThemes">account.getThemes</a></td>
|
||||
<td>Get installed themes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.createTheme">account.createTheme</a></td>
|
||||
<td>Create a theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.installTheme">account.installTheme</a></td>
|
||||
<td>Install a theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.saveTheme">account.saveTheme</a></td>
|
||||
<td>Save a theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getTheme">account.getTheme</a></td>
|
||||
<td>Get theme information</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getChatThemes">account.getChatThemes</a></td>
|
||||
<td>Get all available chat themes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.setChatTheme">messages.setChatTheme</a></td>
|
||||
<td>Change the chat theme of a certain chat</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-deep-links" id="working-with-deep-links" name="working-with-deep-links"><i class="anchor-icon"></i></a>Working with <a href="/bots#deep-linking">deep links</a></h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
@ -1283,53 +1330,6 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-cloud-themes" id="working-with-cloud-themes" name="working-with-cloud-themes"><i class="anchor-icon"></i></a>Working with cloud themes</h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="/method/account.updateTheme">account.updateTheme</a></td>
|
||||
<td>Update theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.uploadTheme">account.uploadTheme</a></td>
|
||||
<td>Upload theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getThemes">account.getThemes</a></td>
|
||||
<td>Get installed themes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.createTheme">account.createTheme</a></td>
|
||||
<td>Create a theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.installTheme">account.installTheme</a></td>
|
||||
<td>Install a theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.saveTheme">account.saveTheme</a></td>
|
||||
<td>Save a theme</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getTheme">account.getTheme</a></td>
|
||||
<td>Get theme information</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/account.getChatThemes">account.getChatThemes</a></td>
|
||||
<td>Get all available chat themes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="/method/messages.setChatTheme">messages.setChatTheme</a></td>
|
||||
<td>Change the chat theme of a certain chat</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#working-with-contacts-and-top-peers" id="working-with-contacts-and-top-peers" name="working-with-contacts-and-top-peers"><i class="anchor-icon"></i></a>Working with contacts and <a href="/api/top-rating">top peers</a></h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
|
Loading…
Reference in a new issue