WoW API: GetSavedInstanceChatLink

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetSavedInstanceChatLink to API GetSavedInstanceChatLink without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetSavedInstanceChatLink

Retrieves the SavedInstanceChatLink to a specific instance.

 link = GetSavedInstanceChatLink(index)

Arguments[edit]

index
The index of the instance you want to query.

Returns[edit]

link
If instance at index is linkable.
nil
If instance is not linkable (none at index).

Example[edit]

local link = GetSavedInstanceChatLink(1)
if link then
	print(link)
else
	print("Linking is not available for this instance!")
end

Result[edit]

Displays a link to the first instance in your Raid Information tab in the chat window, unless there is none available.

Details[edit]