MessageContextStateless
public struct MessageContextStateless : Codable, Equatable
MessageContextStateless.
-
Session context data that is shared by all skills used by the Assistant.
Declaration
Swift
public var global: MessageContextGlobalStateless? -
Information specific to particular skills used by the assistant. Note: Currently, only a single child property is supported, containing variables that apply to the dialog skill used by the assistant.
Declaration
Swift
public var skills: [String : MessageContextSkill]? -
Initialize a
MessageContextStatelesswith member variables.Declaration
Swift
public init( global: MessageContextGlobalStateless? = nil, skills: [String: MessageContextSkill]? = nil )Parameters
globalSession context data that is shared by all skills used by the Assistant.
skillsInformation specific to particular skills used by the assistant. Note: Currently, only a single child property is supported, containing variables that apply to the dialog skill used by the assistant.
Return Value
An initialized
MessageContextStateless.
View on GitHub
MessageContextStateless Structure Reference