RuntimeResponseGenericRuntimeResponseTypeSuggestion
public struct RuntimeResponseGenericRuntimeResponseTypeSuggestion : Codable, Equatable
RuntimeResponseGenericRuntimeResponseTypeSuggestion.
Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypeSuggestion: RuntimeResponseGeneric
-
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 -
An array of objects describing the possible matching dialog nodes from which the user can choose.
Declaration
Swift
public var suggestions: [DialogSuggestion] -
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
RuntimeResponseGenericRuntimeResponseTypeSuggestionwith member variables.Declaration
Swift
public init( responseType: String, title: String, suggestions: [DialogSuggestion], 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.
suggestionsAn array of objects describing the possible matching dialog nodes from which the user can choose.
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
RuntimeResponseGenericRuntimeResponseTypeSuggestion.
View on GitHub
RuntimeResponseGenericRuntimeResponseTypeSuggestion Structure Reference