Interface PreStartChatValidator
public interface PreStartChatValidator
This interface is an extension point to validate a new chat before being
started and routed to an agent. It is allowed to prevent the start of the
chat by throwing a
ValidationException
.- Since:
- 11.23
-
Method Summary
Modifier and TypeMethodDescriptionvoid
preStartChat
(PreStartChatInfo preStartChatInfo) The method is called synchronously before starting the chat.
-
Method Details
-
preStartChat
The method is called synchronously before starting the chat.- Parameters:
preStartChatInfo
- APreStartChatInfo
object providing information about the chat.- Throws:
ValidationException
- Throw aValidationException
to indicate a validation error. If thrown, the chat will not start. Please note that this will also stop the processing of any subsequentPreStartChatValidator
implementations.- Since:
- 11.23
-