DialogNodeOutputOptionsElement
public struct DialogNodeOutputOptionsElement : Codable, Equatable
DialogNodeOutputOptionsElement.
-
The user-facing label for the option.
Declaration
Swift
public var label: String -
An object defining the message input to be sent to the Watson Assistant service if the user selects the corresponding option.
Declaration
Swift
public var value: DialogNodeOutputOptionsElementValue -
Initialize a
DialogNodeOutputOptionsElementwith member variables.Declaration
Swift
public init( label: String, value: DialogNodeOutputOptionsElementValue )Parameters
labelThe user-facing label for the option.
valueAn object defining the message input to be sent to the Watson Assistant service if the user selects the corresponding option.
Return Value
An initialized
DialogNodeOutputOptionsElement.
View on GitHub
DialogNodeOutputOptionsElement Structure Reference