diff --git a/_schema/latest.json b/_schema/latest.json index 3abbf3e..d7b20e5 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -79830,7 +79830,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 400, + "code": 406, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -80142,7 +80142,7 @@ "description": "The specified offset is longer than 64 bytes." }, "NOT_ELIGIBLE": { - "code": 400, + "code": 403, "type": "NOT_ELIGIBLE", "description": "The current user is not eligible to join the Peer-to-Peer Login Program." }, @@ -80534,7 +80534,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." }, @@ -81434,12 +81434,12 @@ "description": "The specified token type is invalid." }, "TOPIC_CLOSED": { - "code": 400, + "code": 406, "type": "TOPIC_CLOSED", "description": "This topic was closed, you can't send messages to it anymore." }, "TOPIC_DELETED": { - "code": 400, + "code": 406, "type": "TOPIC_DELETED", "description": "The specified topic was deleted." }, @@ -81629,7 +81629,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." },