I’ve managed to solve this. For anyone wondering: you need to edit link template and there you substitute whatever is in the link with [download_url].