.chat.waitinghandler()
This event handler allows you to invoke a method that would display a customized message along with the chat widget waiting timer.
PARAMETERS
data: Waiting time.
waitingtime: Waiting time configured in your Website settings.
currenttime: Current waiting time in seconds.
RETURN VALUES
return ""; : Waiting timer will not be displayed in the chat widget.
return '<value>'; : Current waiting time in seconds.
Examples:
return 'Welcome! Thank you for visiting our site';
return '<b>Welcome! Thank you for visiting our site</b>';
return '<img src ='https://www.zoho.com/salesiq/img/Zilliumonline.png>';
Syntax
Copied
Example
Copied