RuntimeResponseGenericRuntimeResponseTypePause

public struct RuntimeResponseGenericRuntimeResponseTypePause : Codable, Equatable

RuntimeResponseGenericRuntimeResponseTypePause.

Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypePause: 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
  • How long to pause, in milliseconds.

    Declaration

    Swift

    public var time: Int
  • Whether to send a “user is typing” event during the pause.

    Declaration

    Swift

    public var typing: Bool?
  • 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 RuntimeResponseGenericRuntimeResponseTypePause 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.

    typing

    Whether to send a “user is typing” event during the pause.

    channels

    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.

    Return Value

    An initialized RuntimeResponseGenericRuntimeResponseTypePause.