diff --git a/_schema/latest.json b/_schema/latest.json index c5d0aa5..19f408c 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -73340,7 +73340,7 @@ "description": "The invite hash is empty." }, "INVITE_HASH_EXPIRED": { - "code": 406, + "code": 400, "type": "INVITE_HASH_EXPIRED", "description": "The invite link has expired." }, @@ -74770,7 +74770,7 @@ "description": "You specified no topic IDs." }, "TOPIC_CLOSED": { - "code": 400, + "code": 406, "type": "TOPIC_CLOSED", "description": "This topic was closed, you can't send messages to it anymore." }, @@ -74780,7 +74780,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." }, @@ -74985,7 +74985,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." },