diff --git a/_schema/latest.json b/_schema/latest.json index 2173c92..91fab4c 100644 --- a/_schema/latest.json +++ b/_schema/latest.json @@ -80891,7 +80891,7 @@ "description": "The current user is not in the channel." }, "CHANNEL_PRIVATE": { - "code": 400, + "code": 406, "type": "CHANNEL_PRIVATE", "description": "You haven't joined this channel/supergroup." }, @@ -82291,7 +82291,7 @@ "description": "The specified participant ID is invalid." }, "PARTICIPANT_JOIN_MISSING": { - "code": 400, + "code": 403, "type": "PARTICIPANT_JOIN_MISSING", "description": "Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall." }, @@ -82371,7 +82371,7 @@ "description": "You can't pin an empty chat with a user." }, "PEER_ID_INVALID": { - "code": 400, + "code": 406, "type": "PEER_ID_INVALID", "description": "The provided peer id is invalid." }, @@ -82616,7 +82616,7 @@ "description": "The privacy key is invalid." }, "PRIVACY_PREMIUM_REQUIRED": { - "code": 406, + "code": 403, "type": "PRIVACY_PREMIUM_REQUIRED", "description": "You need a Telegram Premium subscription to send a message to this user." }, @@ -83438,7 +83438,7 @@ "TAKEOUT_REQUIRED": { "code": 403, "type": "TAKEOUT_REQUIRED", - "description": "A takeout session needs to be initialized first, see here » for more info." + "description": "A takeout¹ session needs to be initialized first, see here » for more info²." }, "TASK_ALREADY_EXISTS": { "code": 400, @@ -83561,7 +83561,7 @@ "description": "You specified no topic IDs." }, "TOPIC_CLOSED": { - "code": 406, + "code": 400, "type": "TOPIC_CLOSED", "description": "This topic was closed, you can't send messages to it anymore." }, @@ -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." },