Skip to main content
Version: 4.0.0

💬 Send a message

Send a message to the specified phone number

await whatsapp.sendMessage(
phoneNumber : 'RECIPIENT_NUMBER',
text : 'text_message',
previewUrl : true,
);
Return Methods

Please find out supported return method here. That return method can be used in all methods.

paramtyperequireddescription
phoneNumberStringyesPhone number with country code.
textStringyesA text message to send
previewUrlboolnoURL preview in message if there is any link