Skip to main content
Version: 1.5

Sending WhatsApp Messages

Sending Text Messages

Use this method to send text messages.

async function SendHi(context) {
await context.sendText('Hi!');
}

To send with media URLs, you may use mediaUrl options:

await context.sendText('Hi', {
mediaUrl: ['https://example.com/image.jpg'],
});