From f2bbb2eb4cd245d42d6dca12d0e9ac24d84b881f Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 27 Oct 2026 13:30:30 +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 c0f848d..4f9211c 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -83673,7 +83673,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 400, + "code": 406, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -84243,7 +84243,7 @@ "description": "You asked for the code too many times." }, "PHONE_NUMBER_INVALID": { - "code": 400, + "code": 406, "type": "PHONE_NUMBER_INVALID", "description": "The phone number is invalid." }, @@ -84413,7 +84413,7 @@ "description": "The privacy key is invalid." }, "PRIVACY_PREMIUM_REQUIRED": { - "code": 406, + "code": 403, "type": "PRIVACY_PREMIUM_REQUIRED", "description": "You need a Telegram Premium subscription to send a message to this user." }, @@ -85043,7 +85043,7 @@ "description": "There are too many stickers in this stickerpack, you can't add any more." }, "STICKERSET_INVALID": { - "code": 400, + "code": 406, "type": "STICKERSET_INVALID", "description": "The provided sticker set is invalid." }, @@ -85368,7 +85368,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." },