diff --git a/data/web/corefork.telegram.org/method/account.checkUsername b/data/web/corefork.telegram.org/method/account.checkUsername
index 232d595e75..2405c9660e 100644
--- a/data/web/corefork.telegram.org/method/account.checkUsername
+++ b/data/web/corefork.telegram.org/method/account.checkUsername
@@ -93,6 +93,16 @@
USERNAME_INVALID |
The provided username is not valid. |
+
+400 |
+USERNAME_OCCUPIED |
+The provided username is already occupied. |
+
+
+400 |
+USERNAME_PURCHASE_AVAILABLE |
+The specified username can be purchased on https://fragment.com. |
+
diff --git a/data/web/corefork.telegram.org/method/account.getMultiWallPapers b/data/web/corefork.telegram.org/method/account.getMultiWallPapers
index 6447f1ea0d..30ee2fe70b 100644
--- a/data/web/corefork.telegram.org/method/account.getMultiWallPapers
+++ b/data/web/corefork.telegram.org/method/account.getMultiWallPapers
@@ -76,6 +76,23 @@
Result
Vector<WallPaper>
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+WALLPAPER_INVALID |
+The specified wallpaper is invalid. |
+
+
+
Related pages
Telegram apps support generating, sharing and synchronizing chat backgrounds.
diff --git a/data/web/corefork.telegram.org/method/account.registerDevice b/data/web/corefork.telegram.org/method/account.registerDevice
index ac82b1c94c..5e70e82824 100644
--- a/data/web/corefork.telegram.org/method/account.registerDevice
+++ b/data/web/corefork.telegram.org/method/account.registerDevice
@@ -120,11 +120,21 @@
400 |
+TOKEN_EMPTY |
+The specified token is empty. |
+
+
+400 |
TOKEN_INVALID |
The provided token is invalid. |
400 |
+TOKEN_TYPE_INVALID |
+The specified token type is invalid. |
+
+
+400 |
WEBPUSH_AUTH_INVALID |
The specified web push authentication secret is invalid. |
diff --git a/data/web/corefork.telegram.org/method/auth.signIn b/data/web/corefork.telegram.org/method/auth.signIn
index 7e93c75306..21ea3d5424 100644
--- a/data/web/corefork.telegram.org/method/auth.signIn
+++ b/data/web/corefork.telegram.org/method/auth.signIn
@@ -109,6 +109,11 @@
+500 |
+AUTH_RESTART |
+Restart the authorization process. |
+
+
400 |
PHONE_CODE_EMPTY |
phone_code is missing. |
diff --git a/data/web/corefork.telegram.org/method/bots.setBotCommands b/data/web/corefork.telegram.org/method/bots.setBotCommands
index c502f9f0a1..8569526cdf 100644
--- a/data/web/corefork.telegram.org/method/bots.setBotCommands
+++ b/data/web/corefork.telegram.org/method/bots.setBotCommands
@@ -115,9 +115,19 @@
400 |
+PEER_ID_INVALID |
+The provided peer id is invalid. |
+
+
+400 |
USER_BOT_REQUIRED |
This method can only be called by a bot. |
+
+400 |
+USER_ID_INVALID |
+The provided user ID is invalid. |
+
Bots can use this method
diff --git a/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights b/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights
index c46c59d688..cfc551a21b 100644
--- a/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights
+++ b/data/web/corefork.telegram.org/method/bots.setBotGroupDefaultAdminRights
@@ -93,6 +93,11 @@
RIGHTS_NOT_MODIFIED |
The new admin rights are equal to the old rights, no change was made. |
+
+400 |
+USER_BOT_REQUIRED |
+This method can only be called by a bot. |
+
Bots can use this method
diff --git a/data/web/corefork.telegram.org/method/channels.deleteChannel b/data/web/corefork.telegram.org/method/channels.deleteChannel
index a99f323c9e..2226ec1760 100644
--- a/data/web/corefork.telegram.org/method/channels.deleteChannel
+++ b/data/web/corefork.telegram.org/method/channels.deleteChannel
@@ -99,7 +99,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
diff --git a/data/web/corefork.telegram.org/method/channels.editBanned b/data/web/corefork.telegram.org/method/channels.editBanned
index ecf293c712..3ec3ebf79d 100644
--- a/data/web/corefork.telegram.org/method/channels.editBanned
+++ b/data/web/corefork.telegram.org/method/channels.editBanned
@@ -109,12 +109,12 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
-400 |
+403 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
diff --git a/data/web/corefork.telegram.org/method/channels.getChannels b/data/web/corefork.telegram.org/method/channels.getChannels
index 73cdb878f7..998701c5fd 100644
--- a/data/web/corefork.telegram.org/method/channels.getChannels
+++ b/data/web/corefork.telegram.org/method/channels.getChannels
@@ -94,7 +94,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
diff --git a/data/web/corefork.telegram.org/method/channels.getMessages b/data/web/corefork.telegram.org/method/channels.getMessages
index 291160b548..6df3d25bf9 100644
--- a/data/web/corefork.telegram.org/method/channels.getMessages
+++ b/data/web/corefork.telegram.org/method/channels.getMessages
@@ -101,7 +101,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
@@ -116,6 +116,11 @@
Invalid message ID provided. |
+500 |
+NEED_DOC_INVALID |
+ |
+
+
400 |
USER_BANNED_IN_CHANNEL |
You're banned from sending messages in supergroups/channels. |
diff --git a/data/web/corefork.telegram.org/method/channels.getParticipant b/data/web/corefork.telegram.org/method/channels.getParticipant
index 72264aa09c..97d3b0f60e 100644
--- a/data/web/corefork.telegram.org/method/channels.getParticipant
+++ b/data/web/corefork.telegram.org/method/channels.getParticipant
@@ -98,12 +98,12 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
-400 |
+403 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
diff --git a/data/web/corefork.telegram.org/method/channels.readMessageContents b/data/web/corefork.telegram.org/method/channels.readMessageContents
index a5e825c2c1..bf30f21d68 100644
--- a/data/web/corefork.telegram.org/method/channels.readMessageContents
+++ b/data/web/corefork.telegram.org/method/channels.readMessageContents
@@ -99,7 +99,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
diff --git a/data/web/corefork.telegram.org/method/help.editUserInfo b/data/web/corefork.telegram.org/method/help.editUserInfo
index 730381c55b..83c12ff742 100644
--- a/data/web/corefork.telegram.org/method/help.editUserInfo
+++ b/data/web/corefork.telegram.org/method/help.editUserInfo
@@ -104,7 +104,7 @@
A specified entity offset or length is invalid, see here » for info on how to properly compute the entity offset/length. |
-400 |
+403 |
USER_INVALID |
Invalid user provided. |
diff --git a/data/web/corefork.telegram.org/method/messages.addChatUser b/data/web/corefork.telegram.org/method/messages.addChatUser
index b26b6ce115..b7796c9067 100644
--- a/data/web/corefork.telegram.org/method/messages.addChatUser
+++ b/data/web/corefork.telegram.org/method/messages.addChatUser
@@ -105,6 +105,11 @@
400 |
+BOT_GROUPS_BLOCKED |
+This bot can't be added to groups. |
+
+
+403 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
diff --git a/data/web/corefork.telegram.org/method/messages.editExportedChatInvite b/data/web/corefork.telegram.org/method/messages.editExportedChatInvite
index 28c303f562..6f86af6f3a 100644
--- a/data/web/corefork.telegram.org/method/messages.editExportedChatInvite
+++ b/data/web/corefork.telegram.org/method/messages.editExportedChatInvite
@@ -125,16 +125,31 @@
400 |
+CHAT_ADMIN_REQUIRED |
+You must be an admin in this chat to do this. |
+
+
+400 |
CHAT_INVITE_PERMANENT |
You can't set an expiration date on permanent invite links. |
403 |
+CHAT_WRITE_FORBIDDEN |
+You can't write in this chat. |
+
+
+403 |
EDIT_BOT_INVITE_FORBIDDEN |
Normal users can't edit invites that were created by bots. |
400 |
+INVITE_HASH_EXPIRED |
+The invite link has expired. |
+
+
+400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
diff --git a/data/web/corefork.telegram.org/method/messages.editMessage b/data/web/corefork.telegram.org/method/messages.editMessage
index 2a3355e7c3..63dae2008b 100644
--- a/data/web/corefork.telegram.org/method/messages.editMessage
+++ b/data/web/corefork.telegram.org/method/messages.editMessage
@@ -135,6 +135,16 @@
400 |
+BOT_DOMAIN_INVALID |
+Bot domain invalid. |
+
+
+400 |
+BOT_INVALID |
+This is not a valid bot. |
+
+
+400 |
BUTTON_DATA_INVALID |
The data of one or more of the buttons you provided is invalid. |
@@ -154,7 +164,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
@@ -170,11 +180,21 @@
403 |
+CHAT_SEND_GIFS_FORBIDDEN |
+You can't send gifs in this chat. |
+
+
+403 |
CHAT_WRITE_FORBIDDEN |
You can't write in this chat. |
400 |
+DOCUMENT_INVALID |
+The specified document is invalid. |
+
+
+400 |
ENTITIES_TOO_LONG |
You provided too many styled message entities. |
@@ -200,6 +220,11 @@
400 |
+MEDIA_EMPTY |
+The provided media object is invalid. |
+
+
+400 |
MEDIA_GROUPED_INVALID |
You tried to send media of different types in an album. |
diff --git a/data/web/corefork.telegram.org/method/messages.getExportedChatInvite b/data/web/corefork.telegram.org/method/messages.getExportedChatInvite
index 2fcb2b8e34..2080b3d29c 100644
--- a/data/web/corefork.telegram.org/method/messages.getExportedChatInvite
+++ b/data/web/corefork.telegram.org/method/messages.getExportedChatInvite
@@ -95,6 +95,11 @@
400 |
+CHANNEL_PRIVATE |
+You haven't joined this channel/supergroup. |
+
+
+400 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
diff --git a/data/web/corefork.telegram.org/method/messages.getExportedChatInvites b/data/web/corefork.telegram.org/method/messages.getExportedChatInvites
index c0a62a6a75..d0bd34e239 100644
--- a/data/web/corefork.telegram.org/method/messages.getExportedChatInvites
+++ b/data/web/corefork.telegram.org/method/messages.getExportedChatInvites
@@ -124,6 +124,11 @@
400 |
+CHANNEL_INVALID |
+The provided channel is invalid. |
+
+
+400 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
diff --git a/data/web/corefork.telegram.org/method/messages.getHistory b/data/web/corefork.telegram.org/method/messages.getHistory
index 8c4137aeb9..f170c65cdb 100644
--- a/data/web/corefork.telegram.org/method/messages.getHistory
+++ b/data/web/corefork.telegram.org/method/messages.getHistory
@@ -131,7 +131,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
@@ -146,6 +146,11 @@
Invalid message ID provided. |
+500 |
+NEED_DOC_INVALID |
+ |
+
+
400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
diff --git a/data/web/corefork.telegram.org/method/messages.getInlineBotResults b/data/web/corefork.telegram.org/method/messages.getInlineBotResults
index b93f81ae08..05f01bb883 100644
--- a/data/web/corefork.telegram.org/method/messages.getInlineBotResults
+++ b/data/web/corefork.telegram.org/method/messages.getInlineBotResults
@@ -133,7 +133,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
diff --git a/data/web/corefork.telegram.org/method/messages.getPeerDialogs b/data/web/corefork.telegram.org/method/messages.getPeerDialogs
index a41d2f2fe2..f471beb565 100644
--- a/data/web/corefork.telegram.org/method/messages.getPeerDialogs
+++ b/data/web/corefork.telegram.org/method/messages.getPeerDialogs
@@ -93,7 +93,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
@@ -103,6 +103,11 @@
Invalid message ID provided. |
+500 |
+NEED_DOC_INVALID |
+ |
+
+
400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
diff --git a/data/web/corefork.telegram.org/method/messages.installStickerSet b/data/web/corefork.telegram.org/method/messages.installStickerSet
index cad4271b68..21bf4de0d4 100644
--- a/data/web/corefork.telegram.org/method/messages.installStickerSet
+++ b/data/web/corefork.telegram.org/method/messages.installStickerSet
@@ -94,7 +94,7 @@
-400 |
+406 |
STICKERSET_INVALID |
The provided sticker set is invalid. |
diff --git a/data/web/corefork.telegram.org/method/messages.requestEncryption b/data/web/corefork.telegram.org/method/messages.requestEncryption
index f116064232..da3e18a810 100644
--- a/data/web/corefork.telegram.org/method/messages.requestEncryption
+++ b/data/web/corefork.telegram.org/method/messages.requestEncryption
@@ -108,6 +108,11 @@
400 |
+INPUT_USER_DEACTIVATED |
+The specified user was deleted. |
+
+
+400 |
USER_ID_INVALID |
The provided user ID is invalid. |
diff --git a/data/web/corefork.telegram.org/method/messages.searchSentMedia b/data/web/corefork.telegram.org/method/messages.searchSentMedia
index 29f5f0837f..432197041d 100644
--- a/data/web/corefork.telegram.org/method/messages.searchSentMedia
+++ b/data/web/corefork.telegram.org/method/messages.searchSentMedia
@@ -90,7 +90,24 @@ This method does not support pagination.
Result
-messages.Messages
+messages.Messages
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+FILTER_NOT_SUPPORTED |
+The specified filter cannot be used in this context. |
+
+
+
diff --git a/data/web/corefork.telegram.org/method/messages.toggleDialogPin b/data/web/corefork.telegram.org/method/messages.toggleDialogPin
index cfba40acd4..62175c8e3f 100644
--- a/data/web/corefork.telegram.org/method/messages.toggleDialogPin
+++ b/data/web/corefork.telegram.org/method/messages.toggleDialogPin
@@ -105,6 +105,11 @@
400 |
+PEER_HISTORY_EMPTY |
+ |
+
+
+400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
diff --git a/data/web/corefork.telegram.org/method/messages.transcribeAudio b/data/web/corefork.telegram.org/method/messages.transcribeAudio
index 1c3caba596..cc0365b699 100644
--- a/data/web/corefork.telegram.org/method/messages.transcribeAudio
+++ b/data/web/corefork.telegram.org/method/messages.transcribeAudio
@@ -82,6 +82,28 @@
Result
messages.TranscribedAudio
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+403 |
+PREMIUM_ACCOUNT_REQUIRED |
+A premium account is required to execute this action. |
+
+
+400 |
+TRANSCRIPTION_FAILED |
+Audio transcription failed. |
+
+
+
Related pages
How to transcribe voice messages.
diff --git a/data/web/corefork.telegram.org/method/messages.uninstallStickerSet b/data/web/corefork.telegram.org/method/messages.uninstallStickerSet
index 498b6d0396..15098a3a10 100644
--- a/data/web/corefork.telegram.org/method/messages.uninstallStickerSet
+++ b/data/web/corefork.telegram.org/method/messages.uninstallStickerSet
@@ -89,7 +89,7 @@
-400 |
+406 |
STICKERSET_INVALID |
The provided sticker set is invalid. |
diff --git a/data/web/corefork.telegram.org/method/phone.discardGroupCall b/data/web/corefork.telegram.org/method/phone.discardGroupCall
index 307fb6c06c..b9b69c1df2 100644
--- a/data/web/corefork.telegram.org/method/phone.discardGroupCall
+++ b/data/web/corefork.telegram.org/method/phone.discardGroupCall
@@ -98,6 +98,16 @@
GROUPCALL_ALREADY_DISCARDED |
The group call was already discarded. |
+
+403 |
+GROUPCALL_FORBIDDEN |
+The group call has already ended. |
+
+
+400 |
+GROUPCALL_INVALID |
+The specified group call is invalid. |
+
diff --git a/data/web/corefork.telegram.org/method/stats.getMegagroupStats b/data/web/corefork.telegram.org/method/stats.getMegagroupStats
index 464e673f11..4a09b50e72 100644
--- a/data/web/corefork.telegram.org/method/stats.getMegagroupStats
+++ b/data/web/corefork.telegram.org/method/stats.getMegagroupStats
@@ -103,7 +103,7 @@
The provided channel is invalid. |
-400 |
+403 |
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
diff --git a/data/web/corefork.telegram.org/method/stickers.addStickerToSet b/data/web/corefork.telegram.org/method/stickers.addStickerToSet
index 28433b0dd7..8a4034b792 100644
--- a/data/web/corefork.telegram.org/method/stickers.addStickerToSet
+++ b/data/web/corefork.telegram.org/method/stickers.addStickerToSet
@@ -104,7 +104,7 @@
There are too many stickers in this stickerpack, you can't add any more. |
-400 |
+406 |
STICKERSET_INVALID |
The provided sticker set is invalid. |
diff --git a/data/web/corefork.telegram.org/method/updates.getChannelDifference b/data/web/corefork.telegram.org/method/updates.getChannelDifference
index a503a34ff9..011999c1b8 100644
--- a/data/web/corefork.telegram.org/method/updates.getChannelDifference
+++ b/data/web/corefork.telegram.org/method/updates.getChannelDifference
@@ -120,7 +120,7 @@
The provided channel is invalid. |
-400 |
+406 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
@@ -145,6 +145,11 @@
Invalid message ID provided. |
+500 |
+NEED_DOC_INVALID |
+ |
+
+
400 |
PERSISTENT_TIMESTAMP_EMPTY |
Persistent timestamp empty. |
diff --git a/data/web/corefork.telegram.org/method/upload.reuploadCdnFile b/data/web/corefork.telegram.org/method/upload.reuploadCdnFile
index 81921dcf03..cd0d159377 100644
--- a/data/web/corefork.telegram.org/method/upload.reuploadCdnFile
+++ b/data/web/corefork.telegram.org/method/upload.reuploadCdnFile
@@ -98,6 +98,11 @@
400 |
+FILE_TOKEN_INVALID |
+The specified file token is invalid. |
+
+
+400 |
RSA_DECRYPT_FAILED |
Internal RSA decryption failed. |