code: function Message(obj) {
  	    _classCallCheck(this, Message);
  
  	    if (obj.signedData) {
  	      this.signedData = obj.signedData;
  	    }
  	    if (obj.pubKey) {
  	      this.pubKey = obj.pubKey;
  	    }
  	    if (obj.ipfsUri) {
  	      this.ipfsUri = obj.ipfsUri;
  	    }
  	    if (obj.sig) {
  	      if (typeof obj.sig !== 'string') {
  	        throw new ValidationError('Message signature must be a string');
  	      }
  	      this.sig = obj.sig;
  	      this.getHash();
  	    }
  	    this._validate();
  	  }
docs: Creates a message from the param object that must contain at least the mandatory fields: author, recipient, type, context and timestamp. You can use createRating() and createVerification() to automatically populate some of these fields and optionally sign the message.
  @param signedData