Update content of files

This commit is contained in:
GitHub Action 2023-03-20 21:35:48 +00:00
parent ddf1046517
commit 57b6fb2e00
11 changed files with 73 additions and 215 deletions

View file

@ -1,118 +0,0 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<title>Page not found</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="">
<meta property="og:title" content="Page not found">
<meta property="og:image" content="">
<meta property="og:description" content="">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
<link rel="alternate icon" href="/img/favicon.ico" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet" media="screen">
<style>
</style>
</head>
<body class="preload">
<div class="dev_page_wrap">
<div class="dev_page_head navbar navbar-static-top navbar-tg">
<div class="navbar-inner">
<div class="container clearfix">
<ul class="nav navbar-nav navbar-right hidden-xs"><li class="navbar-twitter"><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)"><i class="icon icon-twitter"></i><span> Twitter</span></a></li></ul>
<ul class="nav navbar-nav">
<li><a href="//telegram.org/">Home</a></li>
<li class="hidden-xs"><a href="//telegram.org/faq">FAQ</a></li>
<li class="hidden-xs"><a href="//telegram.org/apps">Apps</a></li>
<li class="active"><a href="/api">API</a></li>
<li class=""><a href="/mtproto">Protocol</a></li>
<li class=""><a href="/schema">Schema</a></li>
</ul>
</div>
</div>
</div>
<div class="container clearfix">
<div class="dev_page">
<div id="dev_page_content_wrap" class=" ">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li></li></ul></div>
<h1 id="dev_page_title">Page not found</h1>
<div id="dev_page_content">The page has not been saved</div>
</div>
</div>
</div>
<div class="footer_wrap">
<div class="footer_columns_wrap footer_desktop">
<div class="footer_column footer_column_telegram">
<h5>Telegram</h5>
<div class="footer_telegram_description"></div>
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
</div>
<div class="footer_column">
<h5><a href="//telegram.org/faq">About</a></h5>
<ul>
<li><a href="//telegram.org/faq">FAQ</a></li>
<li><a href="//telegram.org/privacy">Privacy</a></li>
<li><a href="//telegram.org/press">Press</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps#mobile-apps">Mobile Apps</a></h5>
<ul>
<li><a href="//telegram.org/dl/ios">iPhone/iPad</a></li>
<li><a href="//telegram.org/android">Android</a></li>
<li><a href="//telegram.org/dl/web">Mobile Web</a></li>
</ul>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps#desktop-apps">Desktop Apps</a></h5>
<ul>
<li><a href="//desktop.telegram.org/">PC/Mac/Linux</a></li>
<li><a href="//macos.telegram.org/">macOS</a></li>
<li><a href="//telegram.org/dl/web">Web-browser</a></li>
</ul>
</div>
<div class="footer_column footer_column_platform">
<h5><a href="//core.telegram.org/">Platform</a></h5>
<ul>
<li><a href="//core.telegram.org/api">API</a></li>
<li><a href="//translations.telegram.org/">Translations</a></li>
<li><a href="//instantview.telegram.org/">Instant View</a></li>
</ul>
</div>
</div>
<div class="footer_columns_wrap footer_mobile">
<div class="footer_column">
<h5><a href="//telegram.org/faq">About</a></h5>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/blog">Blog</a></h5>
</div>
<div class="footer_column">
<h5><a href="//telegram.org/apps">Apps</a></h5>
</div>
<div class="footer_column">
<h5><a href="//core.telegram.org/">Platform</a></h5>
</div>
<div class="footer_column">
<h5><a href="https://twitter.com/telegram" target="_blank" data-track="Follow/Twitter" onclick="trackDlClick(this, event)">Twitter</a></h5>
</div>
</div>
</div>
</div>
<script src="/js/main.js?47"></script>
<script>backToTopInit("Go up");
removePreloadInit();
</script>
</body>
</html>

View file

