| RoomState Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Chat
 Syntax
Syntaxpublic class RoomState
The RoomState type exposes the following members.
 Constructors
Constructors Properties
Properties| Name | Description | |
|---|---|---|
|  | OnlineUsers | 
            List of online users in this room. Contains not only online users, but also users with Admin rights, Join rights (private rooms), etc.
             | 
|  | RoomInfo | 
            Gets ChatRoomInfo of this room. Properties of this room can't be change via this instance (use ReloadChatRoomInfo() instead).
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ForceIsUserOnline | 
            Checks if user is online. Caller of this method expects that user is online. If user is not online in cache, this method checks database.
             | 
|  | ForceTryGetUser | 
            Gets online user. Caller expects that user is present in list of online users.
             | 
|  | GetMessages | 
            Gets newest messages.
             | 
|  | GetOnlineUsers | 
            Gets online users in this room. Changed or all (sinceWhen is null).
             | 
|  | InvalidateKickedUsers | 
            Invalidate list of kicked users in this room.
             | 
|  | IsUserKicked(Int32) | 
            Checks if the chat users specified by chatUserID is kicked from this room.
             | 
|  | IsUserKicked(Int32, Int32) | 
            Checks if the chat users specified by chatUserID is kicked from this room.
             | 
|  | ReloadChatRoomInfo | 
            Reloads info about this chat room. Should be called every time after room is changed.
             | 
|  | TryGetUser | 
            Gets online user. 
             | 
 See Also
See Also