public function message($msg)
    {
        foreach ($this as $client) {
            try {
                $this->execute(
                    "sendtextmessage",
                    array("msg" => $msg, "target" => $client, "targetmode" => Teamspeak::TEXTMSG_CLIENT)
                );
            } catch (TeamSpeak3_Adapter_ServerQuery_Exception $e) {
                /* ERROR_client_invalid_id */
                if ($e->getCode() != 0x0200) {
                    throw $e;
                }
            }
        }
    }
public function message($msg)
    {
        foreach ($this as $client) {
            try {
                $this->execute(
                    "sendtextmessage",
                    array("msg" => $msg, "target" => $client, "targetmode" => Teamspeak::TEXTMSG_CLIENT)
                );
            } catch (TeamSpeak3_Adapter_ServerQuery_Exception $e) {
                /* ERROR_client_invalid_id */
                if ($e->getCode() != 0x0200) {
                    throw $e;
                }
            }
        }
    }
public function message ( $ msg ) { foreach ( $ this as $ client ) { try { $ this -> execute ( "sendtextmessage" , array ( "msg" => $ msg , "target" => $ client , "targetmode" => Teamspeak :: TEXTMSG_CLIENT ) ) ; } catch ( TeamSpeak3_Adapter_ServerQuery_Exception $ e ) { /* ERROR_client_invalid_id */ if ( $ e -> getCode ( ) != 0x0200 ) { throw $ e ; } } } }
Sends a text message to all clients residing in the channel group on the virtual server.

@param  string $msg
@return void
Sends a text message to all clients residing in the channel group on the virtual server .