src/whatsprot.class.php
public function sendPromoteParticipants($gId, $participant)
    {
        $msgId = $this->createMsgId();
        $this->sendGroupsChangeParticipants($gId, $participant, 'promote', $msgId);
    }
public function sendPromoteParticipants($gId, $participant)
    {
        $msgId = $this->createMsgId();
        $this->sendGroupsChangeParticipants($gId, $participant, 'promote', $msgId);
    }
public function sendPromoteParticipants ( $ gId , $ participant ) { $ msgId = $ this -> createMsgId ( ) ; $ this -> sendGroupsChangeParticipants ( $ gId , $ participant , 'promote' , $ msgId ) ; }
Promote participant of a group; Make a participant an admin of a group.

@param string $gId         The group ID.
@param string $participant The number of the participant you want to promote
Promote participant of a group ; Make a participant an admin of a group .