2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 04:48:06 +00:00

Rename get_user_profile_photos_count to get_user_photos_count

This commit is contained in:
Dan 2019-05-29 09:41:59 +02:00
parent 1390797f58
commit 83cd828386

View File

@ -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: