1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-11-26 20:14:40 +01:00
This commit is contained in:
Daniil Gentili 2023-11-23 19:51:37 +01:00
parent 2811a4bc25
commit f18cf2b431
5 changed files with 44 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -26,6 +26,9 @@
"ACCESS_TOKEN_INVALID": [ "ACCESS_TOKEN_INVALID": [
"auth.importBotAuthorization" "auth.importBotAuthorization"
], ],
"ADDRESS_INVALID": [
"channels.createChannel"
],
"ADMIN_ID_INVALID": [ "ADMIN_ID_INVALID": [
"messages.deleteRevokedExportedChatInvites", "messages.deleteRevokedExportedChatInvites",
"messages.getExportedChatInvites" "messages.getExportedChatInvites"
@ -39,6 +42,9 @@
"ADMINS_TOO_MUCH": [ "ADMINS_TOO_MUCH": [
"channels.editAdmin" "channels.editAdmin"
], ],
"AES_DECRYPT_FAILED": [
"upload.reuploadCdnFile"
],
"ALBUM_PHOTOS_TOO_MANY": [ "ALBUM_PHOTOS_TOO_MANY": [
"photos.updateProfilePhoto", "photos.updateProfilePhoto",
"photos.uploadProfilePhoto" "photos.uploadProfilePhoto"
@ -226,7 +232,8 @@
"invokeWithLayer", "invokeWithLayer",
"updates.getDifference", "updates.getDifference",
"upload.getCdnFileHashes", "upload.getCdnFileHashes",
"upload.getFile" "upload.getFile",
"upload.reuploadCdnFile"
], ],
"CHANNEL_FORUM_MISSING": [ "CHANNEL_FORUM_MISSING": [
"channels.createForumTopic", "channels.createForumTopic",
@ -319,6 +326,7 @@
"stats.getMessageStats", "stats.getMessageStats",
"stories.getBoostersList", "stories.getBoostersList",
"stories.getStoriesByID", "stories.getStoriesByID",
"stories.getStoriesViews",
"updates.getChannelDifference", "updates.getChannelDifference",
"updates.getDifference", "updates.getDifference",
"upload.getFile", "upload.getFile",
@ -404,6 +412,8 @@
"messages.uploadMedia", "messages.uploadMedia",
"phone.createGroupCall", "phone.createGroupCall",
"stats.getBroadcastStats", "stats.getBroadcastStats",
"stories.getPeerStories",
"stories.getStoriesViews",
"updates.getChannelDifference", "updates.getChannelDifference",
"updates.getDifference", "updates.getDifference",
"upload.getFile", "upload.getFile",
@ -512,7 +522,8 @@
"stats.getMessagePublicForwards", "stats.getMessagePublicForwards",
"stats.getMessageStats", "stats.getMessageStats",
"stories.canSendStory", "stories.canSendStory",
"stories.getBoostersList" "stories.getBoostersList",
"stories.getStoriesArchive"
], ],
"CHAT_DISCUSSION_UNALLOWED": [ "CHAT_DISCUSSION_UNALLOWED": [
"channels.toggleForum" "channels.toggleForum"
@ -1175,6 +1186,9 @@
"MEDIA_VIDEO_STORY_MISSING": [ "MEDIA_VIDEO_STORY_MISSING": [
"stories.sendStory" "stories.sendStory"
], ],
"MEGAGROUP_GEO_REQUIRED": [
"channels.editLocation"
],
"MEGAGROUP_ID_INVALID": [ "MEGAGROUP_ID_INVALID": [
"channels.setDiscussionGroup" "channels.setDiscussionGroup"
], ],
@ -1773,6 +1787,9 @@
"REPLY_TO_INVALID": [ "REPLY_TO_INVALID": [
"messages.sendMessage" "messages.sendMessage"
], ],
"REPLY_TO_USER_INVALID": [
"messages.sendMessage"
],
"RESET_REQUEST_MISSING": [ "RESET_REQUEST_MISSING": [
"account.declinePasswordReset" "account.declinePasswordReset"
], ],
@ -1980,8 +1997,13 @@
], ],
"STORY_ID_EMPTY": [ "STORY_ID_EMPTY": [
"stories.getStoriesByID", "stories.getStoriesByID",
"stories.incrementStoryViews",
"stories.sendReaction" "stories.sendReaction"
], ],
"STORY_ID_INVALID": [
"messages.sendMessage",
"messages.sendScreenshotNotification"
],
"STORY_NOT_MODIFIED": [ "STORY_NOT_MODIFIED": [
"stories.editStory" "stories.editStory"
], ],
@ -2386,6 +2408,7 @@
"channels.deleteUserHistory", "channels.deleteUserHistory",
"channels.editAdmin", "channels.editAdmin",
"channels.editBanned", "channels.editBanned",
"channels.editForumTopic",
"channels.editPhoto", "channels.editPhoto",
"channels.editTitle", "channels.editTitle",
"channels.getAdminLog", "channels.getAdminLog",
@ -2630,6 +2653,9 @@
"CHAT_ID_GENERATE_FAILED": [ "CHAT_ID_GENERATE_FAILED": [
"messages.createChat" "messages.createChat"
], ],
"CHAT_INVALID": [
"messages.migrateChat"
],
"CHAT_MEMBERS_CHANNEL": [ "CHAT_MEMBERS_CHANNEL": [
"messages.checkChatInvite" "messages.checkChatInvite"
], ],
@ -2661,6 +2687,9 @@
"messages.startBot", "messages.startBot",
"updates.getDifference" "updates.getDifference"
], ],
"SEND_MEDIA_INVALID": [
"messages.sendInlineBotResult"
],
"SIGN_IN_FAILED": [ "SIGN_IN_FAILED": [
"auth.signIn" "auth.signIn"
] ]
@ -2807,10 +2836,12 @@
"ABOUT_TOO_LONG": "About string too long.", "ABOUT_TOO_LONG": "About string too long.",
"ACCESS_TOKEN_EXPIRED": "Access token expired.", "ACCESS_TOKEN_EXPIRED": "Access token expired.",
"ACCESS_TOKEN_INVALID": "Access token invalid.", "ACCESS_TOKEN_INVALID": "Access token invalid.",
"ADDRESS_INVALID": "",
"ADMIN_ID_INVALID": "The specified admin ID is invalid.", "ADMIN_ID_INVALID": "The specified admin ID is invalid.",
"ADMIN_RANK_EMOJI_NOT_ALLOWED": "An admin rank cannot contain emojis.", "ADMIN_RANK_EMOJI_NOT_ALLOWED": "An admin rank cannot contain emojis.",
"ADMIN_RANK_INVALID": "The specified admin rank is invalid.", "ADMIN_RANK_INVALID": "The specified admin rank is invalid.",
"ADMINS_TOO_MUCH": "There are too many admins.", "ADMINS_TOO_MUCH": "There are too many admins.",
"AES_DECRYPT_FAILED": "",
"ALBUM_PHOTOS_TOO_MANY": "You have uploaded too many profile photos, delete some before retrying.", "ALBUM_PHOTOS_TOO_MANY": "You have uploaded too many profile photos, delete some before retrying.",
"ANONYMOUS_REACTIONS_DISABLED": "", "ANONYMOUS_REACTIONS_DISABLED": "",
"API_ID_INVALID": "API ID invalid.", "API_ID_INVALID": "API ID invalid.",
@ -2828,8 +2859,8 @@
"AUTOARCHIVE_NOT_AVAILABLE": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method.", "AUTOARCHIVE_NOT_AVAILABLE": "The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https:\/\/core.telegram.org\/api\/config#client-configuration) before calling this method.",
"BANK_CARD_NUMBER_INVALID": "The specified card number is invalid.", "BANK_CARD_NUMBER_INVALID": "The specified card number is invalid.",
"BANNED_RIGHTS_INVALID": "You provided some invalid flags in the banned rights.", "BANNED_RIGHTS_INVALID": "You provided some invalid flags in the banned rights.",
"BOOST_NOT_MODIFIED": "You're already [boosting](https:\/\/core.telegram.org\/api\/stories#channel-stories) the specified channel.", "BOOST_NOT_MODIFIED": "You're already [boosting](https:\/\/core.telegram.org\/api\/boost) the specified channel.",
"BOOSTS_REQUIRED": "The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/stories#channel-stories) in order to be able to post stories.", "BOOSTS_REQUIRED": "The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to be able to post stories.",
"BOT_APP_INVALID": "The specified bot app is invalid.", "BOT_APP_INVALID": "The specified bot app is invalid.",
"BOT_CHANNELS_NA": "Bots can't edit admin privileges.", "BOT_CHANNELS_NA": "Bots can't edit admin privileges.",
"BOT_COMMAND_DESCRIPTION_INVALID": "The specified command description is invalid.", "BOT_COMMAND_DESCRIPTION_INVALID": "The specified command description is invalid.",
@ -3046,6 +3077,7 @@
"MEDIA_TTL_INVALID": "The specified media TTL is invalid.", "MEDIA_TTL_INVALID": "The specified media TTL is invalid.",
"MEDIA_TYPE_INVALID": "The specified media type cannot be used in stories.", "MEDIA_TYPE_INVALID": "The specified media type cannot be used in stories.",
"MEDIA_VIDEO_STORY_MISSING": "", "MEDIA_VIDEO_STORY_MISSING": "",
"MEGAGROUP_GEO_REQUIRED": "",
"MEGAGROUP_ID_INVALID": "Invalid supergroup ID.", "MEGAGROUP_ID_INVALID": "Invalid supergroup ID.",
"MEGAGROUP_PREHISTORY_HIDDEN": "Group with hidden history for new members can't be set as discussion groups.", "MEGAGROUP_PREHISTORY_HIDDEN": "Group with hidden history for new members can't be set as discussion groups.",
"MEGAGROUP_REQUIRED": "You can only use this method on a supergroup.", "MEGAGROUP_REQUIRED": "You can only use this method on a supergroup.",
@ -3158,6 +3190,7 @@
"REPLY_MARKUP_INVALID": "The provided reply markup is invalid.", "REPLY_MARKUP_INVALID": "The provided reply markup is invalid.",
"REPLY_MARKUP_TOO_LONG": "The specified reply_markup is too long.", "REPLY_MARKUP_TOO_LONG": "The specified reply_markup is too long.",
"REPLY_TO_INVALID": "The specified `reply_to` field is invalid.", "REPLY_TO_INVALID": "The specified `reply_to` field is invalid.",
"REPLY_TO_USER_INVALID": "",
"RESET_REQUEST_MISSING": "No password reset is in progress.", "RESET_REQUEST_MISSING": "No password reset is in progress.",
"RESULT_ID_DUPLICATE": "You provided a duplicate result ID.", "RESULT_ID_DUPLICATE": "You provided a duplicate result ID.",
"RESULT_ID_EMPTY": "Result ID empty.", "RESULT_ID_EMPTY": "Result ID empty.",
@ -3179,6 +3212,7 @@
"SECONDS_INVALID": "Invalid duration provided.", "SECONDS_INVALID": "Invalid duration provided.",
"SEND_AS_PEER_INVALID": "You can't send messages as the specified peer.", "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).", "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).",
"SEND_MEDIA_INVALID": "",
"SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided.", "SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided.",
"SEND_MESSAGE_TYPE_INVALID": "The message type is invalid.", "SEND_MESSAGE_TYPE_INVALID": "The message type is invalid.",
"SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.", "SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.",
@ -3221,12 +3255,13 @@
"STORIES_NEVER_CREATED": "", "STORIES_NEVER_CREATED": "",
"STORIES_TOO_MUCH": "You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): you should buy a [Premium](\/api\/premium) subscription, delete an active story, or wait for the oldest story to expire.", "STORIES_TOO_MUCH": "You have hit the maximum active stories limit as specified by the [`story_expiring_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): you should buy a [Premium](\/api\/premium) subscription, delete an active story, or wait for the oldest story to expire.",
"STORY_ID_EMPTY": "You specified no story IDs.", "STORY_ID_EMPTY": "You specified no story IDs.",
"STORY_ID_INVALID": "",
"STORY_NOT_MODIFIED": "The new story information you passed is equal to the previous story information, thus it wasn't modified.", "STORY_NOT_MODIFIED": "The new story information you passed is equal to the previous story information, thus it wasn't modified.",
"STORY_PERIOD_INVALID": "The specified story period is invalid for this account.", "STORY_PERIOD_INVALID": "The specified story period is invalid for this account.",
"STORY_SEND_FLOOD_MONTHLY_%d": "You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.", "STORY_SEND_FLOOD_MONTHLY_%d": "You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.",
"STORY_SEND_FLOOD_WEEKLY_%d": "You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.", "STORY_SEND_FLOOD_WEEKLY_%d": "You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https:\/\/core.telegram.org\/api\/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.",
"SWITCH_PM_TEXT_EMPTY": "The switch_pm.text field was empty.", "SWITCH_PM_TEXT_EMPTY": "The switch_pm.text field was empty.",
"TAKEOUT_INIT_DELAY_%d": "Wait %d seconds before initializing takeout.", "TAKEOUT_INIT_DELAY_%d": "Sorry, for security reasons, you will be able to begin downloading your data in %d seconds. We have notified all your devices about the export request to make sure it's authorized and to give you time to react if it's not.",
"TAKEOUT_REQUIRED": "A takeout session has to be initialized, first.", "TAKEOUT_REQUIRED": "A takeout session has to be initialized, first.",
"TASK_ALREADY_EXISTS": "An email reset was already requested.", "TASK_ALREADY_EXISTS": "An email reset was already requested.",
"TEMP_AUTH_KEY_ALREADY_BOUND": "The passed temporary key is already bound to another **perm_auth_key_id**.", "TEMP_AUTH_KEY_ALREADY_BOUND": "The passed temporary key is already bound to another **perm_auth_key_id**.",