handleVisitorMissed()

This event handler can be used to invoke a method when the chat initiated by the visitors hitting your website go unanswered or missed.

PARAMETERS

visitor: Contains information about the chat picked.

  • Visit Id
  • Question

Syntax:

CopiedhandleVisitorMissed(VisitorChat visitor)

Example:

Copiedpublic class ChatInterface implements ChatActivityInterface {

	@Override
	public void handleVisitorMissed(VisitorChat visitor) {
	String visitid = visitor.getVisitid();
	String question = visitor.getQuestion();
	}
}