ChatService CreateChatRoom Method Kentico 8.0 API Reference
Creates new chat room. Current user have to join it manually after creating it. Code name of this room will be: chatroom_{current_user_id}_{new_guid}

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

Parameters

displayName
Type: OnlineSystem String
Display name of a new room (cannot be empty)
isPrivate
Type: OnlineSystem Boolean
Indicates if this room will be private
password
Type: OnlineSystem String
Optional password
allowAnonym
Type: OnlineSystem Boolean
True if anonymous users can join this room (anonym is chat user without CMS.User assigned to it)
description
Type: OnlineSystem String
Description of the chat room

Return Value

Type: ChatGeneralResponse ChatRoomData 
New chat room
See Also