Update content of files

This commit is contained in:
GitHub Action 2023-04-18 20:23:42 +00:00
parent 5d34f96c03
commit 658c85f103
13 changed files with 25 additions and 76 deletions

View file

@ -79,12 +79,12 @@
<tr> <tr>
<td><strong>can_purchase_upgrade</strong></td> <td><strong>can_purchase_upgrade</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/constructor/true">true</a></td>
<td>Whether this subscription option can be used to upgrade the existing Telegram Premium subscription.</td> <td>Whether this subscription option can be used to upgrade the existing Telegram Premium subscription. When upgrading Telegram Premium subscriptions bought through stores, make sure that the store transaction ID is equal to <code>transaction</code>, to avoid upgrading someone else's account, if the client is currently logged into multiple accounts.</td>
</tr> </tr>
<tr> <tr>
<td><strong>transaction</strong></td> <td><strong>transaction</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/string">string</a></td> <td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/string">string</a></td>
<td>Identifier of the last in-store transaction for the currently used subscription.</td> <td>Identifier of the last in-store transaction for the currently used subscription on the current account.</td>
</tr> </tr>
<tr> <tr>
<td><strong>months</strong></td> <td><strong>months</strong></td>

View file

@ -95,6 +95,11 @@
<tbody> <tbody>
<tr> <tr>
<td>400</td> <td>400</td>
<td>USERNAMES_ACTIVE_TOO_MUCH</td>
<td>The maximum number of active usernames was reached.</td>
</tr>
<tr>
<td>400</td>
<td>USERNAME_INVALID</td> <td>USERNAME_INVALID</td>
<td>The provided username is not valid.</td> <td>The provided username is not valid.</td>
</tr> </tr>

View file

@ -4,40 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>auth.importWebTokenAuthorization</title> <title>auth.importWebTokenAuthorization</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="Login by importing an authorization token">
Name
Type
Description
api_id
int
 
api_hash
string
 
web_auth_token
string
 
Result
auth.Authorization
Possible…">
<meta property="og:title" content="auth.importWebTokenAuthorization"> <meta property="og:title" content="auth.importWebTokenAuthorization">
<meta property="og:image" content=""> <meta property="og:image" content="">
<meta property="og:description" content="Parameters <meta property="og:description" content="Login by importing an authorization token">
Name
Type
Description
api_id
int
 
api_hash
string
 
web_auth_token
string
 
Result
auth.Authorization
Possible…">
<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">
@ -72,7 +42,8 @@ Possible…">
<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/auth.importWebTokenAuthorization" >auth.importWebTokenAuthorization</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/auth.importWebTokenAuthorization" >auth.importWebTokenAuthorization</a></li></ul></div>
<h1 id="dev_page_title">auth.importWebTokenAuthorization</h1> <h1 id="dev_page_title">auth.importWebTokenAuthorization</h1>
<div id="dev_page_content"><p><div class="clearfix"> <div id="dev_page_content"><p>Login by importing an authorization token</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>
@ -101,17 +72,17 @@ Possible…">
<tr> <tr>
<td><strong>api_id</strong></td> <td><strong>api_id</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><a href="/api/obtaining_api_id">API ID</a></td>
</tr> </tr>
<tr> <tr>
<td><strong>api_hash</strong></td> <td><strong>api_hash</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><a href="/api/obtaining_api_id">API hash</a></td>
</tr> </tr>
<tr> <tr>
<td><strong>web_auth_token</strong></td> <td><strong>web_auth_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 authorization token</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -133,7 +104,10 @@ Possible…">
<td>API ID invalid.</td> <td>API ID invalid.</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="#creating-your-telegram-application" id="creating-your-telegram-application" name="creating-your-telegram-application"><i class="anchor-icon"></i></a><a href="/api/obtaining_api_id">Creating your Telegram Application</a></h4>
<p>How to get your application identifier and create a new Telegram app.</p></div>
</div> </div>

View file

@ -134,11 +134,6 @@
<td>You have successfully requested to join this chat or channel.</td> <td>You have successfully requested to join this chat or channel.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>MEMBER_CHAT_ADD_FAILED</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>MSG_ID_INVALID</td> <td>MSG_ID_INVALID</td>
<td>Invalid message ID provided.</td> <td>Invalid message ID provided.</td>

View file

@ -100,6 +100,11 @@
<tbody> <tbody>
<tr> <tr>
<td>400</td> <td>400</td>
<td>USERNAMES_ACTIVE_TOO_MUCH</td>
<td>The maximum number of active usernames was reached.</td>
</tr>
<tr>
<td>400</td>
<td>USERNAME_INVALID</td> <td>USERNAME_INVALID</td>
<td>The provided username is not valid.</td> <td>The provided username is not valid.</td>
</tr> </tr>

View file

@ -95,11 +95,6 @@
<td>You haven't joined this channel/supergroup.</td> <td>You haven't joined this channel/supergroup.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>CHAT_MEMBERS_CHANNEL</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>INVITE_HASH_EMPTY</td> <td>INVITE_HASH_EMPTY</td>
<td>The invite hash is empty.</td> <td>The invite hash is empty.</td>

View file

@ -143,11 +143,6 @@
<td>The invite link has expired.</td> <td>The invite link has expired.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>INVITE_HASH_UNSYNC</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>PEER_ID_INVALID</td> <td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td> <td>The provided peer id is invalid.</td>

View file

@ -135,11 +135,6 @@
<td>Invalid folder ID.</td> <td>Invalid folder ID.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>OFFSET_PEER_ID_INVALID</td> <td>OFFSET_PEER_ID_INVALID</td>
<td>The provided offset peer is invalid.</td> <td>The provided offset peer is invalid.</td>

View file

@ -146,11 +146,6 @@
<td>Invalid message ID provided.</td> <td>Invalid message ID provided.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>PEER_ID_INVALID</td> <td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td> <td>The provided peer id is invalid.</td>

View file

@ -106,7 +106,7 @@
<tr> <tr>
<td>400</td> <td>400</td>
<td>PEER_HISTORY_EMPTY</td> <td>PEER_HISTORY_EMPTY</td>
<td> </td> <td>You can't pin an empty chat with a user.</td>
</tr> </tr>
<tr> <tr>
<td>400</td> <td>400</td>

View file

@ -145,11 +145,6 @@
<td>Invalid message ID provided.</td> <td>Invalid message ID provided.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>PERSISTENT_TIMESTAMP_EMPTY</td> <td>PERSISTENT_TIMESTAMP_EMPTY</td>
<td>Persistent timestamp empty.</td> <td>Persistent timestamp empty.</td>

View file

@ -141,11 +141,6 @@
<td>Invalid message ID provided.</td> <td>Invalid message ID provided.</td>
</tr> </tr>
<tr> <tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td> <td>400</td>
<td>PERSISTENT_TIMESTAMP_EMPTY</td> <td>PERSISTENT_TIMESTAMP_EMPTY</td>
<td>Persistent timestamp empty.</td> <td>Persistent timestamp empty.</td>

View file

@ -121,7 +121,7 @@
</tr> </tr>
<tr> <tr>
<td><a href="/method/auth.importWebTokenAuthorization">auth.importWebTokenAuthorization</a></td> <td><a href="/method/auth.importWebTokenAuthorization">auth.importWebTokenAuthorization</a></td>
<td> </td> <td>Login by importing an authorization token</td>
</tr> </tr>
</tbody> </tbody>
</table></div> </table></div>