getDraftMessageByConversationId

open fun getDraftMessageByConversationId(@NonNull context: Context, @NonNull conversationId: String): BaseMessage

Call this method to retrieve the draft message given conversationId from local Database represented by BaseMessage object.

Return

Draft message represented by BaseMessage or null

Parameters

context

The application context

conversationId

The conversation ID