Click or drag to resize
SiteRooms.GetUsersInRoomsCounts Method
Gets counts of users in rooms when this count has changed.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
public UsersInRoomsCountsData GetUsersInRoomsCounts(
	Nullable<DateTime> sinceWhen,
	ChatUserInfo chatUser,
	IEnumerable<int> changedRooms
)

Parameters

sinceWhen
Type: System.Nullable<DateTime>
Last change this client got
chatUser
Type: CMS.Chat.ChatUserInfo
Current chat user
changedRooms
Type: System.Collections.Generic.IEnumerable<Int32>
IDs of rooms which were changed since last request. Users counts in those rooms will be always send back to client (if the user is logged in and sinceWhen is not null).

Return Value

Type: UsersInRoomsCountsData
See Also