MessageContextGlobalStateless

public struct MessageContextGlobalStateless : Codable, Equatable

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

  • Built-in system properties that apply to all skills used by the assistant.

    Declaration

    Swift

    public var system: MessageContextGlobalSystem?
  • The unique identifier of the session.

    Declaration

    Swift

    public var sessionID: String?
  • Initialize a MessageContextGlobalStateless with member variables.

    Declaration

    Swift

    public init(
        system: MessageContextGlobalSystem? = nil,
        sessionID: String? = nil
    )

    Parameters

    system

    Built-in system properties that apply to all skills used by the assistant.

    sessionID

    The unique identifier of the session.

    Return Value

    An initialized MessageContextGlobalStateless.