ChatRoomHelperCreateOneToOneChatRoom Method |
Creates one-to-one chat room and inserts it into the DB. If room already exists, the old one is returned.
Invitation is send to secondChatUser and both users get 'Join' rights to this room.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public static ChatRoomData CreateOneToOneChatRoom(
ChatUserInfo currentChatUser,
ChatUserInfo secondChatUser
)
Parameters
- currentChatUser
- Type: CMS.ChatChatUserInfo
Current chat user - secondChatUser
- Type: CMS.ChatChatUserInfo
Chat user to whisper with
Return Value
Type:
ChatRoomDataChatRoomData
See Also