Class: DialogV1

DialogV1

new DialogV1(options)

Parameters:
Name Type Description
options Object
Source:

Methods

conversation(params)

Returns a response for a submitted input message. Also used to start new conversations.

Parameters:
Name Type Description
params Object

{ client_id: '', dialog_id: '' }

Source:

createDialog(params)

Create a dialog based on a file and name

Parameters:
Name Type Description
params Object

{ name: '', file:'' }

Source:

deleteDialog()

Delete a dialog and removes all associated data

Source:

getContent(params)

Gets content for nodes.

Parameters:
Name Type Description
params Object

{ dialog_id: '' }

Source:

getConversation(params)

Returns a chat session data dump for a given date.

Parameters:
Name Type Description
params Object

{ client_id: '', dialog_id: '', name_values:''}

Source:

getDialogs()

Returns the dialogs associated with a service instance

Source:

getProfile(params)

Retrieves the values for profile variables for specific client ID

Parameters:
Name Type Description
params Object

{ client_id: '', dialog_id: '', name:''}

Source:

updateContent(params)

Updates content for specified nodes.

Parameters:
Name Type Description
params Object

{ dialog_id: '' }

Source:

updateDialog(params)

Update a dialog with a new dialog file

Parameters:
Name Type Description
params Object

{ dialog_id: '' }

Source:

updateProfile(params)

Sets the values for profile variables

Parameters:
Name Type Description
params Object

{ client_id: '', dialog_id: '', name_values:''}

Source: