ChatNotificationHelper InsertChatNotification Method Kentico 8.0 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.0.5239.26125)

Parameters

type
Type: CMS.Chat ChatNotificationTypeEnum
Type of chat 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