diff --git a/pyrogram/client/methods/users/delete_profile_photos.py b/pyrogram/client/methods/users/delete_profile_photos.py
index 8ae736de..3d69fcd7 100644
--- a/pyrogram/client/methods/users/delete_profile_photos.py
+++ b/pyrogram/client/methods/users/delete_profile_photos.py
@@ -16,10 +16,9 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see .
-from struct import unpack
from typing import List, Union
-from pyrogram.api import functions, types
+from pyrogram.api import functions
from pyrogram.client.ext import utils
from ...ext import BaseClient
@@ -52,18 +51,7 @@ class DeleteProfilePhotos(BaseClient):
app.delete_profile_photos([p.file_id for p in photos[1:]])
"""
photo_ids = photo_ids if isinstance(photo_ids, list) else [photo_ids]
- input_photos = []
-
- for photo_id in photo_ids:
- unpacked = unpack("