MessageContextSkill
public struct MessageContextSkill : Codable, Equatable
Contains information specific to a particular skill used by the Assistant. The property name must be the same as the
name of the skill (for example, main skill).
-
Arbitrary variables that can be read and written by a particular skill.
Declaration
Swift
public var userDefined: [String : JSON]? -
System context data used by the skill.
Declaration
Swift
public var system: MessageContextSkillSystem? -
Initialize a
MessageContextSkillwith member variables.Declaration
Swift
public init( userDefined: [String: JSON]? = nil, system: MessageContextSkillSystem? = nil )Parameters
userDefinedArbitrary variables that can be read and written by a particular skill.
systemSystem context data used by the skill.
Return Value
An initialized
MessageContextSkill.
View on GitHub
MessageContextSkill Structure Reference