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)

Parameter

Type

Description

options

Object

Required

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

options

Property

Type

Description

presence

String

Required

Either 'online' or 'offline'.


Did this page help you?