Reference
WhatsApp options
Template and session text shapes accepted by `WhatsAppSender.send`.
| Shape | Required fields |
|---|---|
| Template | to, template.name, template.language |
| Text | to, text |
Both shapes accept optional messageId. Template components can include header, body, or button parameters.
Result
| Field | Type | Notes |
|---|---|---|
messageId | string | Provider or client id |
to | string | Recipient |
status | string | e.g. "accepted" |
response | string | Provider text |
provider | string? | Transport id; set by fallback |
providerIndex | number? | Fallback chain index |
Map any channel result with channel send result.