DialogNodeAction
public struct DialogNodeAction : Codable, Equatable
DialogNodeAction.
-
The type of action to invoke.
See moreDeclaration
Swift
public enum TypeEnum : String -
The name of the action.
Declaration
Swift
public var name: String -
The type of action to invoke.
Declaration
Swift
public var type: String? -
A map of key/value pairs to be provided to the action.
Declaration
Swift
public var parameters: [String : JSON]? -
The location in the dialog context where the result of the action is stored.
Declaration
Swift
public var resultVariable: String -
The name of the context variable that the client application will use to pass in credentials for the action.
Declaration
Swift
public var credentials: String? -
Initialize a
DialogNodeActionwith member variables.Declaration
Swift
public init( name: String, resultVariable: String, type: String? = nil, parameters: [String: JSON]? = nil, credentials: String? = nil )Parameters
nameThe name of the action.
resultVariableThe location in the dialog context where the result of the action is stored.
typeThe type of action to invoke.
parametersA map of key/value pairs to be provided to the action.
credentialsThe name of the context variable that the client application will use to pass in credentials for the action.
Return Value
An initialized
DialogNodeAction.
View on GitHub
DialogNodeAction Structure Reference