Is chat available?

Returns the current chat availability for an organization.

If your organization has Business Schedules or Holidays turned on, the Kustomer.isChatAvailable() method will return the availability based on those dates and times.

πŸ“˜

The returned value may change in later versions, giving more granular result than a boolean

Example

import KustomerChat from '@kustomer/chat-react-native';

KustomerChat.isChatAvailable().then((isAvailable) => {
  if (isAvailable) {
    // Chat is available
  } else {
    // Chat is not available
  }
});

What’s Next