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();
ParameterTypeDescription
returnValueStringRequired

Either online, offline, hidden, or disabled.