Scripting API – Chat Object

The Chat object is the most commonly used object in the API and provides many common functions for handling the conversation.

Properties

  • channel
  • channelCompanyName
  • continue
  • handled
  • isFirstVisit
  • isLiveChatActive
  • isMobile
  • isVerifiedChannel
  • liveChatMode
  • liveChatTtl
  • nodeComplete
  • noMatchResponse
  • options
  • response
  • state
  • store

Methods

  • addMetric
  • ask
  • askFields
  • carouselForm
  • clear
  • completeForm
  • createCode
  • endConversation
  • executeCommand
  • getBotField
  • getBotLocalTime
  • getDocuments
  • getDuration
  • getFormField
  • getParameter
  • getPartialTranscript
  • getResource
  • getSubscription
  • getTranscript
  • gotoDialog
  • hasValue
  • hideQuestion
  • isAnswered
  • isNull
  • isTrue
  • logEvent
  • newMessage
  • restart
  • sendMessage
  • sendText
  • sendTyping
  • updateBotField
  • verifyCode
  • wait

Powered by BetterDocs