ChatServiceChangeChatRoom Method |
Changes existing chat room.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public ChatGeneralResponse<ChatRoomData> ChangeChatRoom(
int roomID,
string displayName,
bool isPrivate,
bool hasPassword,
string password,
bool allowAnonym,
string description
)
Parameters
- roomID
- Type: SystemInt32
Chat room to change - displayName
- Type: SystemString
Display name of a new room (cannot be empty) - isPrivate
- Type: SystemBoolean
Indicates if this room will be private - hasPassword
- Type: SystemBoolean
Indicates if room will have password - password
- Type: SystemString
Optional password - allowAnonym
- Type: SystemBoolean
True if anonymous users can join this room (anonym is chat user without CMS.User assigned to it) - description
- Type: SystemString
Description of the chat room
Return Value
Type:
ChatGeneralResponseChatRoomDataChanged chat room
Implements
IChatServiceChangeChatRoom(Int32, String, Boolean, Boolean, String, Boolean, String)See Also