From 7f1035b61148044097eee793c722bd566595eaae Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 23 Oct 2025 07:42:23 +0000 Subject: [PATCH] feat(schema): update documentation to the latest layer --- _schema/latest.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_schema/latest.json b/_schema/latest.json index 5b7c8b3..faa0a91 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -76316,7 +76316,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 400, + "code": 406, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -76846,7 +76846,7 @@ "description": "You asked for the code too many times." }, "PHONE_NUMBER_INVALID": { - "code": 406, + "code": 400, "type": "PHONE_NUMBER_INVALID", "description": "The phone number is invalid." }, @@ -77871,7 +77871,7 @@ "description": "You specified no topic IDs." }, "TOPIC_CLOSED": { - "code": 406, + "code": 400, "type": "TOPIC_CLOSED", "description": "This topic was closed, you can't send messages to it anymore." }, @@ -77881,7 +77881,7 @@ "description": "The close flag cannot be provided together with any of the other flags." }, "TOPIC_DELETED": { - "code": 406, + "code": 400, "type": "TOPIC_DELETED", "description": "The specified topic was deleted." }, @@ -78086,7 +78086,7 @@ "description": "This method can only be called by a bot." }, "USER_CHANNELS_TOO_MUCH": { - "code": 400, + "code": 403, "type": "USER_CHANNELS_TOO_MUCH", "description": "One of the users you tried to add is already in too many channels/supergroups." },