2
SendMessage
Daniele Callari edited this page 2019-05-23 09:18:09 +02:00
SendMessage($destination, $textMessage)
<?php
#
# include class
#
require('Telegram.class.php');
#
# instance
#
$bot = new TelegramBot('mytoken');
#
# SendMessage method
#
$bot->SendMessage('DestinationMsgId', 'Hello mom');
?>