id : string
The ID of the user that this object references.
profileApi :
ProfileApi
The Profile API instance that can be used for interaction.
constructor(id, profileApi)
Create an instance of this class.
id must be a user ID.
id
profileApi must be an instance of ProfileApi.
profileApi
async profile()
Get this user's public profile.
This function returns an object that implements the ProfileInfo interface.
ProfileInfo
Last updated 3 years ago
const profile = await userRef.profile()