DialogflowCredentials
Methods
AddDialogflowKey
Adds a Dialogflow key.
Parameters
application_id:
string
The application ID.
application_name:
string
OptionalThe application name. Can be used instead of application_id.
json_credentials:
string
Dialogflow credentials, provided by JWK (Json web key).
description:
string
OptionalThe Dialogflow keys's description.
Returns
result:
number
dialogflow_key_id:
number
SetDialogflowKey
Edits a Dialogflow key.
Parameters
dialogflow_key_id:
number
The Dialogflow key's ID.
description:
string
The Dialogflow keys's description. To clear previously set description leave the parameter blank or put whitespaces only.
Returns
result:
number
DelDialogflowKey
Removes a Dialogflow key.
Parameters
dialogflow_key_id:
number
The Dialogflow key's ID.
Returns
result:
number
GetDialogflowKeys
Gets Dialogflow keys.
Parameters
dialogflow_key_id:
number
OptionalThe Dialogflow key's ID.
application_name:
string
OptionalThe name of the bound application.
application_id:
number
OptionalThe id of the bound application.
Returns
result:
BindDialogflowKeys
Binds a Dialogflow key to the specified applications.
Parameters
dialogflow_key_id:
number
The Dialogflow key's ID
application_id:
intlist
The application ID list separated by the ';' symbol or the 'all' value.
bind:
boolean
OptionalSet to false to unbind. Default value is true.
Returns
result:
number