Click or drag to resize
ChatNotificationInfoProviderGetChatNotifications Method (Int32, NullableDateTime, NullableBoolean, Int32)
Gets chat notifications.

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

Parameters

receiverID
Type: SystemInt32
Chat user ID
sinceWhen
Type: SystemNullableDateTime
Sends since when (all if null).
isRead
Type: SystemNullableBoolean
Is read (or all if null).
siteID
Type: SystemInt32
Only notification assigned to this site will be returned

Return Value

Type: IEnumerableChatNotificationData
List of notifications
See Also