Jacek Kowalski
2012-08-12 4cd94bafb70598ab9dd00a869e404d03b827dffb
commit | author | age
8bd4d9 1 <?php
JK 2 require_once('./class/std.php');
3
4 try {
5     $msg = new BotMsg('<p>To jest tekst!</p>');
6     $msg->a('<p>A to tekst <b>pogrubiony</b> oraz <i>pochylony</i>.</p>');
7     
8     $api = new BotAPIGG;
9     var_dump($api->sendMessage(array('Gadu-Gadu://NUMER_GG@gadu-gadu.pl'), $msg));
10 }
11 catch(Exception $e) {
12     echo $e;
13 }
14 ?>