@ -319,8 +319,8 @@
<li>Added <a href="/method/channels.reportAntiSpamFalsePositive">channels.reportAntiSpamFalsePositive</a> - Report a <a href="/api/antispam">native antispam</a> false positive</li> <li>Added <a href="/method/channels.reportAntiSpamFalsePositive">channels.reportAntiSpamFalsePositive</a> - Report a <a href="/api/antispam">native antispam</a> false positive</li>
<li>Added <a href="/method/messages.setDefaultHistoryTTL">messages.setDefaultHistoryTTL</a> - </li> <li>Added <a href="/method/messages.setDefaultHistoryTTL">messages.setDefaultHistoryTTL</a> - </li>
<li>Added <a href="/method/messages.getDefaultHistoryTTL">messages.getDefaultHistoryTTL</a> - </li> <li>Added <a href="/method/messages.getDefaultHistoryTTL">messages.getDefaultHistoryTTL</a> - </li>
<li>Added <a href="/method/contacts.exportContactToken">contacts.exportContactToken</a> - </li> <li>Added <a href="/method/contacts.exportContactToken">contacts.exportContactToken</a> - Generates a <a href="/api/links#temporary-profile-links">temporary profile link</a> for the currently logged-in user.</li>
<li>Added <a href="/method/contacts.importContactToken">contacts.importContactToken</a> - </li> <li>Added <a href="/method/contacts.importContactToken">contacts.importContactToken</a> - Obtain user info from a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</li>
</ul> </ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5> <h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
<ul> <ul>
@ -333,7 +333,7 @@
<li>Added <a href="/constructor/defaultHistoryTTL">defaultHistoryTTL</a> - </li> <li>Added <a href="/constructor/defaultHistoryTTL">defaultHistoryTTL</a> - </li>
<li>Added <a href="/constructor/auth.codeTypeFragmentSms">auth.codeTypeFragmentSms</a> - </li> <li>Added <a href="/constructor/auth.codeTypeFragmentSms">auth.codeTypeFragmentSms</a> - </li>
<li>Added <a href="/constructor/auth.sentCodeTypeFragmentSms">auth.sentCodeTypeFragmentSms</a> - </li> <li>Added <a href="/constructor/auth.sentCodeTypeFragmentSms">auth.sentCodeTypeFragmentSms</a> - </li>
<li>Added <a href="/constructor/exportedContactToken">exportedContactToken</a> - </li> <li>Added <a href="/constructor/exportedContactToken">exportedContactToken</a> - Describes a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</li>
<li>Added <a href="/constructor/channelAdminLogEventActionToggleAntiSpam">channelAdminLogEventActionToggleAntiSpam</a> - </li> <li>Added <a href="/constructor/channelAdminLogEventActionToggleAntiSpam">channelAdminLogEventActionToggleAntiSpam</a> - </li>
</ul> </ul>
<h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5> <h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5>

View file

@ -84,6 +84,30 @@
</tbody> </tbody>
</table> </table>
<p>Note that <a href="#message-links">message links</a> have the same syntax, with extra parameters. </p> <p>Note that <a href="#message-links">message links</a> have the same syntax, with extra parameters. </p>
<h3><a class="anchor" href="#temporary-profile-links" id="temporary-profile-links" name="temporary-profile-links"><i class="anchor-icon"></i></a>Temporary profile links</h3>
<p>Used to link to user profiles, generated using <a href="/method/contacts.exportContactToken">contacts.exportContactToken</a>.<br>
These links have an expiration date, specified by the <code>expires</code> field of the <a href="/constructor/exportedContactToken">exportedContactToken</a> constructor returned by <a href="/method/contacts.exportContactToken">contacts.exportContactToken</a>. </p>
<p><code>t.me</code> syntax:</p>
<pre><code>t.me/contact/&lt;token&gt;</code></pre>
<p><code>tg:</code> syntax:</p>
<pre><code>tg://contact?token=&lt;token&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>token</code></td>
<td style="text-align: center;">Required</td>
<td>Profile token to import using <a href="/method/contacts.importContactToken">contacts.importContactToken</a>, will return user information.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#phone-number-links" id="phone-number-links" name="phone-number-links"><i class="anchor-icon"></i></a>Phone number links</h3> <h3><a class="anchor" href="#phone-number-links" id="phone-number-links" name="phone-number-links"><i class="anchor-icon"></i></a>Phone number links</h3>
<p>Used to link to public and private users by their phone number. </p> <p>Used to link to public and private users by their phone number. </p>
<p><code>t.me</code> syntax:</p> <p><code>t.me</code> syntax:</p>

View file

@ -4,32 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>exportedContactToken</title> <title>exportedContactToken</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Describes a temporary profile link.">
Name
Type
Description
url
string
 
expires
int
 
Type
ExportedContactToken">
<meta property="og:title" content="exportedContactToken"> <meta property="og:title" content="exportedContactToken">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Describes a temporary profile link.">
Name
Type
Description
url
string
 
expires
int
 
