photos.DeletePhotos
- class pyrogram.raw.functions.photos.DeletePhotos
Deletes profile photos. The method returns a list of successfully deleted photo IDs.
- Details:
Layer:
223ID:
87CF7F2F
- Parameters:
id (List of
InputPhoto) – Input photos to delete- Returns:
List of
int64-bit
TL Schema
photos.deletePhotos#87cf7f2f
id:Vector<InputPhoto>
= Vector<long>
Parameter Tree
DeletePhotos
└── id →
Vector < InputPhoto >Example
await app.invoke(
DeletePhotos(
id=[
InputPhotoEmpty()
],
)
)