(self, *, scgid, tcgid, name, type_)
return self._return_proxy("channelgroupcopy", cparams, uparams, options)
Usage::

            channelgroupcopy scgid={sourceGroupID} tcgid={targetGroupID} name={groupName} type={groupDbType}

        Creates a copy of the channel group specified with ssgid. If tsgid is set to 0,
        the server will create a new group. To overwrite an existing group, simply set
        tsgid to the ID of a designated target group. If a target group is set, the
        name parameter will be ignored.

        The type parameter can be used to create ServerQuery and template groups.

        Example::

           channelgroupcopy scgid=4 tcgid=0 name=My\sGroup\s(Copy) type=1
           cgid=13
           error id=0 msg=ok

        Example::

            >>> ts3cmd.channelgroupcopy(
            ...     scgid=4, tcgid=0, name="My Group (Copy)", type_=1)
            ...
Usage::
Usage ::
def channelgroupcopy(self, *, scgid, tcgid, name, type_):
        """
        Usage::

            channelgroupcopy scgid={sourceGroupID} tcgid={targetGroupID} name={groupName} type={groupDbType}

        Creates a copy of the channel group specified with ssgid. If tsgid is set to 0,
        the server will create a new group. To overwrite an existing group, simply set
        tsgid to the ID of a designated target group. If a target group is set, the
        name parameter will be ignored.

        The type parameter can be used to create ServerQuery and template groups.

        Example::

           channelgroupcopy scgid=4 tcgid=0 name=My\sGroup\s(Copy) type=1
           cgid=13
           error id=0 msg=ok

        Example::

            >>> ts3cmd.channelgroupcopy(
            ...     scgid=4, tcgid=0, name="My Group (Copy)", type_=1)
            ...
        """
        cparams = OrderedDict()
        uparams = list()
        options = list()

        cparams["scgid"] = scgid
        cparams["tcgid"] = tcgid
        cparams["name"] = name
        cparams["type"] = type_
        return self._return_proxy("channelgroupcopy", cparams, uparams, options)
def channelgroupcopy ( self , * , scgid , tcgid , name , type_ ) : cparams = OrderedDict ( ) uparams = list ( ) options = list ( ) cparams [ "scgid" ] = scgid cparams [ "tcgid" ] = tcgid cparams [ "name" ] = name cparams [ "type" ] = type_ return self . _return_proxy ( "channelgroupcopy" , cparams , uparams , options )