RuntimeResponseGenericRuntimeResponseTypeOption
public struct RuntimeResponseGenericRuntimeResponseTypeOption : Codable, Equatable
RuntimeResponseGenericRuntimeResponseTypeOption.
Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypeOption: RuntimeResponseGeneric
-
The preferred type of control to display.
See moreDeclaration
Swift
public enum Preference : 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 -
The title or introductory text to show before the response.
Declaration
Swift
public var title: String -
The description to show with the the response.
Declaration
Swift
public var description: String? -
The preferred type of control to display.
Declaration
Swift
public var preference: String? -
An array of objects describing the options from which the user can choose.
Declaration
Swift
public var options: [DialogNodeOutputOptionsElement] -
An array of objects specifying channels for which the response is intended. If channels is present, the response is intended for a built-in integration and should not be handled by an API client.
Declaration
Swift
public var channels: [ResponseGenericChannel]? -
Initialize a
RuntimeResponseGenericRuntimeResponseTypeOptionwith member variables.Declaration
Swift
public init( responseType: String, title: String, options: [DialogNodeOutputOptionsElement], description: String? = nil, preference: 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.
titleThe title or introductory text to show before the response.
optionsAn array of objects describing the options from which the user can choose.
descriptionThe description to show with the the response.
preferenceThe preferred type of control to display.
channelsAn array of objects specifying channels for which the response is intended. If channels is present, the response is intended for a built-in integration and should not be handled by an API client.
Return Value
An initialized
RuntimeResponseGenericRuntimeResponseTypeOption.
View on GitHub
RuntimeResponseGenericRuntimeResponseTypeOption Structure Reference