InteractiveIncomingMessage
Defined in: src/types/webhooks.ts:226
The selection payload of an interactive reply.
Extends
Section titled “Extends”IncomingMessageBase
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?:WebhookMessageContext
Defined in: src/types/webhooks.ts:115
Reply context when this message references a previous message.
Inherited from
Section titled “Inherited from”IncomingMessageBase.context
errors?
Section titled “errors?”
optionalerrors?:WebhookMessageError[]
Defined in: src/types/webhooks.ts:119
Errors Meta attached to the message, e.g. on unsupported messages.
Inherited from
Section titled “Inherited from”IncomingMessageBase.errors
from:
string
Defined in: src/types/webhooks.ts:103
The wa_id of the sender. Meta may omit it when the sender has enabled
usernames and no phone number can be shared; use from_user_id then.
Inherited from
Section titled “Inherited from”IncomingMessageBase.from
from_parent_user_id?
Section titled “from_parent_user_id?”
optionalfrom_parent_user_id?:string
Defined in: src/types/webhooks.ts:107
The sender’s parent BSUID, only present when parent BSUIDs are enabled.
Inherited from
Section titled “Inherited from”IncomingMessageBase.from_parent_user_id
from_user_id?
Section titled “from_user_id?”
optionalfrom_user_id?:string
Defined in: src/types/webhooks.ts:105
The sender’s business-scoped user ID (BSUID).
Inherited from
Section titled “Inherited from”IncomingMessageBase.from_user_id
group_id?
Section titled “group_id?”
optionalgroup_id?:string
Defined in: src/types/webhooks.ts:109
The group ID, when the message was sent in a group.
Inherited from
Section titled “Inherited from”IncomingMessageBase.group_id
id:
string
Defined in: src/types/webhooks.ts:111
The WhatsApp message ID (WAMID) of this message.
Inherited from
Section titled “Inherited from”IncomingMessageBase.id
interactive
Section titled “interactive”interactive:
object
Defined in: src/types/webhooks.ts:228
button_reply?
Section titled “button_reply?”
optionalbutton_reply?:object
Present when type is button_reply.
button_reply.id
Section titled “button_reply.id”id:
string
button_reply.title
Section titled “button_reply.title”title:
string
call_permission_reply?
Section titled “call_permission_reply?”
optionalcall_permission_reply?:object
Present when type is call_permission_reply, the user’s answer to a call permission request.
call_permission_reply.expiration_timestamp?
Section titled “call_permission_reply.expiration_timestamp?”
optionalexpiration_timestamp?:string|number
call_permission_reply.response
Section titled “call_permission_reply.response”response:
string
call_permission_reply.response_source?
Section titled “call_permission_reply.response_source?”
optionalresponse_source?:string
list_reply?
Section titled “list_reply?”
optionallist_reply?:object
Present when type is list_reply.
list_reply.description?
Section titled “list_reply.description?”
optionaldescription?:string
list_reply.id
Section titled “list_reply.id”id:
string
list_reply.title
Section titled “list_reply.title”title:
string
nfm_reply?
Section titled “nfm_reply?”
optionalnfm_reply?:InteractiveNfmReply
Present when type is nfm_reply (e.g. an address-message submission).
product?
Section titled “product?”
optionalproduct?:object
Present when type is product, a reply about a product from a product message.
product.currency_code?
Section titled “product.currency_code?”
optionalcurrency_code?:string
product.description?
Section titled “product.description?”
optionaldescription?:string
product.price_amount?
Section titled “product.price_amount?”
optionalprice_amount?:string|number
product.retailer_id
Section titled “product.retailer_id”retailer_id:
string
product.sale_price_amount?
Section titled “product.sale_price_amount?”
optionalsale_price_amount?:string|number
product.title?
Section titled “product.title?”
optionaltitle?:string
product.url?
Section titled “product.url?”
optionalurl?:string
type:
"product"|"button_reply"|"list_reply"|"nfm_reply"|"call_permission_reply"
The kind of interactive reply received.
referral?
Section titled “referral?”
optionalreferral?:WebhookMessageReferral
Defined in: src/types/webhooks.ts:117
Click to WhatsApp ad attribution, only present when sent via an ad.
Inherited from
Section titled “Inherited from”IncomingMessageBase.referral
timestamp
Section titled “timestamp”timestamp:
string
Defined in: src/types/webhooks.ts:113
Unix epoch seconds (as a string) when the message was sent.
Inherited from
Section titled “Inherited from”IncomingMessageBase.timestamp
type:
"interactive"
Defined in: src/types/webhooks.ts:227
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.