KustomerCore.sendPresenceActivity()

Send information about the customer's presence status.

👍

First, initialize chat

You must initialize with KustomerCore.init() before you can execute any additional Core SDK methods

Examples

// Send presence activity
KustomerCore.sendPresenceActivity({
  presence: 'online'
});

Syntax

KustomerCore.sendPresenceActivity(options)
ParameterTypeDescription
optionsObjectRequired

An object containing the presence status. A breakdown of the options object is listed below.

options

PropertyTypeDescription
presenceStringRequired

Either 'online' or 'offline'.