(self, *, cgid,
                            permvalue, permid=None, permsid=None)
return self._return_proxy("channelgroupaddperm", cparams, uparams, options)
Usage::

            channelgroupaddperm cgid={groupID} permid={permID} permvalue={permValue}
            channelgroupaddperm cgid={groupID} permsid={permName} permvalue={permValue}

        Adds a set of specified permissions to a channel group. Multiple permissions
        can be added by providing the two parameters of each permission. A permission
        can be specified by permid or permsid.

        Example::

           channelgroupaddperm cgid=78 permsid=b_icon_manage permvalue=1
           error id=0 msg=ok

        Example::

            >>> ts3cmd.channelgroupaddperm(
            ...     cgid=78, permsid="b_icon_manage", permvalue=1)
            ...
Usage::
Usage ::
def channelgroupaddperm(self, *, cgid,
                            permvalue, permid=None, permsid=None):
        """
        Usage::

            channelgroupaddperm cgid={groupID} permid={permID} permvalue={permValue}
            channelgroupaddperm cgid={groupID} permsid={permName} permvalue={permValue}

        Adds a set of specified permissions to a channel group. Multiple permissions
        can be added by providing the two parameters of each permission. A permission
        can be specified by permid or permsid.

        Example::

           channelgroupaddperm cgid=78 permsid=b_icon_manage permvalue=1
           error id=0 msg=ok

        Example::

            >>> ts3cmd.channelgroupaddperm(
            ...     cgid=78, permsid="b_icon_manage", permvalue=1)
            ...
        """
        cparams = OrderedDict()
        uparams = list()
        options = list()

        cparams["cgid"] = cgid

        uparams.append(OrderedDict())
        uparams[0]["permid"] = permid
        uparams[0]["permsid"] = permsid
        uparams[0]["permvalue"] = permvalue
        return self._return_proxy("channelgroupaddperm", cparams, uparams, options)
def channelgroupaddperm ( self , * , cgid , permvalue , permid = None , permsid = None ) : cparams = OrderedDict ( ) uparams = list ( ) options = list ( ) cparams [ "cgid" ] = cgid uparams . append ( OrderedDict ( ) ) uparams [ 0 ] [ "permid" ] = permid uparams [ 0 ] [ "permsid" ] = permsid uparams [ 0 ] [ "permvalue" ] = permvalue return self . _return_proxy ( "channelgroupaddperm" , cparams , uparams , options )