public function vcard($name, VCard $vcard)
    {
        $card = new stdClass();
        $card->type = 'vcard';
        $card->name = $name;
        $card->vcard = $vcard;
        
        $this->messages[] = $card;
    }
public function vcard($name, VCard $vcard)
    {
        $card = new stdClass();
        $card->type = 'vcard';
        $card->name = $name;
        $card->vcard = $vcard;
        
        $this->messages[] = $card;
    }
public function vcard ( $ name , VCard $ vcard ) { $ card = new stdClass ( ) ; $ card -> type = 'vcard' ; $ card -> name = $ name ; $ card -> vcard = $ vcard ; $ this -> messages [ ] = $ card ; }
Send Virtual Cards

<code>
// Create VCard Instance
$vcard = new psbhanu\Whatsapi\Media\VCard();

// Set properties
$vcard->set('data', array(
'first_name' => 'John',
'last_name' => 'Doe',
'tel' => '9611111111',
));

// Send
WA::send('Hi, meet to Xaamin !', function($send) use ($vcard)
{
$send->to('5219622222222');
$send->vcard('Xaamin Mat', $vcard);
}):
</code>

@param  string $name  Person name
@param  vCard  $vCard vCard Object
@return void
Send Virtual Cards