get Draft Message By Conversation Id
suspend fun getDraftMessageByConversationId(context: Context, conversationId: Int?): STWBaseMessage?
Content copied to clipboard
Call this method to retrieve the draft message given conversationId from local Database represented by STWBaseMessage.
This method should be called only from a coroutine or another suspend function
Return
Draft message represented by STWBaseMessage or null
See also
Parameters
context
The application context
conversation Id
The conversation ID