Click or drag to resize
ChatNotificationInfoProvider.GetChatNotifications Method (Int32, Nullable<DateTime>, Nullable<Boolean>, Int32)
Gets chat notifications.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
public static IEnumerable<ChatNotificationData> GetChatNotifications(
	int receiverID,
	Nullable<DateTime> sinceWhen,
	Nullable<bool> isRead,
	int siteID
)

Parameters

receiverID
Type: System.Int32
Chat user ID
sinceWhen
Type: System.Nullable<DateTime>
Sends since when (all if null).
isRead
Type: System.Nullable<Boolean>
Is read (or all if null).
siteID
Type: System.Int32
Only notification assigned to this site will be returned

Return Value

Type: IEnumerable<ChatNotificationData>
List of notifications
See Also