SiteRoomsGetUsersInRoomsCounts Method |
Gets counts of users in rooms when this count has changed.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public UsersInRoomsCountsData GetUsersInRoomsCounts(
Nullable<DateTime> sinceWhen,
ChatUserInfo chatUser,
IEnumerable<int> changedRooms
)
Parameters
- sinceWhen
- Type: SystemNullableDateTime
Last change this client got - chatUser
- Type: CMS.ChatChatUserInfo
Current chat user - changedRooms
- Type: System.Collections.GenericIEnumerableInt32
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:
UsersInRoomsCountsDataSee Also