For reasons and reference. See: #69.
In order to get message link, you need to first check that you can get a message link by calling getMessageProperties and check the flag can_get_link, if true you can safely call getMessageLink which will return you a URL to the message.