1
SendImage
dax edited this page 2019-05-22 10:49:30 +02:00
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');
?>