<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>notification.read Client Message</title><link>https://community.telligent.com/community/11/w/api-documentation/67117/notification-read-client-message</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>notification.read Client Message</title><link>https://community.telligent.com/community/11/w/api-documentation/67117/notification-read-client-message</link><pubDate>Tue, 19 Nov 2019 20:27:30 GMT</pubDate><guid isPermaLink="false">116661ac-74bc-4dd2-8c9e-262103f8c09f</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/67117/notification-read-client-message#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:27:30&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="notification_read_Client_Message" name="notification_read_Client_Message"&gt;&lt;/a&gt;notification.read Client Message&lt;/h3&gt;
&lt;p&gt;[[messaging JavaScript API Module|Client-side message]] raised when a notification is read. 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.&lt;/p&gt;
&lt;h3&gt;&lt;a id="Usage" name="Usage"&gt;&lt;/a&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.messaging.subscribe(&amp;#39;notification.read&amp;#39;, function(data) {
    // handle the event
});
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;a id="Data" name="Data"&gt;&lt;/a&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;unreadCount&lt;/code&gt;: count of remaining unread notifications&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>