delete Attachment
open fun deleteAttachment( @NonNull context: Context, @NonNull attachmentId: String, @Nullable operationCallback: STWOperationCallback)
Content copied to clipboard
Call this method to delete an attachment
This method is automatically deletes the attachment and its message.
Parameters
context
The application context
attachment Id
The attachment to delete.
operation Callback
This callback will be invoked when the attachment is successfully deleted or otherwise.