| ChatRoomHelperConvertRoomToDataAdminLevel Method | 
            Makes ChatRoomData from information contained in ChatRoomInfo.
            
            If room is removed, its values are not set. Only RoomID and IsRemoved = true are returned.
            
            Returns null if roomState is null;
            
 
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
 Syntax
Syntaxpublic static ChatRoomData ConvertRoomToDataAdminLevel(
	RoomState roomState,
	AdminLevelEnum userAdminLevel
)
Parameters
- roomState
- Type: CMS.ChatRoomState
 Room state
- userAdminLevel
- Type: CMS.ChatAdminLevelEnum
 If admin level is None and room is private, the room will be returned with IsRemoved = true
Return Value
Type: 
ChatRoomDataChatRoomData
 See Also
See Also