Skip to content

BlockUsersResponse

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

The response from a block or unblock call. All three inner keys are optional: a block call populates added_users, an unblock call populates removed_users, and either may include failed_users for per-user failures.

[key: string]: unknown

Additional Graph fields not explicitly typed above.

block_users: object

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

The per-outcome breakdown of the request.

[key: string]: unknown

Additional Graph fields not explicitly typed above.

optional added_users?: BlockedUser[]

Users successfully blocked (block calls).

optional failed_users?: FailedBlockUser[]

Users that could not be processed, with per-user error detail.

optional removed_users?: BlockedUser[]

Users successfully unblocked (unblock calls).


messaging_product: "whatsapp"

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

Always whatsapp for the Cloud API.

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