This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
FriendPages object which contains information for all of the given player’s friends. The items within the
FriendPages object are tables with the following fields:
||int64||The user ID of the friend|
||string||The current username of the friend|
||boolean||Whether or not the user is presently online.|
See the code samples for an easy way to iterate over all a player’s friends.
The userId of the player being specified.