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
DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent
with member variables.Declaration
Swift
public init( responseType: String, messageToHumanAgent: String? = nil, agentAvailable: AgentAvailabilityMessage? = nil, agentUnavailable: AgentAvailabilityMessage? = nil, transferInfo: DialogNodeOutputConnectToAgentTransferInfo? = nil, 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.
messageToHumanAgent
An optional message to be sent to the human agent who will be taking over the conversation.
agentAvailable
An optional message to be displayed to the user to indicate that the conversation will be transferred to the next available agent.
agentUnavailable
An optional message to be displayed to the user to indicate that no online agent is available to take over the conversation.
transferInfo
Routing or other contextual information to be used by target service desk systems.
channels
An array of objects specifying channels for which the response is intended.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent
.