Skip to main content
Version: 3.0.0

⭐ Send Custom Request

Send your own WhatsApp Business API Request

await whatsapp.sendCustomRequest(
path: '/messages',
payload: {
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "+91xxxxxxxxxx",
"type": "text",
"text": {
"preview_url": false,
"body": "Hello"
}
}
)
paramtyperequireddescription
pathStringyesPath Url of Request. ex. /messages
payloadMap<String, dynamic>yesBody Request