src/whatsprot.class.php
public function sendPresenceUnsubscription($to)
    {
        $node = new ProtocolNode('presence', ['type' => 'unsubscribe', 'to' => $this->getJID($to)], null, '');
        $this->sendNode($node);
    }
public function sendPresenceUnsubscription($to)
    {
        $node = new ProtocolNode('presence', ['type' => 'unsubscribe', 'to' => $this->getJID($to)], null, '');
        $this->sendNode($node);
    }
public function sendPresenceUnsubscription ( $ to ) { $ node = new ProtocolNode ( 'presence' , [ 'type' => 'unsubscribe' , 'to' => $ this -> getJID ( $ to ) ] , null , '' ) ; $ this -> sendNode ( $ node ) ; }
Unsubscribe, will stop subscription.

@param string $to Phone number.
Unsubscribe will stop subscription .