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
e8581ef1b3
commit
a136f0ad79
1 changed files with 36 additions and 36 deletions
|
@ -190,6 +190,42 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</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=<url>
|
||||||
|
t.me/share/url?url=<url>&text=<text></code></pre>
|
||||||
|
<p><code>tg:</code> syntax:</p>
|
||||||
|
<pre><code>tg://msg_url?url=<url>&text=<text></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>
|
<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>
|
<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>
|
Such links are generated using <a href="/method/phone.exportGroupCallInvite">phone.exportGroupCallInvite</a>. </p>
|
||||||
|
@ -863,42 +899,6 @@ t.me/$<slug></code></pre>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</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=<url>
|
|
||||||
t.me/share/url?url=<url>&text=<text></code></pre>
|
|
||||||
<p><code>tg:</code> syntax:</p>
|
|
||||||
<pre><code>tg://msg_url?url=<url>&text=<text></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>
|
<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>See <a href="/api/passport#uri-format">the Telegram Passport documentation for parameters and usage »</a>. </p>
|
||||||
<p><code>tg:</code> syntax:</p>
|
<p><code>tg:</code> syntax:</p>
|
||||||
|
|
Loading…
Reference in a new issue