diff --git a/_schema/latest.json b/_schema/latest.json index 106e53d..7c14b49 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -81006,7 +81006,7 @@ "description": "The provided chat id is invalid." }, "CHAT_INVALID": { - "code": 400, + "code": 500, "type": "CHAT_INVALID", "description": "Invalid chat." }, @@ -81891,7 +81891,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 406, + "code": 400, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -82176,7 +82176,7 @@ "description": "The specified voice message is too long to be transcribed." }, "MSG_WAIT_FAILED": { - "code": 400, + "code": 500, "type": "MSG_WAIT_FAILED", "description": "A waiting call returned an error." }, @@ -82616,7 +82616,7 @@ "description": "The privacy key is invalid." }, "PRIVACY_PREMIUM_REQUIRED": { - "code": 403, + "code": 406, "type": "PRIVACY_PREMIUM_REQUIRED", "description": "You need a Telegram Premium subscription to send a message to this user." }, @@ -83571,7 +83571,7 @@ "description": "The close flag cannot be provided together with any of the other flags." }, "TOPIC_DELETED": { - "code": 400, + "code": 406, "type": "TOPIC_DELETED", "description": "The specified topic was deleted." },