DialogNodeOutputGenericDialogNodeOutputResponseTypePause
public struct DialogNodeOutputGenericDialogNodeOutputResponseTypePause : Codable, Equatable
DialogNodeOutputGenericDialogNodeOutputResponseTypePause.
Enums with an associated value of DialogNodeOutputGenericDialogNodeOutputResponseTypePause: 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 -
How long to pause, in milliseconds. The valid values are from 0 to 10000.
Declaration
Swift
public var time: Int -
Whether to send a “user is typing” event during the pause. Ignored if the channel does not support this event.
Declaration
Swift
public var typing: Bool? -
An array of objects specifying channels for which the response is intended.
Declaration
Swift
public var channels: [ResponseGenericChannel]? -
Initialize a
DialogNodeOutputGenericDialogNodeOutputResponseTypePausewith member variables.Declaration
Swift
public init( responseType: String, time: Int, typing: Bool? = 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.
timeHow long to pause, in milliseconds. The valid values are from 0 to 10000.
typingWhether to send a “user is typing” event during the pause. Ignored if the channel does not support this event.
channelsAn array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypePause.
View on GitHub
DialogNodeOutputGenericDialogNodeOutputResponseTypePause Structure Reference