AvatarFormStateParameter
Parameters of the addFormState method that registers a new dialogue form state for an avatar.
Props
append
append: false
| undefined
| true
Optional. Whether to append the value to the list. The default value is false.
attempts
attempts: number
| undefined
Optional. Number of attempts to fill the form. The default value is 3.
channelParameters
channelParameters:
Optional. Avatar text and voice channel parameters.
entity
entity: string
Parameter's entity.
list
list: false
| undefined
| true
Optional. Whether the form can have a list of values. The default value is false.
name
name: string
Parameter's name.
prompts
prompts: string[]
Optional. List of utterances to ask the customer in order to fill the form.
required
required: false
| undefined
| true
Optional. Whether the parameter is required. The default value is false.
value
value: any
Parameter's value.