A user's public profile.
Returned by user.getProfile() for the current user, and carried on profile for other users in the room.
user.getProfile()
import { getProfile } from "@urth/metatell-sdk/user";const profile = getProfile();console.log(profile?.displayName); Copy
import { getProfile } from "@urth/metatell-sdk/user";const profile = getProfile();console.log(profile?.displayName);
Optional
Id of the avatar the user currently wears, if known.
Human-readable display name shown to other users.
Role identifiers granted to the user (e.g. "admin"), if any.
"admin"
A user's public profile.
Returned by
user.getProfile()for the current user, and carried on profile for other users in the room.Example