From f3bd039f8572318fbcdf0331db2b1a84233957f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AC=A7=E9=98=B3?= <212045739+ouyooung@users.noreply.github.com> Date: Sun, 4 Jan 2026 02:24:06 +0800 Subject: [PATCH] Add errors for chat restrictions (#4729) --- telethon_generator/data/errors.csv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index c50e325c..72464ed4 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -528,3 +528,6 @@ WORKER_BUSY_TOO_LONG_RETRY,500,Telegram workers are too busy to respond immediat 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 +CHAT_SEND_VOICES_FORBIDDEN,403,You cannot send voices results in this chat +CHAT_SEND_PHOTOS_FORBIDDEN,403,You cannot send photos results in this chat +CHAT_SEND_PLAIN_FORBIDDEN,403,You cannot send plain results in this chat