Jacek Kowalski
2014-06-11 b3acf6b4c54a4a731fca9ed801f70b092975fbf3
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 ?>