예제 #1
0
 public static function notify($notify)
 {
     //echo "$notify"."\n";
     #if (preg_match('#RECEIVED|SENT#Uis', $notify)) {
     if (preg_match('/RECEIVED/', $notify)) {
         $message_id = explode(' ', $notify);
         //Вызываем обработчик сообщений
         bot::get_details($message_id[1]);
     }
 }