Hi Team,
I have a requirement to catch up a message posted, either by the agent or user for that i am using “onMessageCreate” event.But on message create event is not triggering.
Here is the code for detail.
exports = {
events: [{ event: "onMessageCreate", callback: "onMessageCreateCallback" }],
onMessageCreateCallback: function(payload) {
console.log("Logging arguments from onMessageCreate event: " + JSON.stringify(payload));
}
}
Thanks,
Tipuranjali.