Skip to content

SendOptions

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

Common trailing options accepted by every sender.

When replyToMessageId is set, the request body carries a root-level context: { message_id } (a sibling of type), threading the outbound message as a reply to a previously received message.

optional replyToMessageId?: string

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

WAMID of the message this send should reply to.

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