mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
Update content of files
This commit is contained in:
parent
13f7a94923
commit
17fe58e1c3
1 changed files with 217 additions and 239 deletions
|
@ -107,28 +107,6 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<p>Note that <a href="#message-links">chat invite links</a> have the same syntax, but <code><phone_number></code> is not a valid phone number. </p>
|
||||
<h3><a class="anchor" href="#user-id-links" id="user-id-links" name="user-id-links"><i class="anchor-icon"></i></a>User ID links</h3>
|
||||
<p>Used to link to users by their user ID: such links should only be parsed when encountered in inline or reply keyboard buttons.<br>
|
||||
They are useful when linking to users without a username, but of course they will work only if the client has the user's access hash already stored in its database. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://user?id=<user_id></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>user_id</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>User ID</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#chat-invite-links" id="chat-invite-links" name="chat-invite-links"><i class="anchor-icon"></i></a>Chat invite links</h3>
|
||||
<p>Used to invite users to private groups and channels, see <a href="/api/invites#invite-links">here for more info on how to generate such links »</a>. </p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
|
@ -211,48 +189,12 @@ They are useful when linking to users without a username, but of course they wil
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#settings-links" id="settings-links" name="settings-links"><i class="anchor-icon"></i></a>Settings links</h3>
|
||||
<h4><a class="anchor" href="#settings-link" id="settings-link" name="settings-link"><i class="anchor-icon"></i></a>Settings link</h4>
|
||||
<p>Used to bring the user to the app settings. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#change-phone-number-link" id="change-phone-number-link" name="change-phone-number-link"><i class="anchor-icon"></i></a>Change phone number link</h4>
|
||||
<p>Used to bring the user to the phone number modification page, invoking <a href="/method/account.sendChangePhoneCode">account.sendChangePhoneCode</a> and <a href="/method/account.changePhone">account.changePhone</a>.</p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/change_number</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#active-sessions-link" id="active-sessions-link" name="active-sessions-link"><i class="anchor-icon"></i></a>Active sessions link</h4>
|
||||
<p>Used to bring the user to the active sessions page, calling <a href="/method/account.getAuthorizations">account.getAuthorizations</a>. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/devices</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#folder-settings-link" id="folder-settings-link" name="folder-settings-link"><i class="anchor-icon"></i></a>Folder settings link</h4>
|
||||
<p>Used to bring the user to the <a href="/api/folders">folder settings</a>. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/folders</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#language-settings-link" id="language-settings-link" name="language-settings-link"><i class="anchor-icon"></i></a>Language settings link</h4>
|
||||
<p>Used to bring the user to the language settings. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/language</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#privacy-and-security-settings-link" id="privacy-and-security-settings-link" name="privacy-and-security-settings-link"><i class="anchor-icon"></i></a>Privacy and security settings link</h4>
|
||||
<p>Used to bring the user to the privacy and security settings. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/privacy</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#theme-settings-link" id="theme-settings-link" name="theme-settings-link"><i class="anchor-icon"></i></a>Theme settings link</h4>
|
||||
<p>Used to bring the user to the theme settings section of the app. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/theme</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h3><a class="anchor" href="#login-code-link" id="login-code-link" name="login-code-link"><i class="anchor-icon"></i></a>Login code link</h3>
|
||||
<p>Contains the phone number verification code to use during <a href="/api/auth">user authorization »</a>. </p>
|
||||
<h3><a class="anchor" href="#stickerset-links" id="stickerset-links" name="stickerset-links"><i class="anchor-icon"></i></a>Stickerset links</h3>
|
||||
<p>Used to import stickersets:</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/login/<code></code></pre>
|
||||
<pre><code>t.me/addstickers/<name></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://login?code=<code></code></pre>
|
||||
<pre><code>tg://addstickers?set=<name></code></pre>
|
||||
<p>Parameters:</p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
|
@ -264,9 +206,161 @@ They are useful when linking to users without a username, but of course they wil
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>code</code></td>
|
||||
<td><code>name</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Login code.</td>
|
||||
<td>Stickerset name</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#custom-emoji-stickerset-links" id="custom-emoji-stickerset-links" name="custom-emoji-stickerset-links"><i class="anchor-icon"></i></a>Custom emoji stickerset links</h3>
|
||||
<p>Used to import custom emoji stickersets:</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/addemoji/<name></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://addemoji?set=<name></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>name</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Stickerset name</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#theme-links" id="theme-links" name="theme-links"><i class="anchor-icon"></i></a>Theme links</h3>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/addtheme/<name></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://addtheme?slug=<name></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>name</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Theme name</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>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/<username>?voicechat
|
||||
t.me/<username>?voicechat=<invite_hash>
|
||||
t.me/<username>?videochat
|
||||
t.me/<username>?videochat=<invite_hash>
|
||||
t.me/<username>?livestream
|
||||
t.me/<username>?livestream=<invite_hash></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://resolve?domain=<username>&voicechat
|
||||
tg://resolve?domain=<username>&voicechat=<invite_hash>
|
||||
tg://resolve?domain=<username>&videochat
|
||||
tg://resolve?domain=<username>&videochat=<invite_hash>
|
||||
tg://resolve?domain=<username>&livestream
|
||||
tg://resolve?domain=<username>&livestream=<invite_hash></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>invite_hash</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Invite hash exported if the <code>can_self_unmute</code> flag is set when calling <a href="/method/phone.exportGroupCallInvite">phone.exportGroupCallInvite</a>: should be passed to <a href="/method/phone.joinGroupCall">phone.joinGroupCall</a>, allows the user to speak in livestreams or muted group chats.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#proxy-links" id="proxy-links" name="proxy-links"><i class="anchor-icon"></i></a>Proxy links</h3>
|
||||
<p>Used to share a proxy server that can be used to connect to Telegram. </p>
|
||||
<h4><a class="anchor" href="#mtproxy-links" id="mtproxy-links" name="mtproxy-links"><i class="anchor-icon"></i></a>MTProxy links</h4>
|
||||
<p>Used for <a href="/mtproto/mtproto-transports#transport-obfuscation">MTProxies »</a>.</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/proxy?server=<server>&port=<port>&secret=<secret></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://proxy?server=<server>&port=<port>&secret=<secret></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>server</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>MTProxy server IP address or host</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>port</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>MTProxy server port</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>secret</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>MTProxy <a href="/mtproto/mtproto-transports#transport-obfuscation">secret »</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4><a class="anchor" href="#socks5-proxy-links" id="socks5-proxy-links" name="socks5-proxy-links"><i class="anchor-icon"></i></a>Socks5 proxy links</h4>
|
||||
<p>Used for socks5 proxies.</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/socks?server=<server>&port=<port>&user=<user>&pass=<pass></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://socks?server=<server>&port=<port>&user=<user>&pass=<pass></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>server</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Proxy server IP address or host</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>port</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Proxy server port</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>user</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Proxy server username</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>pass</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Proxy server password</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -661,6 +755,65 @@ tg://resolve?domain=<bot_username>&startgroup&admin=<permission
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#settings-links" id="settings-links" name="settings-links"><i class="anchor-icon"></i></a>Settings links</h3>
|
||||
<h4><a class="anchor" href="#settings-link" id="settings-link" name="settings-link"><i class="anchor-icon"></i></a>Settings link</h4>
|
||||
<p>Used to bring the user to the app settings. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#change-phone-number-link" id="change-phone-number-link" name="change-phone-number-link"><i class="anchor-icon"></i></a>Change phone number link</h4>
|
||||
<p>Used to bring the user to the phone number modification page, invoking <a href="/method/account.sendChangePhoneCode">account.sendChangePhoneCode</a> and <a href="/method/account.changePhone">account.changePhone</a>.</p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/change_number</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#active-sessions-link" id="active-sessions-link" name="active-sessions-link"><i class="anchor-icon"></i></a>Active sessions link</h4>
|
||||
<p>Used to bring the user to the active sessions page, calling <a href="/method/account.getAuthorizations">account.getAuthorizations</a>. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/devices</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#folder-settings-link" id="folder-settings-link" name="folder-settings-link"><i class="anchor-icon"></i></a>Folder settings link</h4>
|
||||
<p>Used to bring the user to the <a href="/api/folders">folder settings</a>. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/folders</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#language-settings-link" id="language-settings-link" name="language-settings-link"><i class="anchor-icon"></i></a>Language settings link</h4>
|
||||
<p>Used to bring the user to the language settings. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/language</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#privacy-and-security-settings-link" id="privacy-and-security-settings-link" name="privacy-and-security-settings-link"><i class="anchor-icon"></i></a>Privacy and security settings link</h4>
|
||||
<p>Used to bring the user to the privacy and security settings. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/privacy</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h4><a class="anchor" href="#theme-settings-link" id="theme-settings-link" name="theme-settings-link"><i class="anchor-icon"></i></a>Theme settings link</h4>
|
||||
<p>Used to bring the user to the theme settings section of the app. </p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://settings/theme</code></pre>
|
||||
<p>No parameters.</p>
|
||||
<h3><a class="anchor" href="#login-code-link" id="login-code-link" name="login-code-link"><i class="anchor-icon"></i></a>Login code link</h3>
|
||||
<p>Contains the phone number verification code to use during <a href="/api/auth">user authorization »</a>. </p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/login/<code></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://login?code=<code></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>code</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Login code.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#invoice-links" id="invoice-links" name="invoice-links"><i class="anchor-icon"></i></a>Invoice links</h3>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/invoice/<slug>
|
||||
|
@ -798,79 +951,6 @@ These links are used to confirm ownership of the phone number, to prevent accoun
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#proxy-links" id="proxy-links" name="proxy-links"><i class="anchor-icon"></i></a>Proxy links</h3>
|
||||
<p>Used to share a proxy server that can be used to connect to Telegram. </p>
|
||||
<h4><a class="anchor" href="#mtproxy-links" id="mtproxy-links" name="mtproxy-links"><i class="anchor-icon"></i></a>MTProxy links</h4>
|
||||
<p>Used for <a href="/mtproto/mtproto-transports#transport-obfuscation">MTProxies »</a>.</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/proxy?server=<server>&port=<port>&secret=<secret></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://proxy?server=<server>&port=<port>&secret=<secret></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>server</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>MTProxy server IP address or host</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>port</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>MTProxy server port</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>secret</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>MTProxy <a href="/mtproto/mtproto-transports#transport-obfuscation">secret »</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4><a class="anchor" href="#socks5-proxy-links" id="socks5-proxy-links" name="socks5-proxy-links"><i class="anchor-icon"></i></a>Socks5 proxy links</h4>
|
||||
<p>Used for socks5 proxies.</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/socks?server=<server>&port=<port>&user=<user>&pass=<pass></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://socks?server=<server>&port=<port>&user=<user>&pass=<pass></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>server</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Proxy server IP address or host</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>port</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Proxy server port</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>user</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Proxy server username</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>pass</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Proxy server password</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#qr-code-login-links" id="qr-code-login-links" name="qr-code-login-links"><i class="anchor-icon"></i></a>QR code login links</h3>
|
||||
<p>Used by <a href="/api/qr-login">QR code login</a>.</p>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
|
@ -892,108 +972,6 @@ These links are used to confirm ownership of the phone number, to prevent accoun
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#stickerset-links" id="stickerset-links" name="stickerset-links"><i class="anchor-icon"></i></a>Stickerset links</h3>
|
||||
<p>Used to import stickersets:</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/addstickers/<name></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://addstickers?set=<name></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>name</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Stickerset name</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#custom-emoji-stickerset-links" id="custom-emoji-stickerset-links" name="custom-emoji-stickerset-links"><i class="anchor-icon"></i></a>Custom emoji stickerset links</h3>
|
||||
<p>Used to import custom emoji stickersets:</p>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/addemoji/<name></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://addemoji?set=<name></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>name</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Stickerset name</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#theme-links" id="theme-links" name="theme-links"><i class="anchor-icon"></i></a>Theme links</h3>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/addtheme/<name></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://addtheme?slug=<name></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>name</code></td>
|
||||
<td style="text-align: center;">Required</td>
|
||||
<td>Theme name</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>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/<username>?voicechat
|
||||
t.me/<username>?voicechat=<invite_hash>
|
||||
t.me/<username>?videochat
|
||||
t.me/<username>?videochat=<invite_hash>
|
||||
t.me/<username>?livestream
|
||||
t.me/<username>?livestream=<invite_hash></code></pre>
|
||||
<p><code>tg:</code> syntax:</p>
|
||||
<pre><code>tg://resolve?domain=<username>&voicechat
|
||||
tg://resolve?domain=<username>&voicechat=<invite_hash>
|
||||
tg://resolve?domain=<username>&videochat
|
||||
tg://resolve?domain=<username>&videochat=<invite_hash>
|
||||
tg://resolve?domain=<username>&livestream
|
||||
tg://resolve?domain=<username>&livestream=<invite_hash></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>invite_hash</code></td>
|
||||
<td style="text-align: center;">Optional</td>
|
||||
<td>Invite hash exported if the <code>can_self_unmute</code> flag is set when calling <a href="/method/phone.exportGroupCallInvite">phone.exportGroupCallInvite</a>: should be passed to <a href="/method/phone.joinGroupCall">phone.joinGroupCall</a>, allows the user to speak in livestreams or muted group chats.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h3><a class="anchor" href="#bot-attachment-menu-links" id="bot-attachment-menu-links" name="bot-attachment-menu-links"><i class="anchor-icon"></i></a>Bot attachment menu links</h3>
|
||||
<p><code>t.me</code> syntax:</p>
|
||||
<pre><code>t.me/<username>?attach=<bot_username>
|
||||
|
|
Loading…
Reference in a new issue