setTimeout()
This API allows you to set the timeout value until which loader needs to be shown. Value needs to be passed in Milliseconds.
Note:
The default timeout period for action is 30 seconds.
Example:
CopiedZohoSalesIQ.ChatActions.setTimeout(5000); //5 seconds