Skip to content

WebhookMessageContext

Defined in: src/types/webhooks.ts:49

Reply context linking a message to a previous one.

optional forwarded?: boolean

Defined in: src/types/webhooks.ts:55

true when the user forwarded the message to the business (forwarded 5 times or fewer).


optional frequently_forwarded?: boolean

Defined in: src/types/webhooks.ts:57

true when the message was forwarded more than 5 times.


optional from?: string

Defined in: src/types/webhooks.ts:51

The wa_id of the sender of the referenced message, when present.


optional id?: string

Defined in: src/types/webhooks.ts:53

The WAMID of the referenced message, when present.


optional referred_product?: object

Defined in: src/types/webhooks.ts:59

The product the user referenced via a catalog “Message business” button.

catalog_id: string

The product catalog ID.

product_retailer_id: string

The product ID in the catalog.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.