KustomerCore.isChatAvailable()
Returns the chat availability
First, initialize chat
You must initialize with
KustomerCore.init()
before you can execute any additional Core SDK methods
Examples
// get unread counts
const chatAvailability = KustomerCore.isChatAvailable();
Syntax
returnValue = KustomerCore.isChatAvailable();
Parameter | Type | Description |
---|---|---|
returnValue | String | Required Either online , offline , hidden , or disabled . |
Updated over 3 years ago