Class: ScheduledEvent

ScheduledEvent(name, startTime, options)

Represents a ScheduledEvent on WhatsApp

Constructor

new ScheduledEvent(name, startTime, options)

Parameters:
Name Type Description
name string
startTime Date
options ScheduledEventSendOptions
Source:

Members

eventSendOptions :Object

The send options for the event

Type:
  • Object
Source:

name :string

The name of the event

Type:
  • string
Source:

startTimeTs :number

The start time of the event

Type:
  • number
Source:

Methods

_validateInputs(propName, propValue) → {string|number}

Inner function to validate input values

Parameters:
Name Type Description
propName string

The property name to validate the value of

propValue string | number

The property value to validate

Source:
Returns:

The property value if a validation succeeded

Type
string | number