RuntimeResponseGenericRuntimeResponseTypeText

public struct RuntimeResponseGenericRuntimeResponseTypeText : Codable, Equatable

RuntimeResponseGenericRuntimeResponseTypeText.

Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypeText: 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 text of the response.

    Declaration

    Swift

    public var text: String
  • 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 RuntimeResponseGenericRuntimeResponseTypeText with member variables.

    Declaration

    Swift

    public init(
        responseType: String,
        text: String,
        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.

    text

    The text of the response.

    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 RuntimeResponseGenericRuntimeResponseTypeText.