code: function checkMessageDetails(payload) {
      if (!payload 	|| !payload.id 
                      || !payload.personId 
                      || !payload.personEmail 
  					// As of July 2016, Message Details has been enriched with the Room type,
  					// note that Outgoing integrations do not receive the Room type property yet.
  					|| !payload.roomType					
                      || !payload.roomId  
                      || !payload.created) {
          debug("message structure is not compliant: missing property");
          return false;
      }
      if (!payload.text && !payload.files) {
          debug("message structure is not compliant: no text nor file in there");
          return false;
      }
      return true;
  }
docs: Returns a message if the payload complies with the documentation, undefined otherwise see https://developer.webex.com/endpoint-messages-messageId-get.html for more information { "id" : "46ef3f0a-e810-460c-ad37-c161adb48195", "personId" : "49465565-f6db-432f-ab41-34b15f544a36", "personEmail" : "matt@example.com", "roomId" : "24aaa2aa-3dcc-11e5-a152-fe34819cdc9a", "text" : "PROJECT UPDATE - A new project project plan has been published on Box", "files" : [ "http://www.example.com/images/media.png" ], "toPersonId" : "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mMDZkNzFhNS0wODMzLTRmYTUtYTcyYS1jYzg5YjI1ZWVlMmX", "toPersonEmail" : "julie@example.com", "created" : "2015-10-18T14:26:16+00:00" }