diff --git a/_schema/latest.json b/_schema/latest.json index b3a663a..3e5fbfd 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -79830,7 +79830,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 406, + "code": 400, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -80104,7 +80104,7 @@ "description": "The specified message is not a voice message." }, "MSG_WAIT_FAILED": { - "code": 500, + "code": 400, "type": "MSG_WAIT_FAILED", "description": "A waiting call returned an error." }, @@ -81439,7 +81439,7 @@ "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." },