public function sendPicture($peer, $path)
    {
        $peer = $this->escapePeer($peer);
        $formattedPath = $this->formatFileName($path);

        return $this->exec('send_photo ' . $peer . ' ' . $formattedPath);
    }
public function sendPicture($peer, $path)
    {
        $peer = $this->escapePeer($peer);
        $formattedPath = $this->formatFileName($path);

        return $this->exec('send_photo ' . $peer . ' ' . $formattedPath);
    }
public function sendPicture ( $ peer , $ path ) { $ peer = $ this -> escapePeer ( $ peer ) ; $ formattedPath = $ this -> formatFileName ( $ path ) ; return $ this -> exec ( 'send_photo ' . $ peer . ' ' . $ formattedPath ) ; }
Send picture to peer

@param  string $peer The peer, gets escaped with escapePeer()
@param  string $path The picture path, gets formatted with formatFileName()
@return boolean

@uses exec()
@uses escapePeer()
@uses formatFileName()
Send picture to peer