get Attachment By Id
open fun getAttachmentById(@NonNull context: Context, @NonNull attachmentId: String): BaseAttachment
Content copied to clipboard
Call this method to retrieve the attachment represented by BaseAttachment object given a attachmentId.
Return
The attachment represented by BaseAttachment or null
Parameters
context
The application context
attachment Id
The attachment ID