How do I get the perm link of a message?

I want to give the links to my friend.

In Mattermost v1.3.0 this is now supported from the […] menu on messages.

I have confirmed. Thanks, @it33!