diff --git a/pyrogram/client/methods/users/get_user_profile_photos_count.py b/pyrogram/client/methods/users/get_user_photos_count.py similarity index 93% rename from pyrogram/client/methods/users/get_user_profile_photos_count.py rename to pyrogram/client/methods/users/get_user_photos_count.py index 7870d003..3bbaf55b 100644 --- a/pyrogram/client/methods/users/get_user_profile_photos_count.py +++ b/pyrogram/client/methods/users/get_user_photos_count.py @@ -22,8 +22,8 @@ from pyrogram.api import functions, types from ...ext import BaseClient -class GetUserProfilePhotosCount(BaseClient): - def get_user_profile_photos_count(self, user_id: Union[int, str]) -> int: +class GetUserPhotosCount(BaseClient): + def get_user_photos_count(self, user_id: Union[int, str]) -> int: """Get the total count of profile pictures for a user. Parameters: