WebhookContext
Defined in: src/types/webhook-events.ts:18
Where an event came from.
Properties
Section titled “Properties”contact?
Section titled “contact?”
optionalcontact?:WebhookContact
Defined in: src/types/webhook-events.ts:28
The contact profile matching the sender or recipient, when the change carries one.
field:
string
Defined in: src/types/webhook-events.ts:24
The subscription field that produced the event, e.g. messages or calls.
metadata?
Section titled “metadata?”
optionalmetadata?:WebhookMetadata
Defined in: src/types/webhook-events.ts:26
Business phone number metadata, when the change carries it.
optionaltime?:number
Defined in: src/types/webhook-events.ts:22
Unix epoch seconds of the entry, when Meta includes it.
wabaId
Section titled “wabaId”wabaId:
string
Defined in: src/types/webhook-events.ts:20
The WhatsApp Business Account (WABA) ID of the entry.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.