Makes ChatRoomData from information contained in ChatRoomInfo.
Property IsRemoved is set based on:
- if room is disabled, IsRemoved is true
- if user is anonymous and room does not allow anonymous users, IsRemoved is set to true
- otherwise it is set to false
If room is removed, its values are not set. Only RoomID and IsRemoved = true are returned.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- roomInfo
- Type: CMS.Chat ChatRoomInfo
Room info
- isUserAnonymous
- Type: System Boolean
Anonymous state of current user
Return Value
Type: ChatRoomDataChatRoomData
See Also