The message
itself contains only data so it isn’t used to detect the message type (you’re trying to catch “readyToStart” messages, right?).
I don’t know how Unity client works but as I could understand it separates messages by classes names if not specified. So maybe this should look like this:
room.OnMessage<MyMessage>("MyMessage", (message) => {
// your code
});