(self, *, targetmode, target, msg)
return self._return_proxy("sendtextmessage", cparams, uparams, options)
Usage::

            sendtextmessage targetmode={1-3}
                            target={serverID|channelID|clientID} msg={text}

        Sends a text message a specified target. The type of the target is determined
        by targetmode while target specifies the ID of the recipient, whether it be a
        virtual server, a channel or a client.

        Example::

           sendtextmessage targetmode=2 target=1 msg=Hello\sWorld!
           error id=0 msg=ok

        Example::

            >>> ts3cmd.sendtextmessage(
            ...     targetmode=2, target=1, msg="Hello World!")
Usage::
Usage ::
def sendtextmessage(self, *, targetmode, target, msg):
        """
        Usage::

            sendtextmessage targetmode={1-3}
                            target={serverID|channelID|clientID} msg={text}

        Sends a text message a specified target. The type of the target is determined
        by targetmode while target specifies the ID of the recipient, whether it be a
        virtual server, a channel or a client.

        Example::

           sendtextmessage targetmode=2 target=1 msg=Hello\sWorld!
           error id=0 msg=ok

        Example::

            >>> ts3cmd.sendtextmessage(
            ...     targetmode=2, target=1, msg="Hello World!")
        """
        cparams = OrderedDict()
        uparams = list()
        options = list()

        cparams["targetmode"] = targetmode
        cparams["target"] = target
        cparams["msg"] = msg
        return self._return_proxy("sendtextmessage", cparams, uparams, options)
def sendtextmessage ( self , * , targetmode , target , msg ) : cparams = OrderedDict ( ) uparams = list ( ) options = list ( ) cparams [ "targetmode" ] = targetmode cparams [ "target" ] = target cparams [ "msg" ] = msg return self . _return_proxy ( "sendtextmessage" , cparams , uparams , options )