Class SendContactMethod.
 Methods
create()
        
create(integer|string $chatId, string $phoneNumber, string $firstName, array|null $data = null) : \TgBotApi\BotApiBase\Method\SendContactMethod
Static
Parameters
$chatId
integerstring
$phoneNumber
string
$firstName
string
$data
arraynull
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException | 
 | 
Returns
\TgBotApi\BotApiBase\Method\SendContactMethod
  
 
fill()
        
fill(array $data, array $forbidden = array()) 
Inherited
Parameters
$data
array
$forbidden
array
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException | 
 | 
  
 
 Properties
 
Optional. Pass True, if the message should be sent even if the specified replied-to message is not found.
$allowSendingWithoutReply : boolean | null
 
 
Optional. Sends the message silently. Users will receive a notification with no sound.
$disableNotification : boolean | null
 
 
Contact's first name.
$firstName : string
 
 
Optional. Contact's last name.
$lastName : string | null
 
 
Contact's phone number.
$phoneNumber : string
 
 
Optional. Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard,
instructions to remove reply keyboard or to force a reply from the user.
$replyMarkup : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardMarkupType | \TgBotApi\BotApiBase\Type\ReplyKeyboardRemoveType | \TgBotApi\BotApiBase\Type\ForceReplyType | null
 
 
Optional. If the message is a reply, ID of the original message.
$replyToMessageId : integer | null
 
 
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
$vcard : string | null