From 5362271074972a0fdf5198eb72c976fb2dcc3bb9 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 19 Oct 2026 14:54:56 +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 30a587a..dd4daf8 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -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." }, @@ -85358,7 +85358,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." }, @@ -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." }, @@ -85578,7 +85578,7 @@ "description": "Bot-to-bot messaging is disabled because one of the two bots hasn't enabled the Bot to Bot setting in @BotFather." }, "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." },