def serialize(self, config):
        """
        :param config:
        :type config: yowsup.config.base.config.Config
        :return:
        :rtype: bytes
        """
        for transform in self._transforms:
            config = transform.transform(config)
        return config
:param config:
        :type config: yowsup.config.base.config.Config
        :return:
        :rtype: bytes