1
0
mirror of https://github.com/danog/rpc-db.git synced 2024-11-26 12:04:45 +01:00
This commit is contained in:
Github Actions 2021-09-21 15:52:52 +02:00
parent 8b3ad2d81f
commit faba4cc8a6
4 changed files with 2709 additions and 42 deletions

17
v1.json
View File

@ -409,6 +409,7 @@
"INPUT_USER_DEACTIVATED",
"MSG_ID_INVALID",
"PARTICIPANT_ID_INVALID",
"PEER_ID_INVALID",
"PINNED_DIALOGS_TOO_MUCH",
"USER_ADMIN_INVALID",
"USER_ID_INVALID"
@ -736,6 +737,10 @@
"CHAT_ADMIN_REQUIRED",
"MESSAGE_ID_INVALID"
],
"stats.getMessageStats": [
"CHANNEL_INVALID",
"CHAT_ADMIN_REQUIRED"
],
"updates.getChannelDifference": [
"CHANNEL_INVALID",
"CHANNEL_PRIVATE",
@ -914,9 +919,6 @@
"CHAT_ADMIN_REQUIRED",
"MEGAGROUP_REQUIRED"
],
"stats.getMessageStats": [
"CHAT_ADMIN_REQUIRED"
],
"messages.discardEncryption": [
"CHAT_ID_EMPTY",
"ENCRYPTION_ALREADY_DECLINED",
@ -1588,6 +1590,9 @@
"AUTH_KEY_DUPLICATED",
"USER_RESTRICTED"
],
"channels.deleteMessages": [
"AUTH_KEY_DUPLICATED"
],
"channels.getChannels": [
"AUTH_KEY_DUPLICATED"
],
@ -1778,6 +1783,9 @@
"auth.checkPhone": [
"PHONE_NUMBER_INVALID"
],
"auth.resendCode": [
"SEND_CODE_UNAVAILABLE"
],
"contacts.getLocated": [
"USERPIC_PRIVACY_REQUIRED",
"USERPIC_UPLOAD_REQUIRED"
@ -3272,6 +3280,9 @@
"SECONDS_INVALID": [
"Invalid duration provided"
],
"SEND_CODE_UNAVAILABLE": [
""
],
"SEND_MESSAGE_MEDIA_INVALID": [
"Invalid media provided"
],

88
v2.json
View File

@ -2380,6 +2380,38 @@
"error_description": "You're spamreported, you can't create channels or chats."
}
],
"channels.deleteMessages": [
{
"error_code": 406,
"error_message": "AUTH_KEY_DUPLICATED",
"error_description": "An auth key with the same ID was already generated"
},
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 403,
"error_message": "MESSAGE_DELETE_FORBIDDEN",
"error_description": "You can't delete one of the messages you tried to delete, most likely because it is a service message."
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"channels.getMessages": [
{
"error_code": 406,
@ -4306,6 +4338,11 @@
"error_message": "PARTICIPANT_ID_INVALID",
"error_description": "The specified participant ID is invalid"
},
{
"error_code": 400,
"error_message": "PEER_ID_INVALID",
"error_description": "The provided peer id is invalid"
},
{
"error_code": 400,
"error_message": "PINNED_DIALOGS_TOO_MUCH",
@ -4420,33 +4457,6 @@
"error_description": "You haven't joined this channel\/supergroup"
}
],
"channels.deleteMessages": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHANNEL_PRIVATE",
"error_description": "You haven't joined this channel\/supergroup"
},
{
"error_code": 403,
"error_message": "MESSAGE_DELETE_FORBIDDEN",
"error_description": "You can't delete one of the messages you tried to delete, most likely because it is a service message."
},
{
"error_code": 400,
"error_message": "MSG_ID_INVALID",
"error_description": "Invalid message ID provided"
},
{
"error_code": -503,
"error_message": "Timeout",
"error_description": "Timeout while fetching data"
}
],
"channels.deleteUserHistory": [
{
"error_code": 400,
@ -5010,6 +5020,18 @@
"error_description": "The provided message id is invalid"
}
],
"stats.getMessageStats": [
{
"error_code": 400,
"error_message": "CHANNEL_INVALID",
"error_description": "The provided channel is invalid"
},
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
}
],
"account.reportPeer": [
{
"error_code": 400,
@ -5364,13 +5386,6 @@
"error_description": "You can only use this method on a supergroup"
}
],
"stats.getMessageStats": [
{
"error_code": 400,
"error_message": "CHAT_ADMIN_REQUIRED",
"error_description": "You must be an admin in this chat to do this"
}
],
"messages.discardEncryption": [
{
"error_code": 400,
@ -6674,6 +6689,11 @@
"error_code": 400,
"error_message": "PHONE_NUMBER_INVALID",
"error_description": "The phone number is invalid"
},
{
"error_code": 406,
"error_message": "SEND_CODE_UNAVAILABLE",
"error_description": ""
}
],
"account.sendChangePhoneCode": [

15
v3.json
View File

@ -409,6 +409,7 @@
"INPUT_USER_DEACTIVATED": "INPUT_USER_DEACTIVATED",
"MSG_ID_INVALID": "MSG_ID_INVALID",
"PARTICIPANT_ID_INVALID": "PARTICIPANT_ID_INVALID",
"PEER_ID_INVALID": "PEER_ID_INVALID",
"PINNED_DIALOGS_TOO_MUCH": "PINNED_DIALOGS_TOO_MUCH",
"USER_ADMIN_INVALID": "USER_ADMIN_INVALID",
"USER_ID_INVALID": "USER_ID_INVALID"
@ -736,6 +737,10 @@
"CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED",
"MESSAGE_ID_INVALID": "MESSAGE_ID_INVALID"
},
"stats.getMessageStats": {
"CHANNEL_INVALID": "CHANNEL_INVALID",
"CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED"
},
"updates.getChannelDifference": {
"CHANNEL_INVALID": "CHANNEL_INVALID",
"CHANNEL_PRIVATE": "CHANNEL_PRIVATE",
@ -914,9 +919,6 @@
"CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED",
"MEGAGROUP_REQUIRED": "MEGAGROUP_REQUIRED"
},
"stats.getMessageStats": {
"CHAT_ADMIN_REQUIRED": "CHAT_ADMIN_REQUIRED"
},
"messages.discardEncryption": {
"CHAT_ID_EMPTY": "CHAT_ID_EMPTY",
"ENCRYPTION_ALREADY_DECLINED": "ENCRYPTION_ALREADY_DECLINED",
@ -1885,6 +1887,9 @@
"AUTH_KEY_DUPLICATED": "AUTH_KEY_DUPLICATED",
"USER_RESTRICTED": "USER_RESTRICTED"
},
"channels.deleteMessages": {
"AUTH_KEY_DUPLICATED": "AUTH_KEY_DUPLICATED"
},
"channels.getChannels": {
"AUTH_KEY_DUPLICATED": "AUTH_KEY_DUPLICATED"
},
@ -2075,6 +2080,9 @@
"auth.checkPhone": {
"PHONE_NUMBER_INVALID": "PHONE_NUMBER_INVALID"
},
"auth.resendCode": {
"SEND_CODE_UNAVAILABLE": "SEND_CODE_UNAVAILABLE"
},
"contacts.getLocated": {
"USERPIC_PRIVACY_REQUIRED": "USERPIC_PRIVACY_REQUIRED",
"USERPIC_UPLOAD_REQUIRED": "USERPIC_UPLOAD_REQUIRED"
@ -2961,6 +2969,7 @@
"SCHEDULE_TOO_MUCH": "There are too many scheduled messages",
"SEARCH_QUERY_EMPTY": "The search query is empty",
"SECONDS_INVALID": "Invalid duration provided",
"SEND_CODE_UNAVAILABLE": "",
"SEND_MESSAGE_MEDIA_INVALID": "Invalid media provided",
"SEND_MESSAGE_TYPE_INVALID": "The message type is invalid",
"SENSITIVE_CHANGE_FORBIDDEN": "You can't change your sensitive content settings.",

2631
v4.json

File diff suppressed because it is too large Load Diff