whatsapp消息入口
接收多渠道信息,推送消息给所有接收者
Last updated
接收多渠道信息,推送消息给所有接收者
Last updated
{
"id": "<unique message identifier>",
"from": "<phone number of the channel>",
"to": "<phone number of the user>",
"timestamp": "<timestamp>",
"type": "text",
"text": {
"body": "Hello world"
}
}{
"id": "<unique message identifier>",
"from": "<phone number of the channel>",
"to": "<phone number of the user>",
"timestamp": "<timestamp>",
"type": "image",
"image": {
"url": "your-media-url",
"caption": "your-image-caption",
"mimeType": "<see the list of available mimeType>"
}
}{
"id": "<unique message identifier>",
"from": "<phone number of the channel>",
"to": "<phone number of the user>",
"timestamp": "<timestamp>",
"type": "document",
"document": {
"url": "your-document-url",
"caption": "your-document-caption",
"mimeType": "<see the list of available mimeType>"
}
}{
"id": "<unique message identifier>",
"from": "<phone number of the channel>",
"to": "<phone number of the user>",
"timestamp": "<timestamp>",
"type": "voice",
"voice": {
"url": "your-voice-url",
"mimeType": "<see the list of available mimeType>"
}
}{
"status": 200,
"data": {}
}