code: def delete_user_profile_photos(
          self,
          id: Union[str, List[str]]
      ) -> bool:
          
          id = id if isinstance(id, list) else [id]
          input_photos = []
  
          for i in id:
              s = unpack("<qq", b64decode(i + "=" * (-len(i) % 4), "-_"))
  
              input_photos.append(
                  types.InputPhoto(
                      id=s[0],
                      access_hash=s[1],
                      file_reference=b""
                  )
              )
  
          return bool(self.send(
              functions.photos.DeletePhotos(
                  id=input_photos
              )
          ))
docs: Use this method to delete your own profile photos.
  
          Args:
              id (``str`` | ``list``):
                  A single :obj:`Photo <pyrogram.Photo>` id as string or multiple ids as list of strings for deleting
                  more than one photos at once.
  
          Returns:
              True on success.
  
          Raises:
              :class:`RPCError <pyrogram.RPCError>` in case of a Telegram RPC error.