Send MiniChunks

This commit is contained in:
Shoghi Cervantes Pueyo
2013-02-05 17:36:38 +01:00
parent 7f92c6fab3
commit e5ed7e04cf
3 changed files with 51 additions and 36 deletions

View File

@ -39,6 +39,10 @@ class ChatAPI{
$this->send(false, $message);
}
public function sendTo($owner, $text, $username){
$this->send($owner, $text, array($username));
}
public function send($owner, $text, $whitelist = false, $blacklist = false){
$message = "";
if($owner !== false){