Update content of files

This commit is contained in:
GitHub Action 2023-03-15 19:57:36 +00:00
parent 872e276570
commit d1233e13b3
32 changed files with 215 additions and 19 deletions

View file

@ -93,6 +93,16 @@
<td>USERNAME_INVALID</td>
<td>The provided username is not valid.</td>
</tr>
<tr>
<td>400</td>
<td>USERNAME_OCCUPIED</td>
<td>The provided username is already occupied.</td>
</tr>
<tr>
<td>400</td>
<td>USERNAME_PURCHASE_AVAILABLE</td>
<td>The specified username can be purchased on <a href="https://fragment.com">https://fragment.com</a>.</td>
</tr>
</tbody>
</table></div>

View file

@ -76,6 +76,23 @@
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/WallPaper">WallPaper</a>&gt;</p>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>WALLPAPER_INVALID</td>
<td>The specified wallpaper is invalid.</td>
</tr>
</tbody>
</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="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p></div>

View file

@ -120,11 +120,21 @@
<tbody>
<tr>
<td>400</td>
<td>TOKEN_EMPTY</td>
<td>The specified token is empty.</td>
</tr>
<tr>
<td>400</td>
<td>TOKEN_INVALID</td>
<td>The provided token is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>TOKEN_TYPE_INVALID</td>
<td>The specified token type is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>WEBPUSH_AUTH_INVALID</td>
<td>The specified web push authentication secret is invalid.</td>
</tr>

View file

@ -109,6 +109,11 @@
</thead>
<tbody>
<tr>
<td>500</td>
<td>AUTH_RESTART</td>
<td>Restart the authorization process.</td>
</tr>
<tr>
<td>400</td>
<td>PHONE_CODE_EMPTY</td>
<td>phone_code is missing.</td>

View file

@ -115,9 +115,19 @@
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>USER_BOT_REQUIRED</td>
<td>This method can only be called by a bot.</td>
</tr>
<tr>
<td>400</td>
<td>USER_ID_INVALID</td>
<td>The provided user ID is invalid.</td>
</tr>
</tbody>
</table>
<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>

View file

@ -93,6 +93,11 @@
<td>RIGHTS_NOT_MODIFIED</td>
<td>The new admin rights are equal to the old rights, no change was made.</td>
</tr>
<tr>
<td>400</td>
<td>USER_BOT_REQUIRED</td>
<td>This method can only be called by a bot.</td>
</tr>
</tbody>
</table>
<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>

View file

@ -99,7 +99,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>

View file

@ -109,12 +109,12 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
<tr>
<td>400</td>
<td>403</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>

View file

@ -94,7 +94,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>

View file

@ -101,7 +101,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
@ -116,6 +116,11 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>USER_BANNED_IN_CHANNEL</td>
<td>You're banned from sending messages in supergroups/channels.</td>

View file

@ -98,12 +98,12 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
<tr>
<td>400</td>
<td>403</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>

View file

@ -99,7 +99,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>

View file

@ -104,7 +104,7 @@
<td>A specified <a href="/api/entities#entity-length">entity offset or length</a> is invalid, see <a href="/api/entities#entity-length">here »</a> for info on how to properly compute the entity offset/length.</td>
</tr>
<tr>
<td>400</td>
<td>403</td>
<td>USER_INVALID</td>
<td>Invalid user provided.</td>
</tr>

View file

@ -105,6 +105,11 @@
<tbody>
<tr>
<td>400</td>
<td>BOT_GROUPS_BLOCKED</td>
<td>This bot can't be added to groups.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>

View file

@ -125,16 +125,31 @@
<tbody>
<tr>
<td>400</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_INVITE_PERMANENT</td>
<td>You can't set an expiration date on permanent invite links.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_WRITE_FORBIDDEN</td>
<td>You can't write in this chat.</td>
</tr>
<tr>
<td>403</td>
<td>EDIT_BOT_INVITE_FORBIDDEN</td>
<td>Normal users can't edit invites that were created by bots.</td>
</tr>
<tr>
<td>400</td>
<td>INVITE_HASH_EXPIRED</td>
<td>The invite link has expired.</td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>

View file

