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
DialogNodeOutputGenericDialogNodeOutputResponseTypeTextwith member variables.Declaration
Swift
public init( responseType: String, values: [DialogNodeOutputTextValuesElement], selectionPolicy: String? = nil, delimiter: String? = nil, channels: [ResponseGenericChannel]? = nil )Parameters
responseTypeThe type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
valuesA list of one or more objects defining text responses.
selectionPolicyHow a response is selected from the list, if more than one response is specified.
delimiterThe delimiter to use as a separator between responses when
selection_policy=multiline.channelsAn array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeText.
View on GitHub
DialogNodeOutputGenericDialogNodeOutputResponseTypeText Structure Reference