ChatRoomHelperCreateSupportChatRoomManual Method |
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.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public static ChatRoomData CreateSupportChatRoomManual(
ChatUserInfo currentChatUser,
IEnumerable<string> greetingMessages
)
Parameters
- currentChatUser
- Type: CMS.ChatChatUserInfo
Current chat user. This parameter is needed to find chat room (if this user has been chatting before). - greetingMessages
- Type: System.Collections.GenericIEnumerableString
Messages which will be inserted to the room as a greeting. They will be inserted even if room was already created.
Return Value
Type:
ChatRoomDataChatRoomData
See Also