GChat Notifier SDK - v0.8.0
    Preparing search index...

    Class Scope

    Holds contextual data (tags and extra info) that can be attached to events. Scopes can be nested using GChatNotifier.withScope.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Add extra data to the scope. Extra data is supplemental structured information.

      Parameters

      • key: string

        Extra data key

      • value: unknown

        Extra data value (serializable object)

      Returns void

    • Add a tag to the scope. Tags are searchable key-value pairs.

      Parameters

      • key: string

        Tag key

      • value: string

        Tag value

      Returns void