diff --git a/data/corefork.telegram.org/constructor/groupCallParticipant.html b/data/corefork.telegram.org/constructor/groupCallParticipant.html
index 1ef3fba10c..e0fb7f1f45 100644
--- a/data/corefork.telegram.org/constructor/groupCallParticipant.html
+++ b/data/corefork.telegram.org/constructor/groupCallParticipant.html
@@ -151,7 +151,7 @@
raise_hand_rating |
flags.13?long |
- |
+Specifies the UI visualization order of peers with raised hands: peers with a higher rating should be showed first in the list. |
video |
diff --git a/data/corefork.telegram.org/constructor/inputMediaDocument.html b/data/corefork.telegram.org/constructor/inputMediaDocument.html
index 3727f6cb6d..e083ec0fe7 100644
--- a/data/corefork.telegram.org/constructor/inputMediaDocument.html
+++ b/data/corefork.telegram.org/constructor/inputMediaDocument.html
@@ -81,7 +81,7 @@
query |
flags.1?string |
- |
+Text query or emoji that was used by the user to find this sticker or GIF: used to improve search result relevance. |
diff --git a/data/corefork.telegram.org/constructor/updateBotStopped.html b/data/corefork.telegram.org/constructor/updateBotStopped.html
index a7bf3812b1..37f5d2a961 100644
--- a/data/corefork.telegram.org/constructor/updateBotStopped.html
+++ b/data/corefork.telegram.org/constructor/updateBotStopped.html
@@ -81,12 +81,15 @@
qts |
int |
- |
+New qts value, see updates » for more info. |
Type
-Update
+Update
+Related pages
+
+How to subscribe to updates and handle them properly.
diff --git a/data/corefork.telegram.org/constructor/updateChannelParticipant.html b/data/corefork.telegram.org/constructor/updateChannelParticipant.html
index d9fb737e41..f92a4622e5 100644
--- a/data/corefork.telegram.org/constructor/updateChannelParticipant.html
+++ b/data/corefork.telegram.org/constructor/updateChannelParticipant.html
@@ -81,12 +81,12 @@
actor_id |
long |
- |
+User that triggered the change (inviter, admin that kicked the user, or the even the user_id itself) |
user_id |
long |
-User in question |
+User that was affected by the change |
prev_participant |
@@ -106,7 +106,7 @@
qts |
int |
- |
+New qts value, see updates » for more info. |
@@ -114,7 +114,9 @@
Update
Related pages
-How to handle channels, supergroups, groups, and what's the difference between them.
+How to handle channels, supergroups, groups, and what's the difference between them.
+
+How to subscribe to updates and handle them properly.
diff --git a/data/corefork.telegram.org/constructor/updateChatParticipant.html b/data/corefork.telegram.org/constructor/updateChatParticipant.html
index c179210dc5..efe39acab4 100644
--- a/data/corefork.telegram.org/constructor/updateChatParticipant.html
+++ b/data/corefork.telegram.org/constructor/updateChatParticipant.html
@@ -81,12 +81,12 @@
actor_id |
long |
- |
+User that triggered the change (inviter, admin that kicked the user, or the even the user_id itself) |
user_id |
long |
- |
+User that was affected by the change |
prev_participant |
@@ -106,7 +106,7 @@
qts |
int |
- |
+New qts value, see updates » for more info. |
@@ -114,7 +114,9 @@
Update
Related pages
-How to handle channels, supergroups, groups, and what's the difference between them.
+How to handle channels, supergroups, groups, and what's the difference between them.
+
+How to subscribe to updates and handle them properly.
diff --git a/data/corefork.telegram.org/constructor/updateMessagePollVote.html b/data/corefork.telegram.org/constructor/updateMessagePollVote.html
index ac5236253c..5f2f87de2c 100644
--- a/data/corefork.telegram.org/constructor/updateMessagePollVote.html
+++ b/data/corefork.telegram.org/constructor/updateMessagePollVote.html
@@ -81,12 +81,15 @@
qts |
int |
- |
+New qts value, see updates » for more info. |
Type
-Update
+Update
+Related pages
+
+How to subscribe to updates and handle them properly.
diff --git a/data/corefork.telegram.org/constructor/updateNewEncryptedMessage.html b/data/corefork.telegram.org/constructor/updateNewEncryptedMessage.html
index 51ba49b2eb..58e553818f 100644
--- a/data/corefork.telegram.org/constructor/updateNewEncryptedMessage.html
+++ b/data/corefork.telegram.org/constructor/updateNewEncryptedMessage.html
@@ -71,12 +71,15 @@
qts |
int |
-New qts value |
+New qts value, see updates » for more info. |
Type
-Update
+Update
+Related pages
+
+How to subscribe to updates and handle them properly.
diff --git a/data/corefork.telegram.org/method/account.createTheme b/data/corefork.telegram.org/method/account.createTheme
index 5ecf2274f1..dd2a98431c 100644
--- a/data/corefork.telegram.org/method/account.createTheme
+++ b/data/corefork.telegram.org/method/account.createTheme
@@ -93,7 +93,24 @@
Result
-Theme
+Theme
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+THEME_MIME_INVALID |
+The theme's MIME type is invalid. |
+
+
+
diff --git a/data/corefork.telegram.org/method/account.declinePasswordReset b/data/corefork.telegram.org/method/account.declinePasswordReset
index b13144722e..819596b9b4 100644
--- a/data/corefork.telegram.org/method/account.declinePasswordReset
+++ b/data/corefork.telegram.org/method/account.declinePasswordReset
@@ -60,6 +60,23 @@
This constructor does not require any parameters.
Result
Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+RESET_REQUEST_MISSING |
+No password reset is in progress. |
+
+
+
Related pages
How to login to a user's account if they have enabled 2FA, how to change password.
diff --git a/data/corefork.telegram.org/method/account.getAuthorizationForm b/data/corefork.telegram.org/method/account.getAuthorizationForm
index 85df36d7a8..0603a655f3 100644
--- a/data/corefork.telegram.org/method/account.getAuthorizationForm
+++ b/data/corefork.telegram.org/method/account.getAuthorizationForm
@@ -83,7 +83,24 @@
Result
-account.AuthorizationForm
+account.AuthorizationForm
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+PUBLIC_KEY_REQUIRED |
+A public key is required. |
+
+
+
diff --git a/data/corefork.telegram.org/method/account.getWallPaper b/data/corefork.telegram.org/method/account.getWallPaper
index bd94ae86b1..fe09a4c716 100644
--- a/data/corefork.telegram.org/method/account.getWallPaper
+++ b/data/corefork.telegram.org/method/account.getWallPaper
@@ -74,7 +74,24 @@
Result
-WallPaper
+WallPaper
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+WALLPAPER_INVALID |
+The specified wallpaper is invalid. |
+
+
+
diff --git a/data/corefork.telegram.org/method/account.installWallPaper b/data/corefork.telegram.org/method/account.installWallPaper
index fb0cc07f0f..0c0aacad62 100644
--- a/data/corefork.telegram.org/method/account.installWallPaper
+++ b/data/corefork.telegram.org/method/account.installWallPaper
@@ -79,7 +79,24 @@
Result
-Bool
+Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+WALLPAPER_INVALID |
+The specified wallpaper is invalid. |
+
+
+
diff --git a/data/corefork.telegram.org/method/account.saveSecureValue b/data/corefork.telegram.org/method/account.saveSecureValue
index 40e7b19a40..d320f65189 100644
--- a/data/corefork.telegram.org/method/account.saveSecureValue
+++ b/data/corefork.telegram.org/method/account.saveSecureValue
@@ -79,6 +79,23 @@
Result
SecureValue
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+PASSWORD_REQUIRED |
+ |
+
+
+
Related pages
diff --git a/data/corefork.telegram.org/method/account.saveWallPaper b/data/corefork.telegram.org/method/account.saveWallPaper
index b61d94ddcf..41f068371b 100644
--- a/data/corefork.telegram.org/method/account.saveWallPaper
+++ b/data/corefork.telegram.org/method/account.saveWallPaper
@@ -84,7 +84,24 @@
Result
-Bool
+Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+WALLPAPER_INVALID |
+The specified wallpaper is invalid. |
+
+
+
diff --git a/data/corefork.telegram.org/method/account.sendChangePhoneCode b/data/corefork.telegram.org/method/account.sendChangePhoneCode
index bc97413000..5e955980c1 100644
--- a/data/corefork.telegram.org/method/account.sendChangePhoneCode
+++ b/data/corefork.telegram.org/method/account.sendChangePhoneCode
@@ -92,7 +92,12 @@
406 |
FRESH_CHANGE_PHONE_FORBIDDEN |
- |
+You can't change phone number right after logging in, please wait at least 24 hours. |
+
+
+400 |
+PHONE_NUMBER_BANNED |
+The provided phone number is banned from telegram. |
400 |
diff --git a/data/corefork.telegram.org/method/account.sendVerifyEmailCode b/data/corefork.telegram.org/method/account.sendVerifyEmailCode
index 170e992859..8fd1f3eeac 100644
--- a/data/corefork.telegram.org/method/account.sendVerifyEmailCode
+++ b/data/corefork.telegram.org/method/account.sendVerifyEmailCode
@@ -74,6 +74,23 @@
Result
account.SentEmailCode
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+EMAIL_INVALID |
+The specified email is invalid. |
+
+
+
Related pages
diff --git a/data/corefork.telegram.org/method/account.setGlobalPrivacySettings b/data/corefork.telegram.org/method/account.setGlobalPrivacySettings
index efd914f659..8ba84b9aaa 100644
--- a/data/corefork.telegram.org/method/account.setGlobalPrivacySettings
+++ b/data/corefork.telegram.org/method/account.setGlobalPrivacySettings
@@ -73,7 +73,24 @@
Result
-GlobalPrivacySettings
+GlobalPrivacySettings
+Possible errors
+
diff --git a/data/corefork.telegram.org/method/account.setPrivacy b/data/corefork.telegram.org/method/account.setPrivacy
index 7c12e6d987..2ba7d56367 100644
--- a/data/corefork.telegram.org/method/account.setPrivacy
+++ b/data/corefork.telegram.org/method/account.setPrivacy
@@ -96,6 +96,11 @@
400 |
+PRIVACY_TOO_LONG |
+ |
+
+
+400 |
PRIVACY_VALUE_INVALID |
The specified privacy rule combination is invalid. |
diff --git a/data/corefork.telegram.org/method/account.updateTheme b/data/corefork.telegram.org/method/account.updateTheme
index c6e9154add..031e209582 100644
--- a/data/corefork.telegram.org/method/account.updateTheme
+++ b/data/corefork.telegram.org/method/account.updateTheme
@@ -103,7 +103,24 @@
Result
-Theme
+Theme
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+THEME_INVALID |
+Invalid theme provided. |
+
+
+
diff --git a/data/corefork.telegram.org/method/account.uploadWallPaper b/data/corefork.telegram.org/method/account.uploadWallPaper
index 68703d71ca..cca66e96b0 100644
--- a/data/corefork.telegram.org/method/account.uploadWallPaper
+++ b/data/corefork.telegram.org/method/account.uploadWallPaper
@@ -97,6 +97,11 @@
400 |
+WALLPAPER_FILE_INVALID |
+The specified wallpaper file is invalid. |
+
+
+400 |
WALLPAPER_MIME_INVALID |
The specified wallpaper MIME type is invalid. |
diff --git a/data/corefork.telegram.org/method/account.verifyEmail b/data/corefork.telegram.org/method/account.verifyEmail
index b62d638af3..242aed968a 100644
--- a/data/corefork.telegram.org/method/account.verifyEmail
+++ b/data/corefork.telegram.org/method/account.verifyEmail
@@ -92,6 +92,11 @@
400 |
+EMAIL_INVALID |
+The specified email is invalid. |
+
+
+400 |
EMAIL_VERIFY_EXPIRED |
The verification email has expired. |
diff --git a/data/corefork.telegram.org/method/auth.checkRecoveryPassword b/data/corefork.telegram.org/method/auth.checkRecoveryPassword
index 2d796a55ee..50d94aab05 100644
--- a/data/corefork.telegram.org/method/auth.checkRecoveryPassword
+++ b/data/corefork.telegram.org/method/auth.checkRecoveryPassword
@@ -75,6 +75,23 @@
Result
Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+PASSWORD_RECOVERY_EXPIRED |
+The recovery code has expired. |
+
+
+
Related pages
How to login to a user's account if they have enabled 2FA, how to change password.
diff --git a/data/corefork.telegram.org/method/auth.importLoginToken b/data/corefork.telegram.org/method/auth.importLoginToken
index 122cecf762..cc2f11cce0 100644
--- a/data/corefork.telegram.org/method/auth.importLoginToken
+++ b/data/corefork.telegram.org/method/auth.importLoginToken
@@ -89,11 +89,21 @@
400 |
+AUTH_TOKEN_ALREADY_ACCEPTED |
+The specified auth token was already accepted. |
+
+
+400 |
AUTH_TOKEN_EXPIRED |
The authorization token has expired. |
400 |
+AUTH_TOKEN_INVALID |
+The specified auth token is invalid. |
+
+
+400 |
AUTH_TOKEN_INVALIDX |
The specified auth token is invalid. |
diff --git a/data/corefork.telegram.org/method/auth.recoverPassword b/data/corefork.telegram.org/method/auth.recoverPassword
index 7409b151ea..93d5f99311 100644
--- a/data/corefork.telegram.org/method/auth.recoverPassword
+++ b/data/corefork.telegram.org/method/auth.recoverPassword
@@ -100,6 +100,11 @@
CODE_EMPTY |
The provided code is empty. |
+
+400 |
+NEW_SETTINGS_INVALID |
+The new settings are invalid. |
+
Related pages
diff --git a/data/corefork.telegram.org/method/auth.requestPasswordRecovery b/data/corefork.telegram.org/method/auth.requestPasswordRecovery
index 10f9068d57..b57e22d75a 100644
--- a/data/corefork.telegram.org/method/auth.requestPasswordRecovery
+++ b/data/corefork.telegram.org/method/auth.requestPasswordRecovery
@@ -74,6 +74,11 @@
PASSWORD_EMPTY |
The provided password is empty. |
+
+400 |
+PASSWORD_RECOVERY_NA |
+ |
+
Related pages
diff --git a/data/corefork.telegram.org/method/auth.resendCode b/data/corefork.telegram.org/method/auth.resendCode
index da11cf3b10..943a892d60 100644
--- a/data/corefork.telegram.org/method/auth.resendCode
+++ b/data/corefork.telegram.org/method/auth.resendCode
@@ -107,7 +107,7 @@
406 |
SEND_CODE_UNAVAILABLE |
- |
+Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend). |
diff --git a/data/corefork.telegram.org/method/bots.setBotCommands b/data/corefork.telegram.org/method/bots.setBotCommands
index 6c33c316f0..e1b7efad02 100644
--- a/data/corefork.telegram.org/method/bots.setBotCommands
+++ b/data/corefork.telegram.org/method/bots.setBotCommands
@@ -85,6 +85,33 @@
Result
Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+BOT_COMMAND_DESCRIPTION_INVALID |
+The specified command description is invalid. |
+
+
+400 |
+BOT_COMMAND_INVALID |
+The specified command is invalid. |
+
+
+400 |
+LANG_CODE_INVALID |
+The specified language code is invalid. |
+
+
+
Bots can use this method
diff --git a/data/corefork.telegram.org/method/channels.convertToGigagroup b/data/corefork.telegram.org/method/channels.convertToGigagroup
index 174fc28465..2319b4bf15 100644
--- a/data/corefork.telegram.org/method/channels.convertToGigagroup
+++ b/data/corefork.telegram.org/method/channels.convertToGigagroup
@@ -60,6 +60,23 @@
Result
Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+PARTICIPANTS_TOO_FEW |
+Not enough participants. |
+
+
+
Related pages
How to handle channels, supergroups, groups, and what's the difference between them.
diff --git a/data/corefork.telegram.org/method/channels.editAdmin b/data/corefork.telegram.org/method/channels.editAdmin
index 15baa7b999..920955d183 100644
--- a/data/corefork.telegram.org/method/channels.editAdmin
+++ b/data/corefork.telegram.org/method/channels.editAdmin
@@ -112,6 +112,11 @@
400 |
+ADMIN_RANK_EMOJI_NOT_ALLOWED |
+An admin rank cannot contain emojis. |
+
+
+400 |
ADMIN_RANK_INVALID |
The specified admin rank is invalid. |
diff --git a/data/corefork.telegram.org/method/channels.editCreator b/data/corefork.telegram.org/method/channels.editCreator
index 69b8675090..ffa1332811 100644
--- a/data/corefork.telegram.org/method/channels.editCreator
+++ b/data/corefork.telegram.org/method/channels.editCreator
@@ -137,6 +137,11 @@
400 |
+SRP_ID_INVALID |
+Invalid SRP ID provided. |
+
+
+400 |
USER_ID_INVALID |
The provided user ID is invalid. |
diff --git a/data/corefork.telegram.org/method/channels.editPhoto b/data/corefork.telegram.org/method/channels.editPhoto
index 955b9609b7..7bddd8bede 100644
--- a/data/corefork.telegram.org/method/channels.editPhoto
+++ b/data/corefork.telegram.org/method/channels.editPhoto
@@ -122,6 +122,11 @@
400 |
+FILE_REFERENCE_INVALID |
+The specified file reference is invalid. |
+
+
+400 |
PHOTO_CROP_SIZE_SMALL |
Photo is too small. |
diff --git a/data/corefork.telegram.org/method/channels.setDiscussionGroup b/data/corefork.telegram.org/method/channels.setDiscussionGroup
index 7935201bd7..2bb3dd6cd6 100644
--- a/data/corefork.telegram.org/method/channels.setDiscussionGroup
+++ b/data/corefork.telegram.org/method/channels.setDiscussionGroup
@@ -115,6 +115,11 @@
MEGAGROUP_ID_INVALID |
Invalid supergroup ID. |
+
+400 |
+MEGAGROUP_PREHISTORY_HIDDEN |
+ |
+
Related pages
diff --git a/data/corefork.telegram.org/method/channels.setStickers b/data/corefork.telegram.org/method/channels.setStickers
index 50b2f832af..050dc492ea 100644
--- a/data/corefork.telegram.org/method/channels.setStickers
+++ b/data/corefork.telegram.org/method/channels.setStickers
@@ -100,6 +100,11 @@
PARTICIPANTS_TOO_FEW |
Not enough participants. |
+
+406 |
+STICKERSET_OWNER_ANONYMOUS |
+ |
+
Bots can use this method
diff --git a/data/corefork.telegram.org/method/channels.viewSponsoredMessage b/data/corefork.telegram.org/method/channels.viewSponsoredMessage
index 785562bc10..2b76adfb76 100644
--- a/data/corefork.telegram.org/method/channels.viewSponsoredMessage
+++ b/data/corefork.telegram.org/method/channels.viewSponsoredMessage
@@ -79,7 +79,24 @@
Result
-Bool
+Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+UNKNOWN_ERROR |
+Internal error. |
+
+
+
diff --git a/data/corefork.telegram.org/method/folders.deleteFolder b/data/corefork.telegram.org/method/folders.deleteFolder
index b8e5b5be9c..8caae2931e 100644
--- a/data/corefork.telegram.org/method/folders.deleteFolder
+++ b/data/corefork.telegram.org/method/folders.deleteFolder
@@ -80,6 +80,23 @@
Result
Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+FOLDER_ID_EMPTY |
+An empty folder ID was specified. |
+
+
+
Related pages
Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.
diff --git a/data/corefork.telegram.org/method/help.editUserInfo b/data/corefork.telegram.org/method/help.editUserInfo
index 233e53f769..05e3c8f879 100644
--- a/data/corefork.telegram.org/method/help.editUserInfo
+++ b/data/corefork.telegram.org/method/help.editUserInfo
@@ -85,6 +85,23 @@
Result
help.UserInfo
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+USER_INVALID |
+Invalid user provided. |
+
+
+
Related pages
How to create styled text with message entities
diff --git a/data/corefork.telegram.org/method/messages.editMessage b/data/corefork.telegram.org/method/messages.editMessage
index 8e44775868..07b1a43314 100644
--- a/data/corefork.telegram.org/method/messages.editMessage
+++ b/data/corefork.telegram.org/method/messages.editMessage
@@ -188,7 +188,12 @@
400 |
MEDIA_GROUPED_INVALID |
- |
+You tried to send media of different types in an album. |
+
+
+400 |
+MEDIA_NEW_INVALID |
+The new media is invalid. |
400 |
diff --git a/data/corefork.telegram.org/method/messages.forwardMessages b/data/corefork.telegram.org/method/messages.forwardMessages
index 1a2aa9de4f..334be334cf 100644
--- a/data/corefork.telegram.org/method/messages.forwardMessages
+++ b/data/corefork.telegram.org/method/messages.forwardMessages
@@ -247,6 +247,11 @@
400 |
+SCHEDULE_DATE_TOO_LATE |
+You can't schedule a message this far in the future. |
+
+
+400 |
SCHEDULE_TOO_MUCH |
There are too many scheduled messages. |
diff --git a/data/corefork.telegram.org/method/messages.getPollVotes b/data/corefork.telegram.org/method/messages.getPollVotes
index b2c5fd503a..d9ccc846fa 100644
--- a/data/corefork.telegram.org/method/messages.getPollVotes
+++ b/data/corefork.telegram.org/method/messages.getPollVotes
@@ -112,7 +112,7 @@
403 |
BROADCAST_FORBIDDEN |
- |
+Participants of polls in channels should stay anonymous. |
400 |
diff --git a/data/corefork.telegram.org/method/messages.getStickerSet b/data/corefork.telegram.org/method/messages.getStickerSet
index 28b35ffb05..a4674f44ee 100644
--- a/data/corefork.telegram.org/method/messages.getStickerSet
+++ b/data/corefork.telegram.org/method/messages.getStickerSet
@@ -86,6 +86,11 @@
400 |
+EMOTICON_STICKERPACK_MISSING |
+ |
+
+
+400 |
STICKERSET_INVALID |
The provided sticker set is invalid. |
diff --git a/data/corefork.telegram.org/method/messages.getStickers b/data/corefork.telegram.org/method/messages.getStickers
index ec768afe37..f72bf11254 100644
--- a/data/corefork.telegram.org/method/messages.getStickers
+++ b/data/corefork.telegram.org/method/messages.getStickers
@@ -80,6 +80,23 @@
Result
messages.Stickers
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+EMOTICON_EMPTY |
+The emoji is empty. |
+
+
+
Related pages
How to fetch results from large lists of objects.
diff --git a/data/corefork.telegram.org/method/messages.initHistoryImport b/data/corefork.telegram.org/method/messages.initHistoryImport
index 85c69a0a23..c102b546b7 100644
--- a/data/corefork.telegram.org/method/messages.initHistoryImport
+++ b/data/corefork.telegram.org/method/messages.initHistoryImport
@@ -84,6 +84,28 @@
Result
messages.HistoryImport
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+IMPORT_FILE_INVALID |
+The specified chat export file is invalid. |
+
+
+400 |
+IMPORT_FORMAT_UNRECOGNIZED |
+The specified chat export file was exported from an unsupported chat app. |
+
+
+
Related pages
Telegram allows importing messages and media from foreign chat apps.
diff --git a/data/corefork.telegram.org/method/messages.receivedQueue b/data/corefork.telegram.org/method/messages.receivedQueue
index 8ae53ea369..f5de6d8e92 100644
--- a/data/corefork.telegram.org/method/messages.receivedQueue
+++ b/data/corefork.telegram.org/method/messages.receivedQueue
@@ -85,6 +85,11 @@
400 |
+MAX_QTS_INVALID |
+The specified max_qts is invalid. |
+
+
+400 |
MSG_WAIT_FAILED |
A waiting call returned an error. |
diff --git a/data/corefork.telegram.org/method/messages.search b/data/corefork.telegram.org/method/messages.search
index 2a4f3badaa..0c305196d7 100644
--- a/data/corefork.telegram.org/method/messages.search
+++ b/data/corefork.telegram.org/method/messages.search
@@ -169,6 +169,11 @@
400 |
+FROM_PEER_INVALID |
+The specified from_id is invalid. |
+
+
+400 |
INPUT_FILTER_INVALID |
The specified filter is invalid. |
diff --git a/data/corefork.telegram.org/method/messages.searchGifs b/data/corefork.telegram.org/method/messages.searchGifs
index fd7160624d..1d0cf120bd 100644
--- a/data/corefork.telegram.org/method/messages.searchGifs
+++ b/data/corefork.telegram.org/method/messages.searchGifs
@@ -89,6 +89,11 @@
400 |
+METHOD_INVALID |
+The specified method is invalid. |
+
+
+400 |
SEARCH_QUERY_EMPTY |
The search query is empty. |
diff --git a/data/corefork.telegram.org/method/messages.sendInlineBotResult b/data/corefork.telegram.org/method/messages.sendInlineBotResult
index 9d56647834..a474787749 100644
--- a/data/corefork.telegram.org/method/messages.sendInlineBotResult
+++ b/data/corefork.telegram.org/method/messages.sendInlineBotResult
@@ -226,6 +226,16 @@
Result ID empty. |
+400 |
+SCHEDULE_DATE_TOO_LATE |
+You can't schedule a message this far in the future. |
+
+
+400 |
+SCHEDULE_TOO_MUCH |
+There are too many scheduled messages. |
+
+
420 |
SLOWMODE_WAIT_X |
Slowmode is enabled in this chat: you must wait for the specified number of seconds before sending another message to the chat. |
diff --git a/data/corefork.telegram.org/method/messages.sendMedia b/data/corefork.telegram.org/method/messages.sendMedia
index fe9e6ac541..a65f0fb824 100644
--- a/data/corefork.telegram.org/method/messages.sendMedia
+++ b/data/corefork.telegram.org/method/messages.sendMedia
@@ -147,6 +147,16 @@
400 |
+BOT_PAYMENTS_DISABLED |
+Please enable bot payments in botfather before calling this method. |
+
+
+400 |
+BOT_POLLS_DISABLED |
+ |
+
+
+400 |
BROADCAST_PUBLIC_VOTERS_FORBIDDEN |
You can't forward polls with public voters. |
@@ -212,6 +222,16 @@
400 |
+CURRENCY_TOTAL_AMOUNT_INVALID |
+ |
+
+
+400 |
+EMOTICON_INVALID |
+The specified emoji is invalid. |
+
+
+400 |
EXTERNAL_URL_INVALID |
External URL invalid. |
@@ -227,6 +247,21 @@
400 |
+FILE_REFERENCE_EMPTY |
+An empty file reference was specified. |
+
+
+400 |
+FILE_REFERENCE_EXPIRED |
+File reference expired, it must be refetched as described in https://core.telegram.org/api/file_reference. |
+
+
+400 |
+GAME_BOT_INVALID |
+ |
+
+
+400 |
IMAGE_PROCESS_FAILED |
Failure while processing image. |
@@ -262,6 +297,11 @@
400 |
+PAYMENT_PROVIDER_INVALID |
+The specified payment provider is invalid. |
+
+
+400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
@@ -312,11 +352,21 @@
400 |
+QUIZ_CORRECT_ANSWERS_TOO_MUCH |
+You specified too many correct answers in a quiz, quizes can only have one right answer! |
+
+
+400 |
QUIZ_CORRECT_ANSWER_INVALID |
An invalid value was provided to the correct_answers field. |
400 |
+QUIZ_MULTIPLE_INVALID |
+Quizes can't have the multiple_choice flag set! |
+
+
+400 |
REPLY_MARKUP_BUY_EMPTY |
Reply markup for buy button empty. |
@@ -332,6 +382,11 @@
400 |
+SCHEDULE_DATE_TOO_LATE |
+You can't schedule a message this far in the future. |
+
+
+400 |
SCHEDULE_TOO_MUCH |
There are too many scheduled messages. |
@@ -362,6 +417,11 @@
400 |
+VIDEO_CONTENT_TYPE_INVALID |
+The video's content type is invalid. |
+
+
+400 |
WEBPAGE_CURL_FAILED |
Failure while fetching the webpage with cURL. |
diff --git a/data/corefork.telegram.org/method/messages.sendMessage b/data/corefork.telegram.org/method/messages.sendMessage
index 7703877889..000722a1bd 100644
--- a/data/corefork.telegram.org/method/messages.sendMessage
+++ b/data/corefork.telegram.org/method/messages.sendMessage
@@ -257,11 +257,21 @@
400 |
+POLL_OPTION_INVALID |
+Invalid poll option provided. |
+
+
+400 |
REPLY_MARKUP_INVALID |
The provided reply markup is invalid. |
400 |
+REPLY_MARKUP_TOO_LONG |
+The specified reply_markup is too long. |
+
+
+400 |
SCHEDULE_BOT_NOT_ALLOWED |
Bots cannot schedule messages. |
@@ -272,6 +282,11 @@
400 |
+SCHEDULE_STATUS_PRIVATE |
+ |
+
+
+400 |
SCHEDULE_TOO_MUCH |
There are too many scheduled messages. |
diff --git a/data/corefork.telegram.org/method/messages.sendMultiMedia b/data/corefork.telegram.org/method/messages.sendMultiMedia
index c763e6921b..d2ff942852 100644
--- a/data/corefork.telegram.org/method/messages.sendMultiMedia
+++ b/data/corefork.telegram.org/method/messages.sendMultiMedia
@@ -167,6 +167,11 @@
400 |
+SCHEDULE_DATE_TOO_LATE |
+You can't schedule a message this far in the future. |
+
+
+400 |
SCHEDULE_TOO_MUCH |
There are too many scheduled messages. |
diff --git a/data/corefork.telegram.org/method/messages.setChatTheme b/data/corefork.telegram.org/method/messages.setChatTheme
index 98cc647096..ad59bd0079 100644
--- a/data/corefork.telegram.org/method/messages.setChatTheme
+++ b/data/corefork.telegram.org/method/messages.setChatTheme
@@ -85,6 +85,28 @@
Result
Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+EMOJI_INVALID |
+The specified theme emoji is valid. |
+
+
+400 |
+EMOJI_NOT_MODIFIED |
+The theme wasn't changed. |
+
+
+
Related pages
Get all available chat themes
diff --git a/data/corefork.telegram.org/method/messages.setHistoryTTL b/data/corefork.telegram.org/method/messages.setHistoryTTL
index 0b2614b3cb..9e55422fc8 100644
--- a/data/corefork.telegram.org/method/messages.setHistoryTTL
+++ b/data/corefork.telegram.org/method/messages.setHistoryTTL
@@ -84,7 +84,29 @@
Result
-Updates
+Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+CHAT_NOT_MODIFIED |
+The pinned message wasn't modified. |
+
+
+400 |
+TTL_PERIOD_INVALID |
+The specified TTL period is invalid. |
+
+
+
diff --git a/data/corefork.telegram.org/method/messages.setInlineBotResults b/data/corefork.telegram.org/method/messages.setInlineBotResults
index 4fc7bc3ba0..e9439c7380 100644
--- a/data/corefork.telegram.org/method/messages.setInlineBotResults
+++ b/data/corefork.telegram.org/method/messages.setInlineBotResults
@@ -127,6 +127,11 @@
400 |
+AUDIO_CONTENT_URL_EMPTY |
+The remote URL specified in the content field is empty. |
+
+
+400 |
AUDIO_TITLE_EMPTY |
An empty audio title was provided. |
@@ -147,6 +152,21 @@
400 |
+DOCUMENT_INVALID |
+The specified document is invalid. |
+
+
+400 |
+FILE_CONTENT_TYPE_INVALID |
+File content-type is invalid. |
+
+
+400 |
+FILE_TITLE_EMPTY |
+An empty file title was specified. |
+
+
+400 |
GIF_CONTENT_TYPE_INVALID |
GIF content-type invalid. |
@@ -162,6 +182,11 @@
400 |
+NEXT_OFFSET_INVALID |
+The specified offset is longer than 64 bytes. |
+
+
+400 |
PHOTO_CONTENT_TYPE_INVALID |
Photo mime-type invalid. |
@@ -221,6 +246,11 @@
Start parameter invalid. |
+400 |
+STICKER_DOCUMENT_INVALID |
+The specified sticker document is invalid. |
+
+
403 |
USER_BOT_INVALID |
This method can only be called by a bot. |
@@ -245,6 +275,11 @@
WEBDOCUMENT_SIZE_TOO_BIG |
Webdocument is too big! |
+
+400 |
+WEBDOCUMENT_URL_INVALID |
+The specified webdocument URL is invalid. |
+
Bots can use this method
diff --git a/data/corefork.telegram.org/method/messages.startHistoryImport b/data/corefork.telegram.org/method/messages.startHistoryImport
index 60e7a0c28f..445b43602a 100644
--- a/data/corefork.telegram.org/method/messages.startHistoryImport
+++ b/data/corefork.telegram.org/method/messages.startHistoryImport
@@ -81,6 +81,23 @@ To be called only after initializing the import with Result
Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+IMPORT_ID_INVALID |
+The specified import ID is invalid. |
+
+
+
Related pages
Telegram allows importing messages and media from foreign chat apps.
diff --git a/data/corefork.telegram.org/method/messages.updatePinnedMessage b/data/corefork.telegram.org/method/messages.updatePinnedMessage
index 31ea182df6..21b09ae27e 100644
--- a/data/corefork.telegram.org/method/messages.updatePinnedMessage
+++ b/data/corefork.telegram.org/method/messages.updatePinnedMessage
@@ -117,6 +117,11 @@
400 |
+BOT_ONESIDE_NOT_AVAIL |
+ |
+
+
+400 |
CHANNEL_PRIVATE |
You haven't joined this channel/supergroup. |
diff --git a/data/corefork.telegram.org/method/payments.getBankCardData b/data/corefork.telegram.org/method/payments.getBankCardData
index 2809f19bab..276d494817 100644
--- a/data/corefork.telegram.org/method/payments.getBankCardData
+++ b/data/corefork.telegram.org/method/payments.getBankCardData
@@ -73,7 +73,24 @@
Result
-payments.BankCardData
+payments.BankCardData
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+BANK_CARD_NUMBER_INVALID |
+The specified card number is invalid. |
+
+
+
diff --git a/data/corefork.telegram.org/method/phone.createGroupCall b/data/corefork.telegram.org/method/phone.createGroupCall
index 6d4560dfbf..a86966066f 100644
--- a/data/corefork.telegram.org/method/phone.createGroupCall
+++ b/data/corefork.telegram.org/method/phone.createGroupCall
@@ -115,6 +115,11 @@
CHAT_ADMIN_REQUIRED |
You must be an admin in this chat to do this. |
+
+400 |
+SCHEDULE_DATE_INVALID |
+Invalid schedule date provided. |
+
Related pages
diff --git a/data/corefork.telegram.org/method/phone.editGroupCallParticipant b/data/corefork.telegram.org/method/phone.editGroupCallParticipant
index 628afaed0f..58f832f8fb 100644
--- a/data/corefork.telegram.org/method/phone.editGroupCallParticipant
+++ b/data/corefork.telegram.org/method/phone.editGroupCallParticipant
@@ -126,6 +126,23 @@
Result
Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+USER_VOLUME_INVALID |
+The specified user volume is invalid. |
+
+
+
Related pages
Boolean type.
diff --git a/data/corefork.telegram.org/method/phone.inviteToGroupCall b/data/corefork.telegram.org/method/phone.inviteToGroupCall
index 94020e3d01..07a3b37a2e 100644
--- a/data/corefork.telegram.org/method/phone.inviteToGroupCall
+++ b/data/corefork.telegram.org/method/phone.inviteToGroupCall
@@ -84,7 +84,24 @@
Result
-Updates
+Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+403 |
+GROUPCALL_FORBIDDEN |
+ |
+
+
+
diff --git a/data/corefork.telegram.org/method/phone.joinGroupCall b/data/corefork.telegram.org/method/phone.joinGroupCall
index a42774aa31..7e617a66ba 100644
--- a/data/corefork.telegram.org/method/phone.joinGroupCall
+++ b/data/corefork.telegram.org/method/phone.joinGroupCall
@@ -109,7 +109,24 @@
Result
-Updates
+Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+GROUPCALL_SSRC_DUPLICATE_MUCH |
+ |
+
+
+
diff --git a/data/corefork.telegram.org/method/phone.joinGroupCallPresentation b/data/corefork.telegram.org/method/phone.joinGroupCallPresentation
index 635e50da8b..77d46a0ca8 100644
--- a/data/corefork.telegram.org/method/phone.joinGroupCallPresentation
+++ b/data/corefork.telegram.org/method/phone.joinGroupCallPresentation
@@ -84,7 +84,24 @@
Result
-Updates
+Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+403 |
+PARTICIPANT_JOIN_MISSING |
+ |
+
+
+
diff --git a/data/corefork.telegram.org/method/phone.toggleGroupCallSettings b/data/corefork.telegram.org/method/phone.toggleGroupCallSettings
index ba0ae32d4a..01020321e4 100644
--- a/data/corefork.telegram.org/method/phone.toggleGroupCallSettings
+++ b/data/corefork.telegram.org/method/phone.toggleGroupCallSettings
@@ -94,7 +94,24 @@
Result
-Updates
+Updates
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+GROUPCALL_NOT_MODIFIED |
+Group call settings weren't modified. |
+
+
+
diff --git a/data/corefork.telegram.org/method/photos.uploadProfilePhoto b/data/corefork.telegram.org/method/photos.uploadProfilePhoto
index d819b481b1..9d3f616866 100644
--- a/data/corefork.telegram.org/method/photos.uploadProfilePhoto
+++ b/data/corefork.telegram.org/method/photos.uploadProfilePhoto
@@ -101,6 +101,11 @@
400 |
+ALBUM_PHOTOS_TOO_MANY |
+Too many . |
+
+
+400 |
FILE_PARTS_INVALID |
The number of file parts is invalid. |
diff --git a/data/corefork.telegram.org/method/stickers.addStickerToSet b/data/corefork.telegram.org/method/stickers.addStickerToSet
index efedee3ee7..886e074a4e 100644
--- a/data/corefork.telegram.org/method/stickers.addStickerToSet
+++ b/data/corefork.telegram.org/method/stickers.addStickerToSet
@@ -99,6 +99,16 @@
STICKERSET_INVALID |
The provided sticker set is invalid. |
+
+400 |
+STICKER_PNG_NOPNG |
+One of the specified stickers is not a valid PNG file. |
+
+
+400 |
+STICKER_TGS_NOTGS |
+ |
+
Bots can use this method
diff --git a/data/corefork.telegram.org/method/stickers.checkShortName b/data/corefork.telegram.org/method/stickers.checkShortName
index fa4961edbd..6e74ac60b3 100644
--- a/data/corefork.telegram.org/method/stickers.checkShortName
+++ b/data/corefork.telegram.org/method/stickers.checkShortName
@@ -74,7 +74,29 @@
Result
-Bool
+Bool
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+SHORT_NAME_INVALID |
+The specified short name is invalid. |
+
+
+400 |
+SHORT_NAME_OCCUPIED |
+The specified short name is already in use. |
+
+
+
diff --git a/data/corefork.telegram.org/method/stickers.createStickerSet b/data/corefork.telegram.org/method/stickers.createStickerSet
index ab7a1750f1..64629c3c88 100644
--- a/data/corefork.telegram.org/method/stickers.createStickerSet
+++ b/data/corefork.telegram.org/method/stickers.createStickerSet
@@ -182,6 +182,21 @@
400 |
STICKER_TGS_NODOC |
+Incorrect document type for sticker. |
+
+
+400 |
+STICKER_TGS_NOTGS |
+ |
+
+
+400 |
+STICKER_THUMB_PNG_NOPNG |
+ |
+
+
+400 |
+STICKER_THUMB_TGS_NOTGS |
|
diff --git a/data/corefork.telegram.org/method/stickers.setStickerSetThumb b/data/corefork.telegram.org/method/stickers.setStickerSetThumb
index bb3b9ec9c4..ed3840e9b1 100644
--- a/data/corefork.telegram.org/method/stickers.setStickerSetThumb
+++ b/data/corefork.telegram.org/method/stickers.setStickerSetThumb
@@ -94,6 +94,16 @@
STICKERSET_INVALID |
The provided sticker set is invalid. |
+
+400 |
+STICKER_THUMB_PNG_NOPNG |
+ |
+
+
+400 |
+STICKER_THUMB_TGS_NOTGS |
+ |
+
Bots can use this method
diff --git a/data/corefork.telegram.org/method/stickers.suggestShortName b/data/corefork.telegram.org/method/stickers.suggestShortName
index 2871ea32c0..4d0705e56c 100644
--- a/data/corefork.telegram.org/method/stickers.suggestShortName
+++ b/data/corefork.telegram.org/method/stickers.suggestShortName
@@ -73,7 +73,24 @@
Result
-stickers.SuggestedShortName
+stickers.SuggestedShortName
+Possible errors
+
+
+
+Code |
+Type |
+Description |
+
+
+
+
+400 |
+TITLE_INVALID |
+The specified stickerpack title is invalid. |
+
+
+