diff --git a/_schema/latest.json b/_schema/latest.json index 683c9b4..070dd32 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -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": 500, + "code": 400, "type": "MSG_WAIT_FAILED", "description": "A waiting call returned an error." }, @@ -83246,7 +83246,7 @@ "description": "There are too many stickers in this stickerpack, you can't add any more." }, "STICKERSET_INVALID": { - "code": 400, + "code": 406, "type": "STICKERSET_INVALID", "description": "The provided sticker set is invalid." }, @@ -83571,7 +83571,7 @@ "description": "The close flag cannot be provided together with any of the other flags." }, "TOPIC_DELETED": { - "code": 406, + "code": 400, "type": "TOPIC_DELETED", "description": "The specified topic was deleted." }, @@ -83776,7 +83776,7 @@ "description": "Bot-to-bot messaging is disabled because one of the two bots hasn't enabled the Bot to Bot setting in @BotFather." }, "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." },