ChatRoomHelper CreateSupportChatRoomManual Method Kentico 8.0 API Reference
Creates support room. Support room is private, marked as IsSupport, so new messages will be send to online support engineers. If parameter greetingMessages is null, the default support greeting message (ChatMessageTypeEnum.SupportGreeting) will be inserted. But only if the room did not exist before.

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

Parameters

currentChatUser
Type: CMS.Chat ChatUserInfo
Current chat user. This parameter is needed to find chat room (if this user has been chatting before).
greetingMessages
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
Messages which will be inserted to the room as a greeting. They will be inserted even if room was already created.

Return Value

Type: ChatRoomData
ChatRoomData
See Also