ChatRoomInfoProvider GetSupportRoomsWithNewMessages Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

Type: OnlineIEnumerable SupportRoom 
See Also