diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index 0576b09f..e74b70dd 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -245,6 +245,7 @@ PHONE_NUMBER_OCCUPIED,400,The phone number is already in use PHONE_NUMBER_UNOCCUPIED,400,The phone number is not yet being used PHONE_PASSWORD_FLOOD,406,You have tried logging in too many times PHONE_PASSWORD_PROTECTED,400,This phone is password protected +PHOTO_CONTENT_TYPE_INVALID,400, PHOTO_CONTENT_URL_EMPTY,400,The content from the URL used as a photo appears to be empty or has caused another HTTP error PHOTO_CROP_SIZE_SMALL,400,Photo is too small PHOTO_EXT_INVALID,400,The extension of the photo is invalid