DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent
public struct DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent : Codable, Equatable
DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.
Enums with an associated value of DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent: DialogNodeOutputGeneric
-
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 -
An optional 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? -
An array of objects specifying channels for which the response is intended.
Declaration
Swift
public var channels: [ResponseGenericChannel]? -
Initialize a
DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgentwith member variables.Declaration
Swift
public init( responseType: String, messageToHumanAgent: String? = nil, agentAvailable: AgentAvailabilityMessage? = nil, agentUnavailable: AgentAvailabilityMessage? = nil, transferInfo: DialogNodeOutputConnectToAgentTransferInfo? = 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.
messageToHumanAgentAn optional 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.
channelsAn array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.
View on GitHub
DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent Structure Reference