DialogNodeOutputOptionsElementValue
public struct DialogNodeOutputOptionsElementValue : Codable, Equatable
An object defining the message input to be sent to the Watson Assistant service if the user selects the corresponding option.
-
An input object that includes the input text.
Declaration
Swift
public var input: MessageInput? -
An array of intents to be used while processing the input. Note: This property is supported for backward compatibility with applications that use the v1 Get response to user input method.
Declaration
Swift
public var intents: [RuntimeIntent]? -
An array of entities to be used while processing the user input. Note: This property is supported for backward compatibility with applications that use the v1 Get response to user input method.
Declaration
Swift
public var entities: [RuntimeEntity]? -
Initialize a
DialogNodeOutputOptionsElementValuewith member variables.Declaration
Swift
public init( input: MessageInput? = nil, intents: [RuntimeIntent]? = nil, entities: [RuntimeEntity]? = nil )Parameters
inputAn input object that includes the input text.
intentsAn array of intents to be used while processing the input. Note: This property is supported for backward compatibility with applications that use the v1 Get response to user input method.
entitiesAn array of entities to be used while processing the user input. Note: This property is supported for backward compatibility with applications that use the v1 Get response to user input method.
Return Value
An initialized
DialogNodeOutputOptionsElementValue.
View on GitHub
DialogNodeOutputOptionsElementValue Structure Reference