ChatRoomHelperConvertRoomToData Method (ChatRoomInfo) |
Makes ChatRoomData from information contained in ChatRoomInfo. User is considered as non anonymous here.
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
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 9.0.0
Syntax public static ChatRoomData ConvertRoomToData(
ChatRoomInfo roomInfo
)
Parameters
- roomInfo
- Type: CMS.ChatChatRoomInfo
Room info
Return Value
Type:
ChatRoomDataChatRoomData
See Also