1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-12-02 09:27:55 +01:00
This commit is contained in:
Daniil Gentili 2024-01-17 23:03:36 +01:00
parent abccf80293
commit bc987426e4
7 changed files with 57 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,8 @@
"account.getAuthorizations", "account.getAuthorizations",
"account.getAutoDownloadSettings", "account.getAutoDownloadSettings",
"account.getAutoSaveSettings", "account.getAutoSaveSettings",
"account.getChannelDefaultEmojiStatuses",
"account.getChannelRestrictedStatusEmojis",
"account.getChatThemes", "account.getChatThemes",
"account.getContactSignUpNotification", "account.getContactSignUpNotification",
"account.getContentSettings", "account.getContentSettings",
@ -142,6 +144,7 @@
"channels.toggleSlowMode", "channels.toggleSlowMode",
"channels.toggleViewForumAsMessages", "channels.toggleViewForumAsMessages",
"channels.updateColor", "channels.updateColor",
"channels.updateEmojiStatus",
"channels.updateUsername", "channels.updateUsername",
"channels.viewSponsoredMessage", "channels.viewSponsoredMessage",
"chatlists.exportChatlistInvite", "chatlists.exportChatlistInvite",
@ -212,6 +215,7 @@
"messages.deleteHistory", "messages.deleteHistory",
"messages.deletePhoneCallHistory", "messages.deletePhoneCallHistory",
"messages.deleteRevokedExportedChatInvites", "messages.deleteRevokedExportedChatInvites",
"messages.deleteSavedHistory",
"messages.deleteScheduledMessages", "messages.deleteScheduledMessages",
"messages.discardEncryption", "messages.discardEncryption",
"messages.editChatAdmin", "messages.editChatAdmin",
@ -229,6 +233,7 @@
"messages.getBotCallbackAnswer", "messages.getBotCallbackAnswer",
"messages.getChatInviteImporters", "messages.getChatInviteImporters",
"messages.getCommonChats", "messages.getCommonChats",
"messages.getDefaultTagReactions",
"messages.getDhConfig", "messages.getDhConfig",
"messages.getDialogFilters", "messages.getDialogFilters",
"messages.getDialogs", "messages.getDialogs",
@ -258,13 +263,17 @@
"messages.getPeerDialogs", "messages.getPeerDialogs",
"messages.getPeerSettings", "messages.getPeerSettings",
"messages.getPinnedDialogs", "messages.getPinnedDialogs",
"messages.getPinnedSavedDialogs",
"messages.getPollResults", "messages.getPollResults",
"messages.getPollVotes", "messages.getPollVotes",
"messages.getRecentLocations", "messages.getRecentLocations",
"messages.getRecentReactions", "messages.getRecentReactions",
"messages.getRecentStickers", "messages.getRecentStickers",
"messages.getReplies", "messages.getReplies",
"messages.getSavedDialogs",
"messages.getSavedGifs", "messages.getSavedGifs",
"messages.getSavedHistory",
"messages.getSavedReactionTags",
"messages.getScheduledHistory", "messages.getScheduledHistory",
"messages.getScheduledMessages", "messages.getScheduledMessages",
"messages.getSearchCounters", "messages.getSearchCounters",
@ -298,6 +307,7 @@
"messages.receivedMessages", "messages.receivedMessages",
"messages.receivedQueue", "messages.receivedQueue",
"messages.reorderPinnedDialogs", "messages.reorderPinnedDialogs",
"messages.reorderPinnedSavedDialogs",
"messages.reorderStickerSets", "messages.reorderStickerSets",
"messages.report", "messages.report",
"messages.reportEncryptedSpam", "messages.reportEncryptedSpam",
@ -318,6 +328,7 @@
"messages.searchGlobal", "messages.searchGlobal",
"messages.searchSentMedia", "messages.searchSentMedia",
"messages.searchStickerSets", "messages.searchStickerSets",
"messages.sendBotRequestedPeer",
"messages.sendEncrypted", "messages.sendEncrypted",
"messages.sendEncryptedFile", "messages.sendEncryptedFile",
"messages.sendEncryptedService", "messages.sendEncryptedService",
@ -337,12 +348,14 @@
"messages.toggleBotInAttachMenu", "messages.toggleBotInAttachMenu",
"messages.toggleDialogPin", "messages.toggleDialogPin",
"messages.toggleNoForwards", "messages.toggleNoForwards",
"messages.toggleSavedDialogPin",
"messages.toggleStickerSets", "messages.toggleStickerSets",
"messages.transcribeAudio", "messages.transcribeAudio",
"messages.translateText", "messages.translateText",
"messages.uninstallStickerSet", "messages.uninstallStickerSet",
"messages.updateDialogFilter", "messages.updateDialogFilter",
"messages.updateDialogFiltersOrder", "messages.updateDialogFiltersOrder",
"messages.updateSavedReactionTag",
"messages.uploadEncryptedFile", "messages.uploadEncryptedFile",
"messages.uploadImportedMedia", "messages.uploadImportedMedia",
"msg_container", "msg_container",
@ -426,6 +439,7 @@
"stories.getStoriesArchive", "stories.getStoriesArchive",
"stories.getStoriesByID", "stories.getStoriesByID",
"stories.getStoriesViews", "stories.getStoriesViews",
"stories.getStoryReactionsList",
"stories.getStoryViewsList", "stories.getStoryViewsList",
"stories.getUserStories", "stories.getUserStories",
"stories.incrementStoryViews", "stories.incrementStoryViews",

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

