ZohoSalesIQ.Chat.setWaitingTime()

Note: This API is supported from version 9.1.0.

The ZohoSalesIQ.Chat.setWaitingTime() API allows customizing the chat's waiting time, overriding the wait time configured in the brand's settings.

Parameter

  • seconds * - Chat wait time in seconds (set "-1" for infinite/unlimited chat waiting time). 

Syntax

Copied@objc static public func setWaitingTime(upTo duration: Int) 

Example

CopiedZohoSalesIQ.Chat.setWaitingTime(upTo: 30)