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
MessageContextSkill
with member variables.Declaration
Swift
public init( userDefined: [String: JSON]? = nil, system: MessageContextSkillSystem? = nil )
Parameters
userDefined
Arbitrary variables that can be read and written by a particular skill.
system
System context data used by the skill.
Return Value
An initialized
MessageContextSkill
.