Type
ExportedContactToken">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -64,7 +42,8 @@ ExportedContactToken">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/exportedContactToken" >exportedContactToken</a></li></ul></div> <div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/exportedContactToken" >exportedContactToken</a></li></ul></div>
<h1 id="dev_page_title">exportedContactToken</h1> <h1 id="dev_page_title">exportedContactToken</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Describes a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
@ -90,17 +69,20 @@ ExportedContactToken">
<tr> <tr>
<td><strong>url</strong></td> <td><strong>url</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td> <td>The <a href="/api/links#temporary-profile-links">temporary profile link</a>.</td>
</tr> </tr>
<tr> <tr>
<td><strong>expires</strong></td> <td><strong>expires</strong></td>
<td style="text-align: center;"><a href="/type/int">int</a></td> <td style="text-align: center;"><a href="/type/int">int</a></td>
<td> </td> <td>Its expiry date</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3> <h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/ExportedContactToken">ExportedContactToken</a></p></div> <p><a href="/type/ExportedContactToken">ExportedContactToken</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="#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> </div>

View file

@ -97,7 +97,7 @@
<tr> <tr>
<td><strong>icon_emoji_id</strong></td> <td><strong>icon_emoji_id</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/long">long</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/long">long</a></td>
<td>ID of the <a href="/api/custom-emoji">custom emoji</a> used as topic icon. <a href="/api/premium">Telegram Premium</a> users can use any custom emoji, other users can only use the custom emojis contained in the <a href="/api/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a> emoji pack.</td> <td>ID of the <a href="/api/custom-emoji">custom emoji</a> used as topic icon. <a href="/api/premium">Telegram Premium</a> users can use any custom emoji, other users can only use the custom emojis contained in the <a href="/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a> emoji pack.</td>
</tr> </tr>
<tr> <tr>
<td><strong>random_id</strong></td> <td><strong>random_id</strong></td>
@ -117,7 +117,8 @@
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3> <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="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4> <h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p> <p>Telegram allows including animated and static custom emojis inside of messages.</p>
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4></div> <h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
<h4><a class="anchor" href="#inputstickersetemojidefaulttopicicons" id="inputstickersetemojidefaulttopicicons" name="inputstickersetemojidefaulttopicicons"><i class="anchor-icon"></i></a><a href="/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a></h4></div>
</div> </div>

View file

@ -97,7 +97,7 @@
<tr> <tr>
<td><strong>icon_emoji_id</strong></td> <td><strong>icon_emoji_id</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/long">long</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/long">long</a></td>
<td>If present, updates the <a href="/api/custom-emoji">custom emoji</a> used as topic icon. <a href="/api/premium">Telegram Premium</a> users can use any custom emoji, other users can only use the custom emojis contained in the <a href="/api/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a> emoji pack. Pass 0 to switch to the fallback topic icon.</td> <td>If present, updates the <a href="/api/custom-emoji">custom emoji</a> used as topic icon. <a href="/api/premium">Telegram Premium</a> users can use any custom emoji, other users can only use the custom emojis contained in the <a href="/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a> emoji pack. Pass 0 to switch to the fallback topic icon.</td>
</tr> </tr>
<tr> <tr>
<td><strong>closed</strong></td> <td><strong>closed</strong></td>
@ -117,7 +117,8 @@
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3> <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="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4> <h4><a class="anchor" href="#custom-emojis" id="custom-emojis" name="custom-emojis"><i class="anchor-icon"></i></a><a href="/api/custom-emoji">Custom emojis</a></h4>
<p>Telegram allows including animated and static custom emojis inside of messages.</p> <p>Telegram allows including animated and static custom emojis inside of messages.</p>
<h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4></div> <h4><a class="anchor" href="#telegram-premium" id="telegram-premium" name="telegram-premium"><i class="anchor-icon"></i></a><a href="/api/premium">Telegram Premium</a></h4>
<h4><a class="anchor" href="#inputstickersetemojidefaulttopicicons" id="inputstickersetemojidefaulttopicicons" name="inputstickersetemojidefaulttopicicons"><i class="anchor-icon"></i></a><a href="/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a></h4></div>
</div> </div>

View file

@ -4,18 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>contacts.exportContactToken</title> <title>contacts.exportContactToken</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Generates a temporary profile link for the currently logged-in user.">
This constructor does not require any parameters.
Result
ExportedContactToken
Bots can use this method">
<meta property="og:title" content="contacts.exportContactToken"> <meta property="og:title" content="contacts.exportContactToken">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Generates a temporary profile link for the currently logged-in user.">
This constructor does not require any parameters.
Result
ExportedContactToken
Bots can use this method">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -50,7 +42,8 @@ Bots can use this method">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/contacts.exportContactToken" >contacts.exportContactToken</a></li></ul></div> <div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/contacts.exportContactToken" >contacts.exportContactToken</a></li></ul></div>
<h1 id="dev_page_title">contacts.exportContactToken</h1> <h1 id="dev_page_title">contacts.exportContactToken</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Generates a <a href="/api/links#temporary-profile-links">temporary profile link</a> for the currently logged-in user.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
@ -69,7 +62,10 @@ Bots can use this method">
<p>This constructor does not require any parameters.</p> <p>This constructor does not require any parameters.</p>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3> <h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/ExportedContactToken">ExportedContactToken</a></p> <p><a href="/type/ExportedContactToken">ExportedContactToken</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div> <h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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> </div>

