ChatSupportService Methods |
The ChatSupportService type exposes the following members.
Name | Description | |
---|---|---|
EnterSupport |
Joins current CMS user to classic chat as hidden and also sets him as online on support chat.
| |
GetChatResponse(ChatResponseStatusEnum) |
Builds general chat response with error set to statusCode and message set to default value associated with statusCode.
(Inherited from ChatServiceBase.) | |
GetChatResponse(ChatResponseStatusEnum, String) |
Builds general chat response with error set to statusCode and message set to statusMessage.
(Inherited from ChatServiceBase.) | |
GetChatResponseTData(ChatResponseStatusEnum, String, TData) |
Builds generic ChatGeneral response with properties set to passed params.
(Inherited from ChatServiceBase.) | |
GetOkChatResponse |
Builds general chat response with OK code.
(Inherited from ChatServiceBase.) | |
GetOkChatResponseTData(TData) |
Builds general chat response with OK code and Data set to data.
(Inherited from ChatServiceBase.) | |
InitiateChatByContactID |
Initiates chat with user identified by his ContactID.
| |
InitiateChatByUserID |
Initiates chat with user identified by his UserID.
| |
LeaveSupport |
Leaves support chat.
| |
SupportLeaveRoom |
Leaves room. After this call, new messages in this room will be send to all online supporters.
| |
SupportPing |
Checks for new rooms needing support.
Keeps alive (sets LastChecking to now) user on support and classic chat.
| |
SupportTakeRoom |
Takes support room. After this call, new messages in this room won't be send to other users - only to the current one.
| |
VerifyChatUserHasAdminRoomRights |
Verifies that currently logged in chat user has admin rights for a room.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) | |
VerifyChatUserHasAllPermissions |
Verifies that currently logged in chat user has all of the passed permissions.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) | |
VerifyChatUserHasAnyPermission |
Verifies that currently logged in chat user has at least one of the passed permissions.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) | |
VerifyChatUserHasPermission |
Verifies that currently logged in chat user has specified permission.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) | |
VerifyChatUserIsLoggedIn |
Verifies that chat user is logged in.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) | |
VerifyChatUserIsOnlineInARoom |
Verifies that currently logged in chat user is online in a room.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) | |
VerifyIPIsNotBanned |
Verifies that IP addres which was used to make this request is not banned.
Throws exception in case of failure and does nothing in case of success.
(Inherited from ChatServiceBase.) |