ChatRoomHelper ChangeChatRoom Method (Int32, String, Boolean, String, Boolean, String, Nullable Boolean , String, Boolean)Kentico 8.0 API Reference
Changes chat room. Properly handles changing from public to private state. Invalidates rooms cache.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

roomID
Type: OnlineSystem Int32
Room ID to change
displayName
Type: OnlineSystem String
New display name
isPrivate
Type: OnlineSystem Boolean
New is private state
password
Type: OnlineSystem String
New password. If it is null, password is not changed
allowAnonym
Type: OnlineSystem Boolean
New allow anonym
description
Type: OnlineSystem String
New description
isSupport
Type: OnlineSystem Nullable OnlineBoolean 
New is support state (is not changed if null)
codeName
Type: OnlineSystem String
New code name (is not changed if null)
hashPassword
Type: OnlineSystem Boolean
If true, password is not hashed yet and should be hashed automatically; if false, hashing was handled by caller

Return Value

Type: ChatRoomData
Changed chat room
See Also