WoW:API RemoveFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API RemoveFriend to API RemoveFriend without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''RemoveFriend''' - ''Documentation by [[User:Flickering|Flickering]]''</center>


Remove a friend from the friends list.
Remove a friend from the friends list.
Line 12: Line 11:
:;friendName : String - The name of the friend to remove.
:;friendName : String - The name of the friend to remove.
=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''

Latest revision as of 04:47, 15 August 2023

WoW API < RemoveFriend

Remove a friend from the friends list.

RemoveFriend(friendIndex or "friendName")

Parameters[edit]

Arguments[edit]

(friendIndex or "friendName")
friendIndex
Integer - The index (1-based) of the friend to remove.
friendName
String - The name of the friend to remove.

Returns[edit]

nil