ASAPPConversationStatus
, implement the conversationStatusHandler
callback:
isLiveChat
is true
, the customer is currently connected to a live support agent or in a queue.unreadMessages
integer indicates the number of new messages received since last entering Chat.conversationStatusHandler
once it is available.
conversationStatusHandler
callback.setDebugLoggingEnabled
.
ASAPP.instance.setASAPPIntent()
. Only call this if chat is already open. Use ASAPP.instance.doesASAPPActivityExist
to verify if the user is in chat.
ASAPPChatEventHandler
interface to react to specific chat events:
CHAT_CLOSED
event
Chat is closed
. But you can name it as you wish.