@ -115,7 +115,11 @@
"stories.canSendStory" "stories.canSendStory"
], ],
"BOT_APP_INVALID": [ "BOT_APP_INVALID": [
"messages.getBotApp" "messages.getBotApp",
"messages.requestAppWebView"
],
"BOT_APP_SHORTNAME_INVALID": [
"messages.requestAppWebView"
], ],
"BOT_CHANNELS_NA": [ "BOT_CHANNELS_NA": [
"channels.editAdmin" "channels.editAdmin"
@ -171,6 +175,9 @@
"BOT_SCORE_NOT_MODIFIED": [ "BOT_SCORE_NOT_MODIFIED": [
"messages.setGameScore" "messages.setGameScore"
], ],
"BOT_WEBVIEW_DISABLED": [
"messages.requestWebView"
],
"BOTS_TOO_MUCH": [ "BOTS_TOO_MUCH": [
"channels.editAdmin", "channels.editAdmin",
"channels.inviteToChannel" "channels.inviteToChannel"
@ -298,6 +305,7 @@
"channels.toggleSlowMode", "channels.toggleSlowMode",
"channels.toggleViewForumAsMessages", "channels.toggleViewForumAsMessages",
"channels.updateColor", "channels.updateColor",
"channels.updateEmojiStatus",
"channels.updatePinnedMessage", "channels.updatePinnedMessage",
"channels.updateUsername", "channels.updateUsername",
"channels.viewSponsoredMessage", "channels.viewSponsoredMessage",
@ -342,6 +350,7 @@
"updates.getChannelDifference", "updates.getChannelDifference",
"updates.getDifference", "updates.getDifference",
"upload.getFile", "upload.getFile",
"users.getFullUser",
"users.getUsers" "users.getUsers"
], ],
"CHANNEL_PARICIPANT_MISSING": [ "CHANNEL_PARICIPANT_MISSING": [
@ -553,10 +562,13 @@
"CHAT_ID_INVALID": [ "CHAT_ID_INVALID": [
"channels.checkUsername", "channels.checkUsername",
"channels.getSendAs", "channels.getSendAs",
"channels.setStickers",
"channels.toggleJoinRequest", "channels.toggleJoinRequest",
"channels.toggleJoinToSend", "channels.toggleJoinToSend",
"channels.toggleParticipantsHidden",
"channels.togglePreHistoryHidden", "channels.togglePreHistoryHidden",
"channels.toggleSignatures", "channels.toggleSignatures",
"channels.toggleSlowMode",
"channels.updatePinnedMessage", "channels.updatePinnedMessage",
"folders.editPeerFolders", "folders.editPeerFolders",
"messages.acceptEncryption", "messages.acceptEncryption",
@ -745,6 +757,7 @@
"messages.editMessage", "messages.editMessage",
"messages.sendMedia", "messages.sendMedia",
"messages.sendMessage", "messages.sendMessage",
"messages.sendReaction",
"messages.setInlineBotResults", "messages.setInlineBotResults",
"upload.getWebFile" "upload.getWebFile"
], ],
@ -1048,6 +1061,9 @@
"INPUT_TEXT_EMPTY": [ "INPUT_TEXT_EMPTY": [
"messages.translateText" "messages.translateText"
], ],
"INPUT_TEXT_TOO_LONG": [
"messages.translateText"
],
"INPUT_USER_DEACTIVATED": [ "INPUT_USER_DEACTIVATED": [
"channels.editAdmin", "channels.editAdmin",
"channels.editBanned", "channels.editBanned",
@ -1287,6 +1303,8 @@
"messages.deleteHistory" "messages.deleteHistory"
], ],
"MSG_ID_INVALID": [ "MSG_ID_INVALID": [
"'",
"'.$method.'",
"account.updateNotifySettings", "account.updateNotifySettings",
"channels.deleteMessages", "channels.deleteMessages",
"channels.deleteParticipantHistory", "channels.deleteParticipantHistory",
@ -1479,6 +1497,7 @@
"messages.deleteExportedChatInvite", "messages.deleteExportedChatInvite",
"messages.deleteHistory", "messages.deleteHistory",
"messages.deleteRevokedExportedChatInvites", "messages.deleteRevokedExportedChatInvites",
"messages.deleteSavedHistory",
"messages.editChatAbout", "messages.editChatAbout",
"messages.editChatAdmin", "messages.editChatAdmin",
"messages.editChatDefaultBannedRights", "messages.editChatDefaultBannedRights",
@ -1507,6 +1526,7 @@
"messages.getPeerSettings", "messages.getPeerSettings",
"messages.getPollResults", "messages.getPollResults",
"messages.getReplies", "messages.getReplies",
"messages.getSavedHistory",
"messages.getScheduledHistory", "messages.getScheduledHistory",
"messages.getScheduledMessages", "messages.getScheduledMessages",
"messages.getSearchCounters", "messages.getSearchCounters",
@ -1545,6 +1565,7 @@
"messages.startBot", "messages.startBot",
"messages.toggleDialogPin", "messages.toggleDialogPin",
"messages.toggleNoForwards", "messages.toggleNoForwards",
"messages.toggleSavedDialogPin",
"messages.transcribeAudio", "messages.transcribeAudio",
"messages.translateText", "messages.translateText",
"messages.updatePinnedMessage", "messages.updatePinnedMessage",
@ -1575,6 +1596,7 @@
"stories.getStoriesArchive", "stories.getStoriesArchive",
"stories.getStoriesByID", "stories.getStoriesByID",
"stories.getStoriesViews", "stories.getStoriesViews",
"stories.getStoryReactionsList",
"stories.getStoryViewsList", "stories.getStoryViewsList",
"stories.incrementStoryViews", "stories.incrementStoryViews",
"stories.readStories", "stories.readStories",
@ -1801,6 +1823,7 @@
"REACTION_INVALID": [ "REACTION_INVALID": [
"messages.sendReaction", "messages.sendReaction",
"messages.setDefaultReaction", "messages.setDefaultReaction",
"messages.updateSavedReactionTag",
"stories.sendReaction" "stories.sendReaction"
], ],
"REACTIONS_TOO_MANY": [ "REACTIONS_TOO_MANY": [
@ -1816,6 +1839,7 @@
"messages.setInlineBotResults" "messages.setInlineBotResults"
], ],
"REPLY_MARKUP_TOO_LONG": [ "REPLY_MARKUP_TOO_LONG": [
"messages.editMessage",
"messages.sendMedia", "messages.sendMedia",
"messages.sendMessage" "messages.sendMessage"
], ],
@ -1856,6 +1880,7 @@
"upload.reuploadCdnFile" "upload.reuploadCdnFile"
], ],
"SCHEDULE_BOT_NOT_ALLOWED": [ "SCHEDULE_BOT_NOT_ALLOWED": [
"messages.forwardMessages",
"messages.sendMedia", "messages.sendMedia",
"messages.sendMessage" "messages.sendMessage"
], ],
@ -2171,6 +2196,7 @@
"messages.setInlineBotResults" "messages.setInlineBotResults"
], ],
"USAGE_LIMIT_INVALID": [ "USAGE_LIMIT_INVALID": [
"messages.editExportedChatInvite",
"messages.exportChatInvite" "messages.exportChatInvite"
], ],
"USER_ADMIN_INVALID": [ "USER_ADMIN_INVALID": [
@ -2436,6 +2462,7 @@
"messages.addChatUser", "messages.addChatUser",
"messages.forwardMessage", "messages.forwardMessage",
"messages.forwardMessages", "messages.forwardMessages",
"messages.requestWebView",
"messages.sendInlineBotResult", "messages.sendInlineBotResult",
"messages.sendMedia", "messages.sendMedia",
"messages.sendMessage", "messages.sendMessage",
@ -2522,6 +2549,7 @@
], ],
"CHAT_SEND_PLAIN_FORBIDDEN": [ "CHAT_SEND_PLAIN_FORBIDDEN": [
"messages.forwardMessages", "messages.forwardMessages",
"messages.sendInlineBotResult",
"messages.sendMedia", "messages.sendMedia",
"messages.sendMessage" "messages.sendMessage"
], ],
@ -2708,12 +2736,6 @@
"channels.createChannel", "channels.createChannel",
"messages.migrateChat" "messages.migrateChat"
], ],
"GROUPCALL_ADD_PARTICIPANTS_FAILED": [
"phone.joinGroupCall"
],
"MEMBER_NOT_FOUND": [
"auth.importLoginToken"
],
"MSG_WAIT_FAILED": [ "MSG_WAIT_FAILED": [
"messages.editMessage", "messages.editMessage",
"messages.receivedQueue", "messages.receivedQueue",
@ -2873,6 +2895,11 @@
"req_pq_multi" "req_pq_multi"
] ]
}, },
"4": {
"MSG_ID_INVALID": [
"'.$method.'"
]
},
"-503": { "-503": {
"Timeout": [ "Timeout": [
"messages.getBotCallbackAnswer", "messages.getBotCallbackAnswer",
@ -2913,6 +2940,7 @@
"BOOSTS_EMPTY": "No boost slots were specified.", "BOOSTS_EMPTY": "No boost slots were specified.",
"BOOSTS_REQUIRED": "The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.", "BOOSTS_REQUIRED": "The specified channel must first be [boosted by its users](https:\/\/core.telegram.org\/api\/boost) in order to perform this action.",
"BOT_APP_INVALID": "The specified bot app is invalid.", "BOT_APP_INVALID": "The specified bot app is invalid.",
"BOT_APP_SHORTNAME_INVALID": "The specified bot app short name 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.",
"BOT_COMMAND_INVALID": "The specified command is invalid.", "BOT_COMMAND_INVALID": "The specified command is invalid.",
@ -2925,6 +2953,7 @@
"BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.", "BOT_PAYMENTS_DISABLED": "Please enable bot payments in botfather before calling this method.",
"BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot.", "BOT_RESPONSE_TIMEOUT": "A timeout occurred while fetching data from the bot.",
"BOT_SCORE_NOT_MODIFIED": "The score wasn't modified.", "BOT_SCORE_NOT_MODIFIED": "The score wasn't modified.",
"BOT_WEBVIEW_DISABLED": "",
"BOTS_TOO_MUCH": "There are too many bots in this chat\/channel.", "BOTS_TOO_MUCH": "There are too many bots in this chat\/channel.",
"BROADCAST_FORBIDDEN": "Channel poll voters and reactions cannot be fetched to prevent deanonymization.", "BROADCAST_FORBIDDEN": "Channel poll voters and reactions cannot be fetched to prevent deanonymization.",
"BROADCAST_ID_INVALID": "Broadcast ID invalid.", "BROADCAST_ID_INVALID": "Broadcast ID invalid.",
@ -3073,7 +3102,6 @@
"GRAPH_EXPIRED_RELOAD": "This graph has expired, please obtain a new graph token.", "GRAPH_EXPIRED_RELOAD": "This graph has expired, please obtain a new graph token.",
"GRAPH_INVALID_RELOAD": "Invalid graph token provided, please reload the stats and provide the updated token.", "GRAPH_INVALID_RELOAD": "Invalid graph token provided, please reload the stats and provide the updated token.",
"GRAPH_OUTDATED_RELOAD": "The graph is outdated, please get a new async token using stats.getBroadcastStats.", "GRAPH_OUTDATED_RELOAD": "The graph is outdated, please get a new async token using stats.getBroadcastStats.",
"GROUPCALL_ADD_PARTICIPANTS_FAILED": "",
"GROUPCALL_ALREADY_DISCARDED": "The group call was already discarded.", "GROUPCALL_ALREADY_DISCARDED": "The group call was already discarded.",
"GROUPCALL_ALREADY_STARTED": "The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).", "GROUPCALL_ALREADY_STARTED": "The groupcall has already started, you can join directly using [phone.joinGroupCall](https:\/\/core.telegram.org\/method\/phone.joinGroupCall).",
"GROUPCALL_FORBIDDEN": "The group call has already ended.", "GROUPCALL_FORBIDDEN": "The group call has already ended.",
@ -3094,6 +3122,7 @@
"INPUT_CHATLIST_INVALID": "The specified folder is invalid.", "INPUT_CHATLIST_INVALID": "The specified folder is invalid.",
"INPUT_FILTER_INVALID": "The specified filter is invalid.", "INPUT_FILTER_INVALID": "The specified filter is invalid.",
"INPUT_TEXT_EMPTY": "The specified text is empty.", "INPUT_TEXT_EMPTY": "The specified text is empty.",
"INPUT_TEXT_TOO_LONG": "The specified text is too long.",
"INPUT_USER_DEACTIVATED": "The specified user was deleted.", "INPUT_USER_DEACTIVATED": "The specified user was deleted.",
"Invalid msg_resend_req query": "Invalid msg_resend_req query.", "Invalid msg_resend_req query": "Invalid msg_resend_req query.",
"Invalid msgs_ack query": "Invalid msgs_ack query.", "Invalid msgs_ack query": "Invalid msgs_ack query.",
@ -3134,7 +3163,6 @@
"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.",
"MEMBER_NOT_FOUND": "",
"MESSAGE_AUTHOR_REQUIRED": "Message author required.", "MESSAGE_AUTHOR_REQUIRED": "Message author required.",
"MESSAGE_DELETE_FORBIDDEN": "You can't delete one of the messages you tried to delete, most likely because it is a service message.", "MESSAGE_DELETE_FORBIDDEN": "You can't delete one of the messages you tried to delete, most likely because it is a service message.",
"MESSAGE_EDIT_TIME_EXPIRED": "You can't edit this message anymore, too much time has passed since its creation.", "MESSAGE_EDIT_TIME_EXPIRED": "You can't edit this message anymore, too much time has passed since its creation.",
@ -3264,7 +3292,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_MEDIA_INVALID": "The specified media is 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.",