ShowMessage
data class ShowMessage(val messageId: String, val parentMessageId: String?) : MessageListViewModel.Event
When we need to display a particular message to the user. Usually triggered by clicking on pinned messages and replied messages.
Parameters
messageId
The id of the message we need to navigate to.
parentMessageId
The ID of the parent Message if the message we want to scroll to is in a thread. If the message we want to scroll to is not in a thread, you can pass in a null value.