public Message(MessageType type, BasicPayload payload) { this.type = type; this.payload = payload.ToString(); }