def METHOD_NAME(self, result):
    # Parameters "type" and "file" must be individually coded as a json string so we add double quotes to those parameters
    # The "file" paramater (torrent in this case) must corrospondent with the key in the files parameter
    params = {
        'api': 'SYNO.DownloadStation2.Task',
        'version': 2,
        'method': 'create',
        'create_list': 'false',
        'destination': f'"{app.TORRENT_PATH}"',
        'type': '"file"',
        'file': '["torrent"]'
    }
    torrent_file = {'torrent': (f'{result.name}.torrent', result.content)}
    return self._add_torrent(params, torrent_file)