SendMessageResponse
Defined in: src/types/messages.ts:10
Response returned by the Cloud API for a successful send.
Properties
Section titled “Properties”contacts
Section titled “contacts”contacts:
object[]
Defined in: src/types/messages.ts:14
The contacts the message was addressed to, echoing the input identifier.
input:
string
parent_user_id?
Section titled “parent_user_id?”
optionalparent_user_id?:string
The recipient’s parent BSUID, when parent BSUIDs are enabled.
user_id?
Section titled “user_id?”
optionaluser_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
Section titled “messages”messages:
object[]
Defined in: src/types/messages.ts:24
The accepted messages, each carrying its WhatsApp message ID (WAMID).
id:
string
message_status?
Section titled “message_status?”
optionalmessage_status?:string
messaging_product
Section titled “messaging_product”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.