API C Map.GetUserWaypointHyperlink

Returns a worldmap hyperlink for the currently assigned user waypoint, if one exists.
 hyperlink = C_Map.GetUserWaypointHyperlink()
==Returns==
:;hyperlink: : worldmapLink
==Example==
Sends any currently active waypoint to your chat.
 /run SendChatMessage(C_Map.GetUserWaypointHyperlink())
Sends a map pin to General chat for the target (but still uses your own location).
/run local c,p,t,m=C_Map,"player","target"m=c.GetBestMapForUnit(p)c.SetUserWaypoint{uiMapID=m,position=c.GetPlayerMapPosition(m,p)}SendChatMessage(format("%%t (%d%%)%s",UnitHealth(t)/UnitHealthMax(t)*100,c.GetUserWaypointHyperlink()),"CHANNEL",nil,1)
=== Note ===
Any modification to the hyperlink, even a replacement of the "Map Pin Location" text, prevents the hyperlink from being sent in a message to channels or players.
==Patch changes==