API C FriendList.GetWhoInfo

Retrieves info about a character on your current /who list. info = C_FriendList.GetWhoInfo(index)

Arguments

 * index : number - Index 1 up to

Returns

 * info : WhoInfo

Example
local p = C_FriendList.GetWhoInfo(1) print(format("%s (level %d %s %s) is in %s", p.fullName, p.level, p.raceStr, p.classStr, p.area))

> Nartan-Ravenholdt (level 43 Kul Tiran Druid) is in Eastern Plaguelands