v0.13.7

C_FriendList.SetFriendNotesByIndex

functionguessedavailable in: camelot

Sets the note text for a friend.

signaturewowlua
function C_FriendList.SetFriendNotesByIndex(    index: number,    notes: string)

Parameters

nametypedescription
indexnumberindex of the friend, up to C_FriendList.GetNumFriends (max 100). Note that status changes can re-order the friend list, indices are not guaranteed to remain stable across events.
notesstringthe text that the friends note will be set to, up to 48 characters, anything longer will be truncated.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

  • Requires friend list.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (FriendList system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.