From 69e4493c04a1386f83bef654b673b6d7c74e12ae Mon Sep 17 00:00:00 2001 From: "Aayco (Coder)" <157048391+Aayco@users.noreply.github.com> Date: Mon, 26 May 2025 22:04:26 +0300 Subject: [PATCH] Add custom error types for new FROZEN codes --- telethon_generator/data/errors.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index 3a23d542..98a86dde 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -525,3 +525,5 @@ WEBPUSH_KEY_INVALID,400,The specified web push elliptic curve Diffie-Hellman pub WEBPUSH_TOKEN_INVALID,400,The specified web push token is invalid WORKER_BUSY_TOO_LONG_RETRY,500,Telegram workers are too busy to respond immediately YOU_BLOCKED_USER,400,You blocked this user +FROZEN_METHOD_INVALID,420,You tried to use a method that is not available for frozen accounts +FROZEN_PARTICIPANT_MISSING,400,Your account is frozen and can't access the chat