IsStaleOptions
Defined in: src/resources/webhook-helpers.ts:78
Options for isStale.
Properties
Section titled “Properties”maxAgeSeconds
Section titled “maxAgeSeconds”maxAgeSeconds:
number
Defined in: src/resources/webhook-helpers.ts:80
Events older than this many seconds are stale.
optionalnow?:number
Defined in: src/resources/webhook-helpers.ts:82
The current time in epoch milliseconds. Defaults to Date.now().
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.