mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 06:45:39 +00:00
Rename delete_user_profile_photos to just delete_photos.
It's implied an user can only delete own photos.
This commit is contained in:
@@ -24,8 +24,8 @@ from pyrogram.api import functions, types
|
||||
from ...ext import BaseClient
|
||||
|
||||
|
||||
class DeleteUserProfilePhotos(BaseClient):
|
||||
def delete_user_profile_photos(
|
||||
class DeletePhotos(BaseClient):
|
||||
def delete_photos(
|
||||
self,
|
||||
id: Union[str, List[str]]
|
||||
) -> bool:
|
Reference in New Issue
Block a user