Skip to content

SendMessageResponse

Defined in: src/types/messages.ts:10

Response returned by the Cloud API for a successful send.

contacts: object[]

Defined in: src/types/messages.ts:14

The contacts the message was addressed to, echoing the input identifier.

input: string

optional parent_user_id?: string

The recipient’s parent BSUID, when parent BSUIDs are enabled.

optional user_id?: string

The recipient’s BSUID, when returned by Meta.

wa_id: string

May be absent when the message was sent to a BSUID.


messages: object[]

Defined in: src/types/messages.ts:24

The accepted messages, each carrying its WhatsApp message ID (WAMID).

id: string

optional message_status?: string


messaging_product: "whatsapp"

Defined in: src/types/messages.ts:12

Always whatsapp for Cloud API responses.

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