getMessageById

fun getMessageById(messageId: String): Message?

Returns a message with the given ID from the currentMessagesState.

Return

The Message with the ID, if it exists.

Parameters

messageId

The ID of the selected message.