Update content of files

This commit is contained in:
GitHub Action 2022-09-21 19:52:33 +00:00
parent e8581ef1b3
commit a136f0ad79

View file

@ -190,6 +190,42 @@
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#share-links" id="share-links" name="share-links"><i class="anchor-icon"></i></a>Share links</h3>
<p>Used to share a prepared message and URL into a chosen chat's text field.<br>
These links should be handled as follows:</p>
<ul>
<li>Open a dialog selection prompt</li>
<li>After selection: validate, trim and enter the URL at the beginning of the text field</li>
<li>Append a newline to the text field</li>
<li>Append and select the <code>text</code>, if present</li>
</ul>
<p><code>t.me</code> syntax:</p>
<pre><code>t.me/share?url=&lt;url&gt;
t.me/share/url?url=&lt;url&gt;&amp;text=&lt;text&gt;</code></pre>
<p><code>tg:</code> syntax:</p>
<pre><code>tg://msg_url?url=&lt;url&gt;&amp;text=&lt;text&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>url</code></td>
<td style="text-align: center;">Required</td>
<td>URL to share (urlencoded)</td>
</tr>
<tr>
<td><code>text</code></td>
<td style="text-align: center;">Optional</td>
<td>Message to share</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#voice-chatvideo-chatlivestream-links" id="voice-chatvideo-chatlivestream-links" name="voice-chatvideo-chatlivestream-links"><i class="anchor-icon"></i></a>Voice chat/Video chat/Livestream links</h3>
<p>Used to join voice chats and video chats in groups, and livestreams in channels.<br>
Such links are generated using <a href="/method/phone.exportGroupCallInvite">phone.exportGroupCallInvite</a>. </p>
@ -863,42 +899,6 @@ t.me/$&lt;slug&gt;</code></pre>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#draft-links" id="draft-links" name="draft-links"><i class="anchor-icon"></i></a>Draft links</h3>
<p>Used to enter a prepared message into a chosen chat's text field.<br>
These links should be handled as follows: </p>
<ul>
<li>Open a dialog selection prompt</li>
<li>After selection: validate, trim and enter the URL at the beginning of the text field</li>
<li>Append a newline to the text field</li>
<li>Append and select the <code>text</code>, if present</li>
</ul>
<p><code>t.me</code> syntax:</p>
<pre><code>t.me/share?url=&lt;url&gt;
t.me/share/url?url=&lt;url&gt;&amp;text=&lt;text&gt;</code></pre>
<p><code>tg:</code> syntax:</p>
<pre><code>tg://msg_url?url=&lt;url&gt;&amp;text=&lt;text&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>url</code></td>
<td style="text-align: center;">Required</td>
<td>URL to share</td>
</tr>
<tr>
<td><code>text</code></td>
<td style="text-align: center;">Optional</td>
<td>Message to share</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#telegram-passport-links" id="telegram-passport-links" name="telegram-passport-links"><i class="anchor-icon"></i></a>Telegram Passport links</h3>
<p>See <a href="/api/passport#uri-format">the Telegram Passport documentation for parameters and usage »</a>. </p>
<p><code>tg:</code> syntax:</p>