deleteCurrentMediaAttachment

fun deleteCurrentMediaAttachment(currentMediaAttachment: Attachment, skipEnrichUrl: Boolean = this.skipEnrichUrl)

Deletes the current media attachment from the message we're observing, if possible.

This will in turn update the UI accordingly or finish this screen in case there are no more media attachments to show.

Parameters

currentMediaAttachment

The media attachment to remove from the message we're updating.

skipEnrichUrl

If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it. Set to false by default.