RuntimeResponseGenericRuntimeResponseTypeConnectToAgent
public struct RuntimeResponseGenericRuntimeResponseTypeConnectToAgent : Codable, Equatable
RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.
Enums with an associated value of RuntimeResponseGenericRuntimeResponseTypeConnectToAgent: 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 -
A message to be sent to the human agent who will be taking over the conversation.
Declaration
Swift
public var messageToHumanAgent: String? -
An optional message to be displayed to the user to indicate that the conversation will be transferred to the next available agent.
Declaration
Swift
public var agentAvailable: AgentAvailabilityMessage? -
An optional message to be displayed to the user to indicate that no online agent is available to take over the conversation.
Declaration
Swift
public var agentUnavailable: AgentAvailabilityMessage? -
Routing or other contextual information to be used by target service desk systems.
Declaration
Swift
public var transferInfo: DialogNodeOutputConnectToAgentTransferInfo? -
A label identifying the topic of the conversation, derived from the title property of the relevant node or the topic property of the dialog node response.
Declaration
Swift
public var topic: String? -
The unique ID of the dialog node that the topic property is taken from. The topic property is populated using the value of the dialog node’s title property.
Declaration
Swift
public var dialogNode: 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]? -
init(responseType:messageToHumanAgent: agentAvailable: agentUnavailable: transferInfo: topic: dialogNode: channels: ) Initialize a
RuntimeResponseGenericRuntimeResponseTypeConnectToAgentwith member variables.Declaration
Swift
public init( responseType: String, messageToHumanAgent: String? = nil, agentAvailable: AgentAvailabilityMessage? = nil, agentUnavailable: AgentAvailabilityMessage? = nil, transferInfo: DialogNodeOutputConnectToAgentTransferInfo? = nil, topic: String? = nil, dialogNode: String? = nil, channels: [ResponseGenericChannel]? = nil )Parameters
responseTypeThe type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
messageToHumanAgentA message to be sent to the human agent who will be taking over the conversation.
agentAvailableAn optional message to be displayed to the user to indicate that the conversation will be transferred to the next available agent.
agentUnavailableAn optional message to be displayed to the user to indicate that no online agent is available to take over the conversation.
transferInfoRouting or other contextual information to be used by target service desk systems.
topicA label identifying the topic of the conversation, derived from the title property of the relevant node or the topic property of the dialog node response.
dialogNodeThe unique ID of the dialog node that the topic property is taken from. The topic property is populated using the value of the dialog node’s title property.
channelsAn 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
RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.
View on GitHub
RuntimeResponseGenericRuntimeResponseTypeConnectToAgent Structure Reference