getMessageById

open fun getMessageById(messageId: Long): BaseMessage

Retrieves message that matches messageId from the message list which this view model manages.

Return

BaseMessage that matches messageId since 3.3.0

Parameters

messageId

ID of the message you want to retrieve