get Message By Attachment Id
open fun getMessageByAttachmentId(@NonNull context: Context, @NonNull attachmentId: String): BaseMessage
Content copied to clipboard
Call this method to retrieve the message represented by BaseMessage object from local dataBase given an attachmentId
Return
The message represented by BaseMessage or null
Parameters
context
The application context
attachment Id
The attachment ID