RuntimeResponseGenericRuntimeResponseTypeChannelTransfer

public struct RuntimeResponseGenericRuntimeResponseTypeChannelTransfer : Codable, Equatable

RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.

Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypeChannelTransfer: 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 message to display to the user when initiating a channel transfer.

    Declaration

    Swift

    public var messageToUser: String
  • Information used by an integration to transfer the conversation to a different channel.

    Declaration

    Swift

    public var transferInfo: ChannelTransferInfo
  • An array of objects specifying channels for which the response is intended. If channels is present, the response is intended only for a built-in integration and should not be handled by an API client.

    Declaration

    Swift

    public var channels: [ResponseGenericChannel]?
  • Initialize a RuntimeResponseGenericRuntimeResponseTypeChannelTransfer with member variables.

    Declaration

    Swift

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

    messageToUser

    The message to display to the user when initiating a channel transfer.

    transferInfo

    Information used by an integration to transfer the conversation to a different channel.

    channels

    An array of objects specifying channels for which the response is intended. If channels is present, the response is intended only for a built-in integration and should not be handled by an API client.

    Return Value

    An initialized RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.