ChatRoomHelper ConvertRoomToDataAdminLevel Method Kentico 8.1 API Reference
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.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

roomState
Type: CMS.Chat RoomState
Room state
userAdminLevel
Type: CMS.Chat AdminLevelEnum
If admin level is None and room is private, the room will be returned with IsRemoved = true

Return Value

Type: ChatRoomData
ChatRoomData
See Also