clearPendingAttachment

open fun clearPendingAttachment(@NonNull context: Context, @Nullable operationCallback: STWOperationCallback<MessagingError>)

Call this method to delete pending (non downloaded) attachments.

This method is automatically deletes the attachment and its messages.

Parameters

context

The application context

operationCallback

This callback will be invoked when all pending attachment are successfully deleted or otherwise.