Skip to content

Commit 73a856a

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

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

_schema/latest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68765,7 +68765,7 @@
6876568765
"description": "You can't enable forum topics in a discussion group linked to a channel."
6876668766
},
6876768767
"CHAT_FORWARDS_RESTRICTED": {
68768-
"code": 406,
68768+
"code": 400,
6876968769
"type": "CHAT_FORWARDS_RESTRICTED",
6877068770
"description": "You can't forward messages from a protected chat."
6877168771
},
@@ -69830,7 +69830,7 @@
6983069830
"description": "The specified offset is longer than 64 bytes."
6983169831
},
6983269832
"NOT_ELIGIBLE": {
69833-
"code": 403,
69833+
"code": 400,
6983469834
"type": "NOT_ELIGIBLE",
6983569835
"description": "The current user is not eligible to join the Peer-to-Peer Login Program."
6983669836
},
@@ -70030,7 +70030,7 @@
7003070030
"description": "You asked for the code too many times."
7003170031
},
7003270032
"PHONE_NUMBER_INVALID": {
70033-
"code": 406,
70033+
"code": 400,
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": 400,
70153+
"code": 403,
7015470154
"type": "PREMIUM_ACCOUNT_REQUIRED",
7015570155
"description": "A premium account is required to execute this action."
7015670156
},
@@ -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": 406,
70898+
"code": 400,
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": 406,
70908+
"code": 400,
7090970909
"type": "TOPIC_DELETED",
7091070910
"description": "The specified topic was deleted."
7091170911
},
@@ -71090,7 +71090,7 @@
7109071090
"description": "This method can only be called by a bot."
7109171091
},
7109271092
"USER_CHANNELS_TOO_MUCH": {
71093-
"code": 403,
71093+
"code": 400,
7109471094
"type": "USER_CHANNELS_TOO_MUCH",
7109571095
"description": "One of the users you tried to add is already in too many channels/supergroups."
7109671096
},
@@ -71135,12 +71135,12 @@
7113571135
"description": "This user was kicked from this supergroup/channel."
7113671136
},
7113771137
"USER_NOT_MUTUAL_CONTACT": {
71138-
"code": 400,
71138+
"code": 403,
7113971139
"type": "USER_NOT_MUTUAL_CONTACT",
7114071140
"description": "The provided user is not a mutual contact."
7114171141
},
7114271142
"USER_NOT_PARTICIPANT": {
71143-
"code": 400,
71143+
"code": 403,
7114471144
"type": "USER_NOT_PARTICIPANT",
7114571145
"description": "You're not a member of this supergroup/channel."
7114671146
},
@@ -71195,7 +71195,7 @@
7119571195
"description": "The specified video title is empty."
7119671196
},
7119771197
"VOICE_MESSAGES_FORBIDDEN": {
71198-
"code": 403,
71198+
"code": 400,
7119971199
"type": "VOICE_MESSAGES_FORBIDDEN",
7120071200
"description": "This user's privacy settings forbid you from sending voice messages."
7120171201
},

0 commit comments

Comments
 (0)