From 8e56a7463c5f9244ced261eaddf826713841e803 Mon Sep 17 00:00:00 2001 From: Alisa Sireneva Date: Wed, 5 May 2021 21:36:20 +0300 Subject: [PATCH] Added USERPIC_UPLOAD_REQUIRED error --- telethon_generator/data/errors.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/telethon_generator/data/errors.csv b/telethon_generator/data/errors.csv index a702f86c..d3be7230 100644 --- a/telethon_generator/data/errors.csv +++ b/telethon_generator/data/errors.csv @@ -362,6 +362,7 @@ USER_NOT_MUTUAL_CONTACT,400 403,The provided user is not a mutual contact USER_NOT_PARTICIPANT,400,The target user is not a member of the specified megagroup or channel USER_PRIVACY_RESTRICTED,403,The user's privacy settings do not allow you to do this USER_RESTRICTED,403,"You're spamreported, you can't create channels or chats." +USERPIC_UPLOAD_REQUIRED,400,You must have a profile picture before using this method VIDEO_CONTENT_TYPE_INVALID,400,The video content type is not supported with the given parameters (i.e. supports_streaming) VIDEO_FILE_INVALID,400,The given video cannot be used WALLPAPER_FILE_INVALID,400,The given file cannot be used as a wallpaper