Queues a message for delivery via WhatsApp. Supports 10 message types: text, image, video, audio, document, location, poll, contact, forward, and reaction. The message is processed asynchronously via BullMQ. Brazilian phone numbers are automatically retried with/without the 9th digit on failure.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The WhatsApp instance UUID
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Recipient phone number or chatId
text, image, video, audio, document, location, template, poll, contact, forward, reaction Message ID to reply/quote
Message ID to edit
@mentions (phone numbers with @c.us)
Poll data (type=poll)
Contact cards (type=contact)
Message ID to forward (type=forward)
Reaction emoji (type=reaction), empty string to remove
Message ID to react to (type=reaction)