DialogNodeOutputGenericDialogNodeOutputResponseTypeText
public struct DialogNodeOutputGenericDialogNodeOutputResponseTypeText : Codable, Equatable
DialogNodeOutputGenericDialogNodeOutputResponseTypeText.
Enums with an associated value of DialogNodeOutputGenericDialogNodeOutputResponseTypeText: DialogNodeOutputGeneric
-
How a response is selected from the list, if more than one response is specified.
See moreDeclaration
Swift
public enum SelectionPolicy : String
-
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
Declaration
Swift
public var responseType: String
-
A list of one or more objects defining text responses.
Declaration
Swift
public var values: [DialogNodeOutputTextValuesElement]
-
How a response is selected from the list, if more than one response is specified.
Declaration
Swift
public var selectionPolicy: String?
-
The delimiter to use as a separator between responses when
selection_policy
=multiline
.Declaration
Swift
public var delimiter: String?
-
An array of objects specifying channels for which the response is intended.
Declaration
Swift
public var channels: [ResponseGenericChannel]?
-
Initialize a
DialogNodeOutputGenericDialogNodeOutputResponseTypeText
with member variables.Declaration
Swift
public init( responseType: String, values: [DialogNodeOutputTextValuesElement], selectionPolicy: String? = nil, delimiter: String? = nil, channels: [ResponseGenericChannel]? = nil )
Parameters
responseType
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
values
A list of one or more objects defining text responses.
selectionPolicy
How a response is selected from the list, if more than one response is specified.
delimiter
The delimiter to use as a separator between responses when
selection_policy
=multiline
.channels
An array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeText
.