Daniele Callari 2019-05-22 10:49:06 +02:00
parent eb61f063c6
commit af1e149490

22
SendContact.md Normal file

@ -0,0 +1,22 @@
> SendContact($destination, $number, $firstName, $lastName=null)
```
<?php
#
# include class
#
require('Telegram.class.php');
#
# instance
#
$bot = new TelegramBot('mytoken');
#
# Chat action method
#
$bot->SendContact('DestinationMsgId', '3480355977', 'Contact name');
?>
```