Click or drag to resize
IChatServiceChangeChatRoom Method
Changes existing chat room.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
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 has 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: ChatGeneralResponseChatRoomData
Changed chat room
See Also