Skip to content

Commit 2dcc4df

Browse files
Merge pull request #312 from gotd/feat/update-schema
feat(schema): update documentation to the latest layer
2 parents 73a856a + b6f35dd commit 2dcc4df

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

_schema/latest.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68755,7 +68755,7 @@
6875568755
"description": "You do not have the rights to do this."
6875668756
},
6875768757
"CHAT_ADMIN_REQUIRED": {
68758-
"code": 400,
68758+
"code": 403,
6875968759
"type": "CHAT_ADMIN_REQUIRED",
6876068760
"description": "You must be an admin in this chat to do this."
6876168761
},
@@ -68790,7 +68790,7 @@
6879068790
"description": "The provided chat id is invalid."
6879168791
},
6879268792
"CHAT_INVALID": {
68793-
"code": 400,
68793+
"code": 500,
6879468794
"type": "CHAT_INVALID",
6879568795
"description": "Invalid chat."
6879668796
},
@@ -69800,7 +69800,7 @@
6980069800
"description": "chat_read_mark_expire_period seconds have passed since the message was sent, read receipts were deleted."
6980169801
},
6980269802
"MSG_WAIT_FAILED": {
69803-
"code": 500,
69803+
"code": 400,
6980469804
"type": "MSG_WAIT_FAILED",
6980569805
"description": "A waiting call returned an error."
6980669806
},
@@ -70030,7 +70030,7 @@
7003070030
"description": "You asked for the code too many times."
7003170031
},
7003270032
"PHONE_NUMBER_INVALID": {
70033-
"code": 400,
70033+
"code": 406,
7003470034
"type": "PHONE_NUMBER_INVALID",
7003570035
"description": "The phone number is invalid."
7003670036
},
@@ -70150,7 +70150,7 @@
7015070150
"description": "Cast a vote in the poll before calling this method."
7015170151
},
7015270152
"PREMIUM_ACCOUNT_REQUIRED": {
70153-
"code": 403,
70153+
"code": 400,
7015470154
"type": "PREMIUM_ACCOUNT_REQUIRED",
7015570155
"description": "A premium account is required to execute this action."
7015670156
},
@@ -70630,7 +70630,7 @@
7063070630
"description": "There are too many stickers in this stickerpack, you can't add any more."
7063170631
},
7063270632
"STICKERSET_INVALID": {
70633-
"code": 400,
70633+
"code": 406,
7063470634
"type": "STICKERSET_INVALID",
7063570635
"description": "The provided sticker set is invalid."
7063670636
},
@@ -70802,7 +70802,7 @@
7080270802
"TAKEOUT_REQUIRED": {
7080370803
"code": 403,
7080470804
"type": "TAKEOUT_REQUIRED",
70805-
"description": "A takeout session needs to be initialized first, see here » for more info."
70805+
"description": "A takeout¹ session needs to be initialized first, see here » for more info²."
7080670806
},
7080770807
"TASK_ALREADY_EXISTS": {
7080870808
"code": 400,
@@ -70895,7 +70895,7 @@
7089570895
"description": "You specified no topic IDs."
7089670896
},
7089770897
"TOPIC_CLOSED": {
70898-
"code": 400,
70898+
"code": 406,
7089970899
"type": "TOPIC_CLOSED",
7090070900
"description": "This topic was closed, you can't send messages to it anymore."
7090170901
},
@@ -70905,7 +70905,7 @@
7090570905
"description": "The close flag cannot be provided together with any of the other flags."
7090670906
},
7090770907
"TOPIC_DELETED": {
70908-
"code": 400,
70908+
"code": 406,
7090970909
"type": "TOPIC_DELETED",
7091070910
"description": "The specified topic was deleted."
7091170911
},
@@ -71140,7 +71140,7 @@
7114071140
"description": "The provided user is not a mutual contact."
7114171141
},
7114271142
"USER_NOT_PARTICIPANT": {
71143-
"code": 403,
71143+
"code": 400,
7114471144
"type": "USER_NOT_PARTICIPANT",
7114571145
"description": "You're not a member of this supergroup/channel."
7114671146
},

0 commit comments

Comments
 (0)