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
872e276570
commit
d1233e13b3
32 changed files with 215 additions and 19 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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><<a href="/type/WallPaper">WallPaper</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>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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue