DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined
public struct DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined : Codable, Equatable
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.
Enums with an associated value of DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined: DialogNodeOutputGeneric
-
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 -
An object containing any properties for the user-defined response type. The total size of this object cannot exceed 5000 bytes.
Declaration
Swift
public var userDefined: [String : JSON] -
An array of objects specifying channels for which the response is intended.
Declaration
Swift
public var channels: [ResponseGenericChannel]? -
Initialize a
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefinedwith member variables.Declaration
Swift
public init( responseType: String, userDefined: [String: JSON], 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.
userDefinedAn object containing any properties for the user-defined response type. The total size of this object cannot exceed 5000 bytes.
channelsAn array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined.
View on GitHub
DialogNodeOutputGenericDialogNodeOutputResponseTypeUserDefined Structure Reference