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 DialogNodeOutputOptionsElement with member variables.

    Declaration

    Swift

    public init(
        label: String,
        value: DialogNodeOutputOptionsElementValue
    )

    Parameters

    label

    The user-facing label for the option.

    value

    An 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.