Implements

  • BatchEventAttributes

Constructors

Methods

  • Add a date attribute for the specified key

    Parameters

    • key: string

      Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.

    • value:
          | string
          | number
          | boolean
          | string[]
          | Date
          | URL
          | BatchEventAttributes
          | BatchEventAttributes[]

      Date value to add.

    Returns BatchEventAttributes

    Same BatchEventData instance, for chaining