ChatNotificationInfoProvider InsertNotification Method Kentico 8.1 API Reference
Inserts new notification to the database. If there is already an unread notification with the same sender, receiver and roomID, the new one is not inserted!

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

type
Type: CMS.Chat ChatNotificationTypeEnum
Type of notification
senderID
Type: OnlineSystem Int32
Sender (chat user ID)
receiverID
Type: OnlineSystem Int32
Receiver (chat user ID)
roomID
Type: OnlineSystem Nullable OnlineInt32 
Room ID (in case of join room, leave room, etc. notifications). Null, if notification is not room related.
siteID
Type: OnlineSystem Nullable OnlineInt32 
Notification will be assigned to this site (null is global)
See Also