api.deleteProfilePhoto()
Deletes a profile photo
Parameters
DeleteProfilePhotoParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
profilePhotoId | string | Identifier of the profile photo to delete |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'deleteProfilePhoto' | 'error'
airgram: Airgram
request: {
method: 'deleteProfilePhoto'
params: DeleteProfilePhotoParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}