Skip to content

IsStaleOptions

Defined in: src/resources/webhook-helpers.ts:78

Options for isStale.

maxAgeSeconds: number

Defined in: src/resources/webhook-helpers.ts:80

Events older than this many seconds are stale.


optional now?: 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.