update readme to document the new message content structure
@@ -110,7 +110,16 @@ $ngRedux.getState();
date: date, //creation Date of this message
unread: true|false, //whether or not this message is new (or already seen if you will)
outgoingMessage: true|false, //flag to indicate if this was an outgoing or incoming message
- text: string, //message text
+ content: {
+ text: wonMessage.getTextMessage(),
+ matchScore: wonMessage.getMatchScore(),
+ proposes: wonMessage.getProposedMessages(),
+ proposesToCancel: wonMessage.getProposedToCancelMessages(),
+ accepts: wonMessage.getAcceptedMessages(),
+ rejects: wonMessage.getRejectsMessages(),
+ retracts: wonMessage.getRetractMessages(),
+ },
+ isParsable: true|false //whether it contains any non-null/non-undefined content within the content block of the message
uri: string //unique identifier of this message
isReceivedByOwn: true|false //whether the sent request/message is received by the own server or not (default: false, if its not an outgoingMessage the default is true)
isReceivedByRemote: true|false //whether the sent request/message is received by the remote server or not (default: false, if its not an outgoingMessage the default is true)
