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

20
SendImage.md Normal file

@ -0,0 +1,20 @@
> SendImage($destination, $url)
```
<?php
#
# include class
#
require('Telegram.class.php');
#
# instance
#
$bot = new TelegramBot('mytoken');
#
# send an image: url or local path
#
$bot->SendImage('362870431', 'https://www.daxtech.net/media/site/www.daxtech.net/Daxtech/daxtech-logo-crop.png');
?>
```