notification.raised Client Message
Client-side message raised when a notification is received via a live alert. Only raised when the Socket Notification (Live Alert) Distribution Type plugin is enabled, and only received when a recipient has enabled the notification type and the live alert distribution type for the given notification type id. Powers live alert messages.
Usage
$.telligent.evolution.messaging.subscribe('notification.raised', function(data) {
// handle the event
});
Data
id: id of the notificationcontentId: related content id stringcontentTypeId: related content type id stringtypeId: notification type id stringcontentUrl: url of the related contentmessage: short, displayable message regarding the notificationavatarUrl: url of actor who triggered the notification