ParseWebhookOptions
Defined in: src/types/webhooks.ts:543
Options for parseWebhook.
Properties
Section titled “Properties”maxBodyBytes?
Section titled “maxBodyBytes?”
optionalmaxBodyBytes?:number|false
Defined in: src/types/webhooks.ts:550
Maximum accepted size in bytes for a string or byte body. Larger bodies
throw WhatsAppWebhookError before parsing. Defaults to 3 MiB, Meta’s
documented maximum payload size. Pass false to disable the check. It does
not apply to an already parsed object.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.