src/whatsprot.class.php
public function sendBroadcastMessage($targets, $message)
    {
        $bodyNode = new ProtocolNode('body', null, null, $message);
        // Return message ID. Make pull request for this.
        return $this->sendBroadcast($targets, $bodyNode, 'text');
    }
public function sendBroadcastMessage($targets, $message)
    {
        $bodyNode = new ProtocolNode('body', null, null, $message);
        // Return message ID. Make pull request for this.
        return $this->sendBroadcast($targets, $bodyNode, 'text');
    }
public function sendBroadcastMessage ( $ targets , $ message ) { $ bodyNode = new ProtocolNode ( 'body' , null , null , $ message ) ; // Return message ID. Make pull request for this. return $ this -> sendBroadcast ( $ targets , $ bodyNode , 'text' ) ; }
Send a Broadcast Message.

The recipients MUST have your number (synced) and in their contact list
otherwise the message will not deliver to that person.

Approx 20 (unverified) is the maximum number of targets

@param array  $targets An array of numbers to send to.
@param string $message Your message

@return string Message ID
Send a Broadcast Message .