mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +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:
parent
c2424029b5
commit
1390797f58
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ from pyrogram.api import functions, types
|
||||||
from ...ext import BaseClient
|
from ...ext import BaseClient
|
||||||
|
|
||||||
|
|
||||||
class DeleteUserProfilePhotos(BaseClient):
|
class DeletePhotos(BaseClient):
|
||||||
def delete_user_profile_photos(
|
def delete_photos(
|
||||||
self,
|
self,
|
||||||
id: Union[str, List[str]]
|
id: Union[str, List[str]]
|
||||||
) -> bool:
|
) -> bool:
|
||||||
Loading…
Reference in a new issue