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
DialogNodeOutputGenericDialogNodeOutputResponseTypePause
with member variables.Declaration
Swift
public init( responseType: String, time: Int, typing: Bool? = nil, channels: [ResponseGenericChannel]? = nil )
Parameters
responseType
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
time
How long to pause, in milliseconds. The valid values are from 0 to 10000.
typing
Whether to send a “user is typing” event during the pause. Ignored if the channel does not support this event.
channels
An array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypePause
.