Skip to content

Instantly share code, notes, and snippets.

@MarshalX
Last active August 8, 2022 08:26
Show Gist options
  • Save MarshalX/54ad991a66b468ca3635c7ee8b5bafe6 to your computer and use it in GitHub Desktop.
Save MarshalX/54ad991a66b468ca3635c7ee8b5bafe6 to your computer and use it in GitHub Desktop.
Telegram API Error Databse diff
https://t.me/tgcrawl
https://github.com/MarshalX/telegram-crawler/commit/ff2e3085f5e09ffc0604e832312dcf81edb7b795
--- 174093605b6522c9f4.json 2022-08-07 17:26:16.000000000 +0200
+++ a27921641b664931c6.json 2022-08-07 17:26:28.000000000 +0200
@@ -123,6 +123,9 @@
"BOT_PAYMENTS_DISABLED": [
"messages.sendMedia"
],
+ "BOT_POLLS_DISABLED": [
+ "messages.sendMedia"
+ ],
"BOT_RESPONSE_TIMEOUT": [
"messages.getBotCallbackAnswer",
"messages.getInlineBotResults"
@@ -352,7 +355,6 @@
"channels.editAdmin",
"channels.editBanned",
"channels.editCreator",
- "channels.editLocation",
"channels.editPhoto",
"channels.editTitle",
"channels.exportInvite",
@@ -401,8 +403,7 @@
],
"CHAT_FORWARDS_RESTRICTED": [
"messages.forwardMessages",
- "messages.sendMedia",
- "messages.sendMultiMedia"
+ "messages.sendMedia"
],
"CHAT_ID_EMPTY": [
"messages.discardEncryption"
@@ -450,7 +451,6 @@
],
"CHAT_NOT_MODIFIED": [
"channels.deleteChannel",
- "channels.editLocation",
"channels.editPhoto",
"channels.editTitle",
"channels.getFullChannel",
@@ -557,7 +557,6 @@
],
"EMAIL_INVALID": [
"account.sendVerifyEmailCode",
- "account.updatePasswordSettings",
"account.verifyEmail"
],
"EMAIL_UNCONFIRMED": [
@@ -581,6 +580,9 @@
"EMOTICON_INVALID": [
"messages.sendMedia"
],
+ "EMOTICON_STICKERPACK_MISSING": [
+ "messages.getStickerSet"
+ ],
"ENCRYPTED_MESSAGE_INVALID": [
"auth.bindTempAuthKey",
"msgs_ack"
@@ -735,11 +737,7 @@
"phone.discardGroupCallRequest"
],
"GROUPCALL_INVALID": [
- "phone.getGroupCall",
- "phone.getGroupCallStreamChannels"
- ],
- "GROUPCALL_JOIN_MISSING": [
- "phone.getGroupCallStreamChannels"
+ "phone.getGroupCall"
],
"GROUPCALL_NOT_MODIFIED": [
"phone.toggleGroupCallSettings"
@@ -850,9 +848,6 @@
"upload.getFileHashes",
"upload.getWebFile"
],
- "MAX_DATE_INVALID": [
- "messages.deleteHistory"
- ],
"MAX_ID_INVALID": [
"photos.getUserPhotos"
],
@@ -942,8 +937,7 @@
],
"MESSAGE_NOT_MODIFIED": [
"messages.editInlineBotMessage",
- "messages.editMessage",
- "messages.sendReaction"
+ "messages.editMessage"
],
"MESSAGE_POLL_CLOSED": [
"messages.sendVote"
@@ -1293,6 +1287,7 @@
"messages.updatePinnedMessage"
],
"PINNED_DIALOGS_TOO_MUCH": [
+ "channels.editBanned",
"messages.sendMessage",
"messages.toggleDialogPin",
"updates.getChannelDifference"
@@ -1439,7 +1434,7 @@
"messages.searchGifs",
"messages.searchGlobal"
],
- "SEARCH_WITH_LINK_NOT_SUPPORTED": [
+ "SEARCH_WITH_LINK_NOT_SUPPROTED": [
"messages.getChatInviteImporters"
],
"SECONDS_INVALID": [
@@ -2095,7 +2090,7 @@
"ADMIN_RANK_EMOJI_NOT_ALLOWED": "An admin rank cannot contain emojis.",
"ADMIN_RANK_INVALID": "The specified admin rank is invalid.",
"ADMINS_TOO_MUCH": "There are too many admins.",
- "ALBUM_PHOTOS_TOO_MANY": "You have uploaded too many profile photos, delete some before retrying.",
+ "ALBUM_PHOTOS_TOO_MANY": "",
"API_ID_INVALID": "API ID invalid.",
"API_ID_PUBLISHED_FLOOD": "This API id was published somewhere, you can't use it now.",
"ARTICLE_TITLE_EMPTY": "The title of the article is empty.",
@@ -2120,6 +2115,7 @@
"BOT_MISSING": "This method can only be run by a bot.",
"BOT_ONESIDE_NOT_AVAIL": "Bots can't pin messages in PM just for themselves.",
"BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.",
+ "BOT_POLLS_DISABLED": "",
"BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot.",
"BOT_SCORE_NOT_MODIFIED": "The score wasn't modified.",
"BOTS_TOO_MUCH": "There are too many bots in this chat\/channel.",
@@ -2182,7 +2178,7 @@
"DC_ID_INVALID": "The provided DC ID is invalid.",
"DH_G_A_INVALID": "g_a invalid.",
"DOCUMENT_INVALID": "The specified document is invalid.",
- "EDIT_BOT_INVITE_FORBIDDEN": "Normal users can't edit invites that were created by bots.",
+ "EDIT_BOT_INVITE_FORBIDDEN": "",
"EMAIL_HASH_EXPIRED": "Email hash expired.",
"EMAIL_INVALID": "The specified email is invalid.",
"EMAIL_UNCONFIRMED": "Email unconfirmed.",
@@ -2192,6 +2188,7 @@
"EMOJI_NOT_MODIFIED": "The theme wasn't changed.",
"EMOTICON_EMPTY": "The emoji is empty.",
"EMOTICON_INVALID": "The specified emoji is invalid.",
+ "EMOTICON_STICKERPACK_MISSING": "",
"ENCRYPTED_MESSAGE_INVALID": "Encrypted message invalid.",
"ENCRYPTION_ALREADY_ACCEPTED": "Secret chat already accepted.",
"ENCRYPTION_ALREADY_DECLINED": "The secret chat was already declined.",
@@ -2241,7 +2238,6 @@
"GROUPCALL_ALREADY_DISCARDED": "The group call was already discarded.",
"GROUPCALL_FORBIDDEN": "The group call has already ended.",
"GROUPCALL_INVALID": "The specified group call is invalid.",
- "GROUPCALL_JOIN_MISSING": "You haven't joined this group call.",
"GROUPCALL_NOT_MODIFIED": "Group call settings weren't modified.",
"GROUPCALL_SSRC_DUPLICATE_MUCH": "The app needs to retry joining the group call with a new SSRC value.",
"GROUPED_MEDIA_INVALID": "Invalid grouped media.",
@@ -2257,7 +2253,7 @@
"Invalid msg_resend_req query": "Invalid msg_resend_req query.",
"Invalid msgs_ack query": "Invalid msgs_ack query.",
"Invalid msgs_state_req query": "Invalid msgs_state_req query.",
- "INVITE_FORBIDDEN_WITH_JOINAS": "If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID.",
+ "INVITE_FORBIDDEN_WITH_JOINAS": "",
"INVITE_HASH_EMPTY": "The invite hash is empty.",
"INVITE_HASH_EXPIRED": "The invite link has expired.",
"INVITE_HASH_INVALID": "The invite hash is invalid.",
@@ -2269,7 +2265,6 @@
"LIMIT_INVALID": "The provided limit is invalid.",
"LINK_NOT_MODIFIED": "Discussion link not modified.",
"LOCATION_INVALID": "The provided location is invalid.",
- "MAX_DATE_INVALID": "The specified maximum date is invalid.",
"MAX_ID_INVALID": "The provided max ID is invalid.",
"MAX_QTS_INVALID": "The specified max_qts is invalid.",
"MD5_CHECKSUM_INVALID": "The MD5 checksums do not match.",
@@ -2288,7 +2283,7 @@
"MESSAGE_EMPTY": "The provided message is empty.",
"MESSAGE_ID_INVALID": "The provided message id is invalid.",
"MESSAGE_IDS_EMPTY": "No message ids were provided.",
- "MESSAGE_NOT_MODIFIED": "The provided message data is identical to the previous message data, the message wasn't modified.",
+ "MESSAGE_NOT_MODIFIED": "The message text has not changed.",
"MESSAGE_POLL_CLOSED": "Poll closed.",
"MESSAGE_TOO_LONG": "The provided message is too long.",
"METHOD_INVALID": "The specified method is invalid.",
@@ -2307,7 +2302,7 @@
"PACK_TITLE_INVALID": "The stickerpack title is invalid.",
"PARTICIPANT_CALL_FAILED": "Failure while making call.",
"PARTICIPANT_ID_INVALID": "The specified participant ID is invalid.",
- "PARTICIPANT_JOIN_MISSING": "Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).",
+ "PARTICIPANT_JOIN_MISSING": "Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](\/method\/phone.joinGroupCall).",
"PARTICIPANT_VERSION_OUTDATED": "The other participant does not use an up to date telegram client with support for calls.",
"PARTICIPANTS_TOO_FEW": "Not enough participants.",
"PASSWORD_EMPTY": "The provided password is empty.",
@@ -2362,11 +2357,11 @@
"QUERY_ID_EMPTY": "The query ID is empty.",
"QUERY_ID_INVALID": "The query ID is invalid.",
"QUERY_TOO_SHORT": "The query string is too short.",
- "QUIZ_ANSWER_MISSING": "You can forward a quiz while hiding the original author only after choosing an option in the quiz.",
+ "QUIZ_ANSWER_MISSING": "",
"QUIZ_CORRECT_ANSWER_INVALID": "An invalid value was provided to the correct_answers field.",
"QUIZ_CORRECT_ANSWERS_EMPTY": "No correct quiz answer was specified.",
- "QUIZ_CORRECT_ANSWERS_TOO_MUCH": "You specified too many correct answers in a quiz, quizzes can only have one right answer!",
- "QUIZ_MULTIPLE_INVALID": "Quizzes can't have the multiple_choice flag set!",
+ "QUIZ_CORRECT_ANSWERS_TOO_MUCH": "You specified too many correct answers in a quiz, quizes can only have one right answer!",
+ "QUIZ_MULTIPLE_INVALID": "Quizes can't have the multiple_choice flag set!",
"RANDOM_ID_DUPLICATE": "You provided a random ID that was already used.",
"RANDOM_ID_EMPTY": "Random ID empty.",
"RANDOM_ID_INVALID": "A provided random ID is invalid.",
@@ -2392,7 +2387,7 @@
"SCHEDULE_TOO_MUCH": "There are too many scheduled messages.",
"SCORE_INVALID": "The specified game score is invalid.",
"SEARCH_QUERY_EMPTY": "The search query is empty.",
- "SEARCH_WITH_LINK_NOT_SUPPORTED": "You cannot provide a search query and an invite link at the same time.",
+ "SEARCH_WITH_LINK_NOT_SUPPROTED": "You cannot provide a search query and an invite link at the same time.",
"SECONDS_INVALID": "Invalid duration provided.",
"SEND_AS_PEER_INVALID": "You can't send messages as the specified peer.",
"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).",
@@ -2432,8 +2427,8 @@
"STICKERS_EMPTY": "No sticker provided.",
"STICKERS_TOO_MUCH": "There are too many stickers in this stickerpack, you can't add any more.",
"STICKERSET_INVALID": "The provided sticker set is invalid.",
- "STICKERSET_OWNER_ANONYMOUS": "Provided stickerset can't be installed as group stickerset to prevent admin deanonymization.",
- "TAKEOUT_INIT_DELAY_%d": "Wait %d seconds before initializing takeout.",
+ "STICKERSET_OWNER_ANONYMOUS": "Provided stickerset can't be installed as group stickerset to prevent admin deanonymisation.",
+ "TAKEOUT_INIT_DELAY_%d": "Wait %d seconds before initing takeout.",
"TAKEOUT_REQUIRED": "A takeout session has to be initialized, first.",
"TEMP_AUTH_KEY_ALREADY_BOUND": "The passed temporary key is already bound to another **perm_auth_key_id**.",
"TEMP_AUTH_KEY_EMPTY": "No temporary auth key provided.",
@@ -2629,7 +2624,6 @@
"contacts.importContacts",
"contacts.resetSaved",
"contacts.resetTopPeerRating",
- "contacts.resolvePhone",
"contacts.search",
"contacts.toggleTopPeers",
"contacts.unblock",
@@ -2760,7 +2754,6 @@
"messages.search",
"messages.searchGifs",
"messages.searchGlobal",
- "messages.searchSentMedia",
"messages.searchStickerSets",
"messages.sendEncrypted",
"messages.sendEncryptedFile",
@@ -2806,8 +2799,6 @@
"phone.getCallConfig",
"phone.getGroupCall",
"phone.getGroupCallJoinAs",
- "phone.getGroupCallStreamChannels",
- "phone.getGroupCallStreamRtmpUrl",
"phone.getGroupParticipants",
"phone.inviteToGroupCall",
"phone.joinGroupCall",
https://github.com/MarshalX/telegram-crawler/commit/68f5a83d7bc23841763d73778b38cf22c623ab88
--- 6c3b6a35149e591c95.json 2022-08-08 10:23:13.000000000 +0200
+++ d4636d863f53e8e461.json 2022-08-08 10:23:03.000000000 +0200
@@ -126,9 +126,6 @@
"BOT_PAYMENTS_DISABLED": [
"messages.sendMedia"
],
- "BOT_POLLS_DISABLED": [
- "messages.sendMedia"
- ],
"BOT_RESPONSE_TIMEOUT": [
"messages.getBotCallbackAnswer",
"messages.getInlineBotResults"
@@ -633,9 +630,6 @@
"EMOTICON_INVALID": [
"messages.sendMedia"
],
- "EMOTICON_STICKERPACK_MISSING": [
- "messages.getStickerSet"
- ],
"ENCRYPTED_MESSAGE_INVALID": [
"auth.bindTempAuthKey",
"msgs_ack"
@@ -662,15 +656,9 @@
"messages.sendMessage"
],
"ENTITY_BOUNDS_INVALID": [
- "help.editUserInfo",
- "messages.editInlineBotMessage",
"messages.editMessage",
- "messages.getWebPagePreview",
- "messages.saveDraft",
- "messages.sendInlineBotResult",
"messages.sendMedia",
- "messages.sendMessage",
- "messages.sendMultiMedia"
+ "messages.sendMessage"
],
"ENTITY_MENTION_USER_INVALID": [
"messages.sendMessage"
@@ -2082,7 +2070,6 @@
"messages.getAdminsWithInvites",
"messages.getChatInviteImporters",
"messages.getExportedChatInvite",
- "messages.getExportedChatInvites",
"messages.getMessageEditData",
"messages.hideAllChatJoinRequests",
"messages.sendInlineBotResult",
@@ -2312,7 +2299,6 @@
"BOT_MISSING": "This method can only be run by a bot.",
"BOT_ONESIDE_NOT_AVAIL": "Bots can't pin messages in PM just for themselves.",
"BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.",
- "BOT_POLLS_DISABLED": "",
"BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot.",
"BOT_SCORE_NOT_MODIFIED": "The score wasn't modified.",
"BOTS_TOO_MUCH": "There are too many bots in this chat\/channel.",
@@ -2394,7 +2380,6 @@
"EMOJI_NOT_MODIFIED": "The theme wasn't changed.",
"EMOTICON_EMPTY": "The emoji is empty.",
"EMOTICON_INVALID": "The specified emoji is invalid.",
- "EMOTICON_STICKERPACK_MISSING": "",
"ENCRYPTED_MESSAGE_INVALID": "Encrypted message invalid.",
"ENCRYPTION_ALREADY_ACCEPTED": "Secret chat already accepted.",
"ENCRYPTION_ALREADY_DECLINED": "The secret chat was already declined.",
@@ -2661,6 +2646,7 @@
"THEME_INVALID": "Invalid theme provided.",
"THEME_MIME_INVALID": "The theme's MIME type is invalid.",
"THEME_TITLE_INVALID": "The specified theme title is invalid.",
+ "Timeou": "",
"Timeout": "Timeout while fetching data.",
"TITLE_INVALID": "The specified stickerpack title is invalid.",
"TMP_PASSWORD_DISABLED": "The temporary password is disabled.",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment