src/TgCommands.php
public function sendContact($peer, $phoneNumber, $firstName, $lastName)
    {
        $peer        = $this->escapePeer($peer);
        $phoneNumber = $this->formatPhoneNumber($phoneNumber);
        $firstName   = $this->escapeStringArgument($firstName);
        $lastName    = $this->escapeStringArgument($lastName);

        return $this->exec('send_contact  ' . $peer . ' ' . $phoneNumber . ' ' . $firstName . ' ' . $lastName);
    }
public function sendContact($peer, $phoneNumber, $firstName, $lastName)
    {
        $peer        = $this->escapePeer($peer);
        $phoneNumber = $this->formatPhoneNumber($phoneNumber);
        $firstName   = $this->escapeStringArgument($firstName);
        $lastName    = $this->escapeStringArgument($lastName);

        return $this->exec('send_contact  ' . $peer . ' ' . $phoneNumber . ' ' . $firstName . ' ' . $lastName);
    }
Sends contact to $peer (not necessary telegram user)
@param string $peer
@param string $phoneNumber in format
@param string $firstName
@param string $lastName
@return mixed