How can I pass subject content in the node.js using add.textitem node? I have tried the code below but the bot only sends the content, I never get subject, parentItemId, etc..
var content = {
subject: 'test',
content: msg.payload,
}
msg.payload = content;
return msg;
Debugging
04/09/2019 17:42:58node: 8de0d86f.987558
msg.payload : Object
object
subject: "test"
content: "All arrays Chuck Norris declares are of infinite size, because Chuck Norris knows no bounds."
contentType: "Circuit.Enums.TextItemContentType.RICH"
But in Circuit, only get content.