delete Attachments
open fun deleteAttachments( @NonNull context: Context, @NonNull attachmentIds: List<String>, @Nullable operationCallback: STWOperationCallback<MessagingError>)
Content copied to clipboard
Call this method to delete an attachments.
This method is automatically deletes the attachment and its message.
Parameters
context
The application context
attachment Ids
List of ids of attachments to delete.
operation Callback
This callback will be invoked when the attachments are successfully deleted or not.