deleteImage

fun deleteImage(channelType: String, channelId: String, url: String): Call<Unit>

Deletes the image represented by url from the given channel.

Return

Executable async Call responsible for deleting an image.

Parameters

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.

url

The URL of the image to be deleted.

See also


Deletes an image not related to any channel.

Return

The empty Result object, or Result object with exception if the operation failed.

Executable async Call which completes with Result containing an instance of Unit if the file was successfully deleted.

Parameters

url

The URL of the image to be deleted.

See also