diff --git a/pyrogram/client/methods/users/set_user_profile_photo.py b/pyrogram/client/methods/users/set_photo.py similarity index 95% rename from pyrogram/client/methods/users/set_user_profile_photo.py rename to pyrogram/client/methods/users/set_photo.py index bc056466..cd7f955d 100644 --- a/pyrogram/client/methods/users/set_user_profile_photo.py +++ b/pyrogram/client/methods/users/set_photo.py @@ -20,8 +20,8 @@ from pyrogram.api import functions from ...ext import BaseClient -class SetUserProfilePhoto(BaseClient): - def set_user_profile_photo( +class SetPhoto(BaseClient): + def set_photo( self, photo: str ) -> bool: