Sonolus Wiki

UserProfile

UserProfile provides information of a user.

Syntax

type UserProfile = {
    id: string
    handle: string
    name: string
    avatarForegroundColor: string
    avatarBackgroundColor: string
    aboutMe: string
    socialLinks: { title: string; address: string }[]
    favorites: string[]
}

Examples

{
    "id": "...",
    "handle": "1000",
    "name": "Username",
    "avatarForegroundColor": "#ffffffff",
    "avatarBackgroundColor": "#000020ff",
    "aboutMe": "Nice to meet you!",
    "socialLinks": [
        {
            "title": "Link",
            "address": "https:// ..."
        }
    ],
    "favorites": ["sonolus:// ..."]
}