php code to send message to whatsapp code example

Example 1: how to make a message for whatsapp in php

{
    "request": true,
    "response": true,
    "output": "Message Sent",
    "msg_sent_today": 1
}

Example 2: how to make a message for whatsapp in php

{
    "request": true,
    "response": [
        {
            "mynumber": "WhatsApp Username",
            "fromNo": "XXXXXXXXXX",
            "fromName": "Puneet Mehta",
            "msgId": "D799FF10BED49CD9F9",
            "msgType": "text",
            "msgTime": "1469001844",
            "msg": "Hey"
        },
        {
            "mynumber": "WhatsApp Username",
            "fromNo": "XXXXXXXXX",
            "fromName": "Puneet Mehta",
            "msgId": "3510107294D97960F0",
            "msgType": "text",
            "msgTime": "1469001844",
            "msg": "Hi"
        }
    ]
}

Tags:

Php Example