Refer a friend link

Is there any way we can get the refer a friend to be a link, such as something to post in a group chat message instead of inviting by email.