mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Rename get_user_profile_photos_count to get_user_photos_count
This commit is contained in:
parent
1390797f58
commit
83cd828386
@ -22,8 +22,8 @@ from pyrogram.api import functions, types
|
|||||||
from ...ext import BaseClient
|
from ...ext import BaseClient
|
||||||
|
|
||||||
|
|
||||||
class GetUserProfilePhotosCount(BaseClient):
|
class GetUserPhotosCount(BaseClient):
|
||||||
def get_user_profile_photos_count(self, user_id: Union[int, str]) -> int:
|
def get_user_photos_count(self, user_id: Union[int, str]) -> int:
|
||||||
"""Get the total count of profile pictures for a user.
|
"""Get the total count of profile pictures for a user.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
Loading…
x
Reference in New Issue
Block a user