View file

@ -4,28 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>contacts.importContactToken</title> <title>contacts.importContactToken</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters <meta property="description" content="Obtain user info from a temporary profile link.">
Name
Type
Description
token
string
 
Result
User
Bots can use this method">
<meta property="og:title" content="contacts.importContactToken"> <meta property="og:title" content="contacts.importContactToken">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Obtain user info from a temporary profile link.">
Name
Type
Description
token
string
 
Result
User
Bots can use this method">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -60,7 +42,8 @@ Bots can use this method">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/contacts.importContactToken" >contacts.importContactToken</a></li></ul></div> <div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/contacts.importContactToken" >contacts.importContactToken</a></li></ul></div>
<h1 id="dev_page_title">contacts.importContactToken</h1> <h1 id="dev_page_title">contacts.importContactToken</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Obtain user info from a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
@ -89,13 +72,16 @@ Bots can use this method">
<tr> <tr>
<td><strong>token</strong></td> <td><strong>token</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td> <td>The token extracted from the <a href="/api/links#temporary-profile-links">temporary profile link</a>.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3> <h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/User">User</a></p> <p><a href="/type/User">User</a></p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div> <h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>
<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> </div>

View file

@ -2688,11 +2688,11 @@
</tr> </tr>
<tr> <tr>
<td><a href="/method/contacts.exportContactToken">contacts.exportContactToken</a></td> <td><a href="/method/contacts.exportContactToken">contacts.exportContactToken</a></td>
<td> </td> <td>Generates a <a href="/api/links#temporary-profile-links">temporary profile link</a> for the currently logged-in user.</td>
</tr> </tr>
<tr> <tr>
<td><a href="/method/contacts.importContactToken">contacts.importContactToken</a></td> <td><a href="/method/contacts.importContactToken">contacts.importContactToken</a></td>
<td> </td> <td>Obtain user info from a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</td>
</tr> </tr>
<tr> <tr>
<td><a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a></td> <td><a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a></td>

View file

@ -4,28 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>ExportedContactToken</title> <title>ExportedContactToken</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Constructors <meta property="description" content="Describes a temporary profile link.">
Constructor
Description
exportedContactToken
 
Methods
Method
Description
contacts.exportContactToken
 ">
<meta property="og:title" content="ExportedContactToken"> <meta property="og:title" content="ExportedContactToken">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Constructors <meta property="og:description" content="Describes a temporary profile link.">
Constructor
Description
exportedContactToken
 
Methods
Method
Description
contacts.exportContactToken
 ">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4"> <link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -60,7 +42,8 @@ contacts.exportContactToken
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/type/ExportedContactToken" >ExportedContactToken</a></li></ul></div> <div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/type/ExportedContactToken" >ExportedContactToken</a></li></ul></div>
<h1 id="dev_page_title">ExportedContactToken</h1> <h1 id="dev_page_title">ExportedContactToken</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Describes a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills"> <ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a> <a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 155 <b class="caret"></b></a>
@ -88,7 +71,7 @@ contacts.exportContactToken
<tbody> <tbody>
<tr> <tr>
<td><a href="/constructor/exportedContactToken">exportedContactToken</a></td> <td><a href="/constructor/exportedContactToken">exportedContactToken</a></td>
<td> </td> <td>Describes a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -103,10 +86,13 @@ contacts.exportContactToken
<tbody> <tbody>
<tr> <tr>
<td><a href="/method/contacts.exportContactToken">contacts.exportContactToken</a></td> <td><a href="/method/contacts.exportContactToken">contacts.exportContactToken</a></td>
<td> </td> <td>Generates a <a href="/api/links#temporary-profile-links">temporary profile link</a> for the currently logged-in user.</td>
</tr> </tr>
</tbody> </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> </div>

View file

@ -107,7 +107,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/method/contacts.importContactToken">contacts.importContactToken</a></td> <td><a href="/method/contacts.importContactToken">contacts.importContactToken</a></td>
<td> </td> <td>Obtain user info from a <a href="/api/links#temporary-profile-links">temporary profile link</a>.</td>
</tr> </tr>
</tbody> </tbody>
</table></div> </table></div>