<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>notification.raised Client Message</title><link>https://community.telligent.com/community/13/w/api-documentation/75684/notification-raised-client-message</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>notification.raised Client Message</title><link>https://community.telligent.com/community/13/w/api-documentation/75684/notification-raised-client-message</link><pubDate>Fri, 08 Mar 2024 17:50:42 GMT</pubDate><guid isPermaLink="false">4a6247d8-82b9-4320-b909-8f3d8910f382</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75684/notification-raised-client-message#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:50:42&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;notification.raised Client Message&lt;/h3&gt;
&lt;p&gt;[[messaging JavaScript API Module|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.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.messaging.subscribe(&amp;#39;notification.raised&amp;#39;, function(data) {
    // handle the event
});
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Data&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;id&lt;/code&gt;: id of the notification&lt;/li&gt;
&lt;li&gt;&lt;code&gt;contentId&lt;/code&gt;: related content id string&lt;/li&gt;
&lt;li&gt;&lt;code&gt;contentTypeId&lt;/code&gt;: related content type id string&lt;/li&gt;
&lt;li&gt;&lt;code&gt;typeId&lt;/code&gt;: notification type id string&lt;/li&gt;
&lt;li&gt;&lt;code&gt;contentUrl&lt;/code&gt;: url of the related content&lt;/li&gt;
&lt;li&gt;&lt;code&gt;message&lt;/code&gt;: short, displayable message regarding the notification&lt;/li&gt;
&lt;li&gt;&lt;code&gt;avatarUrl&lt;/code&gt;: url of actor who triggered the notification&lt;/li&gt;
&lt;/ul&gt;
&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>