Set custom total duration of the newly started chat session. This enables you to define how long your customers have to resume a chat interaction before it expires.
Learn more about chat duration: StartChatContact#ChatDurationInMinutes
- Initial release date: 1/31/2022
- Admin Guide Documentation
- Launch Announcement
Set custom chatDurationInMinutes in the initiateChat() config:
connect.ChatInterface.initiateChat({
name: customerName,
region,
apiGatewayEndpoint,
instanceId,
contactFlowId,
// ...
+ chatDurationInMinutes: 1500, // default 1500 (25 hours) - min 60 (1 hour), max 10080 (7 days)
});