@ -135,6 +135,16 @@
<tbody>
<tr>
<td>400</td>
<td>BOT_DOMAIN_INVALID</td>
<td>Bot domain invalid.</td>
</tr>
<tr>
<td>400</td>
<td>BOT_INVALID</td>
<td>This is not a valid bot.</td>
</tr>
<tr>
<td>400</td>
<td>BUTTON_DATA_INVALID</td>
<td>The data of one or more of the buttons you provided is invalid.</td>
</tr>
@ -154,7 +164,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
@ -170,11 +180,21 @@
</tr>
<tr>
<td>403</td>
<td>CHAT_SEND_GIFS_FORBIDDEN</td>
<td>You can't send gifs in this chat.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_WRITE_FORBIDDEN</td>
<td>You can't write in this chat.</td>
</tr>
<tr>
<td>400</td>
<td>DOCUMENT_INVALID</td>
<td>The specified document is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>ENTITIES_TOO_LONG</td>
<td>You provided too many styled message entities.</td>
</tr>
@ -200,6 +220,11 @@
</tr>
<tr>
<td>400</td>
<td>MEDIA_EMPTY</td>
<td>The provided media object is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>MEDIA_GROUPED_INVALID</td>
<td>You tried to send media of different types in an album.</td>
</tr>

View file

@ -95,6 +95,11 @@
<tbody>
<tr>
<td>400</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>

View file

@ -124,6 +124,11 @@
</tr>
<tr>
<td>400</td>
<td>CHANNEL_INVALID</td>
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>

View file

@ -131,7 +131,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
@ -146,6 +146,11 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>

View file

@ -133,7 +133,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>

View file

@ -93,7 +93,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
@ -103,6 +103,11 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>

View file

@ -94,7 +94,7 @@
</thead>
<tbody>
<tr>
<td>400</td>
<td>406</td>
<td>STICKERSET_INVALID</td>
<td>The provided sticker set is invalid.</td>
</tr>

View file

@ -108,6 +108,11 @@
</tr>
<tr>
<td>400</td>
<td>INPUT_USER_DEACTIVATED</td>
<td>The specified user was deleted.</td>
</tr>
<tr>
<td>400</td>
<td>USER_ID_INVALID</td>
<td>The provided user ID is invalid.</td>
</tr>

View file

@ -90,7 +90,24 @@ This method does not support pagination.</p>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/messages.Messages">messages.Messages</a></p></div>
<p><a href="/type/messages.Messages">messages.Messages</a></p>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>400</td>
<td>FILTER_NOT_SUPPORTED</td>
<td>The specified filter cannot be used in this context.</td>
</tr>
</tbody>
</table></div>
</div>

View file

@ -105,6 +105,11 @@
</tr>
<tr>
<td>400</td>
<td>PEER_HISTORY_EMPTY</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>

View file

@ -82,6 +82,28 @@
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/messages.TranscribedAudio">messages.TranscribedAudio</a></p>
<h3><a class="anchor" href="#possible-errors" id="possible-errors" name="possible-errors"><i class="anchor-icon"></i></a>Possible errors</h3>
<table class="table">
<thead>
<tr>
<th>Code</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>403</td>
<td>PREMIUM_ACCOUNT_REQUIRED</td>
<td>A premium account is required to execute this action.</td>
</tr>
<tr>
<td>400</td>
<td>TRANSCRIPTION_FAILED</td>
<td>Audio transcription failed.</td>
</tr>
</tbody>
</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="#voice-message-transcription" id="voice-message-transcription" name="voice-message-transcription"><i class="anchor-icon"></i></a><a href="/api/transcribe">Voice message transcription</a></h4>
<p>How to transcribe voice messages.</p></div>

View file

@ -89,7 +89,7 @@
</thead>
<tbody>
<tr>
<td>400</td>
<td>406</td>
<td>STICKERSET_INVALID</td>
<td>The provided sticker set is invalid.</td>
</tr>

View file

@ -98,6 +98,16 @@
<td>GROUPCALL_ALREADY_DISCARDED</td>
<td>The group call was already discarded.</td>
</tr>
<tr>
<td>403</td>
<td>GROUPCALL_FORBIDDEN</td>
<td>The group call has already ended.</td>
</tr>
<tr>
<td>400</td>
<td>GROUPCALL_INVALID</td>
<td>The specified group call is invalid.</td>
</tr>
</tbody>
</table></div>

View file

@ -103,7 +103,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>403</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>

View file

@ -104,7 +104,7 @@
<td>There are too many stickers in this stickerpack, you can't add any more.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>STICKERSET_INVALID</td>
<td>The provided sticker set is invalid.</td>
</tr>

View file

@ -120,7 +120,7 @@
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>406</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
@ -145,6 +145,11 @@
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>500</td>
<td>NEED_DOC_INVALID</td>
<td> </td>
</tr>
<tr>
<td>400</td>
<td>PERSISTENT_TIMESTAMP_EMPTY</td>
<td>Persistent timestamp empty.</td>

View file

@ -98,6 +98,11 @@
</tr>
<tr>
<td>400</td>
<td>FILE_TOKEN_INVALID</td>
<td>The specified file token is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>RSA_DECRYPT_FAILED</td>
<td>Internal RSA decryption failed.</td>
</tr>