Daniele Callari 2019-05-22 10:49:20 +02:00
parent af1e149490
commit 907c89a365

20
SendDocument.md Normal file

@ -0,0 +1,20 @@
> SendDocument($destination, $url)
```
<?php
#
# include class
#
require('Telegram.class.php');
#
# instance
#
$bot = new TelegramBot('mytoken');
#
# send document: url or local path
#
$bot->SendDocument('362870431', 'https://www.daxtech.net/file.pdf');
?>
```