deleteAttachment

open fun deleteAttachment(    @NonNull context: Context,     @NonNull attachmentId: String,     @Nullable operationCallback: STWOperationCallback)

Call this method to delete an attachment

This method is automatically deletes the attachment and its message.

Parameters

context

The application context

attachmentId

The attachment to delete.

operationCallback

This callback will be invoked when the attachment is successfully deleted or otherwise.