extractStatuses
extractStatuses(
payload):MessageStatus[]
Defined in: src/resources/webhook-core.ts:224
Flattens all message status updates across entry[].changes[].value for
changes whose field is messages. Status values under other fields, such
as calls, are not message statuses and are ignored. Non-object elements
are skipped. Returns an empty array when the payload carries none.
Parameters
Section titled “Parameters”payload
Section titled “payload”Returns
Section titled “Returns”Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.