From 83cd82838642425d1bd2137f9a5ead7280d28c1c Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 29 May 2019 09:41:59 +0200 Subject: [PATCH] Rename get_user_profile_photos_count to get_user_photos_count --- ..._user_profile_photos_count.py => get_user_photos_count.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename pyrogram/client/methods/users/{get_user_profile_photos_count.py => get_user_photos_count.py} (93%) 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: