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 MessageContextStateless with member variables.

    Declaration

    Swift

    public init(
        global: MessageContextGlobalStateless? = nil,
        skills: [String: MessageContextSkill]? = nil
    )

    Parameters

    global

    Session context data that is shared by all skills used by the Assistant.

    skills

    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.

    Return Value

    An initialized MessageContextStateless.