<?php
/************************************************** 
 *                 Bot Gadu-Gadu                  * 
 ************************************************** 
 * Wersja: 2.2 Stable                             * 
 * Data: 25.06.2012 (21:15)                       * 
 * Autor: Jacek Kowalski (http://jacekk.info)     * 
 *                                                * 
 * Utwor rozprowadzany na licencji                * 
 * http://creativecommons.org/licenses/by-nc/2.5/ * 
 **************************************************/

require_once('./class/std.php');

try {
	$msg = new BotMsg('<p>To jest tekst!</p>');
	$msg->a('<p>A to tekst <b>pogrubiony</b> oraz <i>pochylony</i>.</p>');
	
	$api = new BotAPIGG;
	var_dump($api->sendMessage(array('Gadu-Gadu://NUMER_GG@gadu-gadu.pl'), $msg));
}
catch(Exception $e) {
	echo $e;
}
?>
