RuntimeResponseGenericRuntimeResponseTypeSearch

public struct RuntimeResponseGenericRuntimeResponseTypeSearch : Codable, Equatable

RuntimeResponseGenericRuntimeResponseTypeSearch.

Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypeSearch: 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 title or introductory text to show before the response. This text is defined in the search skill configuration.

    Declaration

    Swift

    public var header: String
  • An array of objects that contains the search results to be displayed in the initial response to the user.

    Declaration

    Swift

    public var primaryResults: [SearchResult]
  • An array of objects that contains additional search results that can be displayed to the user upon request.

    Declaration

    Swift

    public var additionalResults: [SearchResult]
  • 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]?