diff --git a/_schema/latest.json b/_schema/latest.json index b9f2875..56d7eb5 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -80390,7 +80390,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 406, + "code": 400, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -81094,7 +81094,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." }, @@ -81994,12 +81994,12 @@ "description": "The specified token type is invalid." }, "TOPIC_CLOSED": { - "code": 406, + "code": 400, "type": "TOPIC_CLOSED", "description": "This topic was closed, you can't send messages to it anymore." }, "TOPIC_DELETED": { - "code": 406, + "code": 400, "type": "TOPIC_DELETED", "description": "The specified topic was deleted." }, @@ -82189,7 +82189,7 @@ "description": "This method can only be called by a bot." }, "USER_CHANNELS_TOO_MUCH": { - "code": 403, + "code": 400, "type": "USER_CHANNELS_TOO_MUCH", "description": "One of the users you tried to add is already in too many channels/supergroups." },