Layer 220
PhotosDeletePhotos
Deletes profile photos. The method returns a list of successfully deleted photo IDs.
method
Users
photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | Vector<InputPhoto> | Input photos to delete |
Returns
VectorGogram Example
// PhotosDeletePhotos - positional arguments result, err := client.PhotosDeletePhotos([]tg.InputPhoto{&tg.InputPhoto{ID: int64(0), AccessHash: int64(0), FileReference: []byte{}}}) if err != nil { // handle error } // result is *tg.Vector