Updates the state of the message with the specified messageId to the specified newState.
The ID of the message.
The new state.