src/whatsprot.class.php
public function sendBroadcastVideo($targets, $path, $storeURLmedia = false, $fsize = 0, $fhash = '', $caption = '')
    {
        if (!is_array($targets)) {
            $targets = [$targets];
        }
        // Return message ID. Make pull request for this.
        return $this->sendMessageVideo($targets, $path, $storeURLmedia, $fsize, $fhash, $caption);
    }
public function sendBroadcastVideo($targets, $path, $storeURLmedia = false, $fsize = 0, $fhash = '', $caption = '')
    {
        if (!is_array($targets)) {
            $targets = [$targets];
        }
        // Return message ID. Make pull request for this.
        return $this->sendMessageVideo($targets, $path, $storeURLmedia, $fsize, $fhash, $caption);
    }
public function sendBroadcastVideo ( $ targets , $ path , $ storeURLmedia = false , $ fsize = 0 , $ fhash = '' , $ caption = '' ) { if ( ! is_array ( $ targets ) ) { $ targets = [ $ targets ] ; } // Return message ID. Make pull request for this. return $ this -> sendMessageVideo ( $ targets , $ path , $ storeURLmedia , $ fsize , $ fhash , $ caption ) ; }
Send a Broadcast Message with a video.

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 $path          URL or local path to the video file to send
@param bool   $storeURLmedia Keep a copy of the audio file on your server
@param int    $fsize
@param string $fhash
@param string $caption

@return string|null Message ID if successfully, null if not.
Send a Broadcast Message with a video .