Skip to content
Headphones with musical notes coming out of it.simple-fm
DiscordGitHubMastodonTwitter

user.getFriends

Returns a list of the user’s friends.

Usage

client.user.getFriends({ username, limit?, page? })

Parameters

ParamTypeRequiredDescription
usernamestringThe name of the user.
limitnumberThe number of results to fetch per page. Defaults to 50.
pagenumberThe page number to fetch. Defaults to the first page.