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