getMessageById
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.
Returns a message with the given ID from the currentMessagesState.
The Message with the ID, if it exists.
The ID of the selected message.