download Attachment
open fun downloadAttachment( @NonNull context: Context, @NonNull attachmentId: String, @Nullable operationCallback: STWOperationCallback<MessagingError>)
Content copied to clipboard
Call this method to download an attachment (except location attachment) given attachment Id.
See also
Parameters
context
The application context
attachment Id
Attachment Id to be downloaded
operation Callback
This callback will be invoked when the attachments is successfully downloaded.