Click or drag to resize
ChatRoomInfoProviderGetSupportRoomsWithNewMessages Method
Gets support rooms where new messages was added since lastChange or taken room state was changed.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static IEnumerable<SupportRoom> GetSupportRoomsWithNewMessages(
	Nullable<DateTime> lastChange,
	int siteID
)

Parameters

lastChange
Type: SystemNullableDateTime
If null, all messages which were added later than resolveddatetime are considered as new.
siteID
Type: SystemInt32
Only global rooms and rooms on this site will be returned

Return Value

Type: IEnumerableSupportRoom
See Also