AppleSauce
    Preparing search index...

    Type Alias ProfileContent

    type ProfileContent = {
        about?: string;
        banner?: string;
        birthday?: { day?: number; month?: number; year?: number };
        bot?: boolean;
        display_name?: string;
        displayName?: string;
        image?: string;
        languages?: string[];
        lud06?: string;
        lud16?: string;
        name?: string;
        nip05?: string;
        picture?: string;
        username?: string;
        website?: string;
    }
    Index

    Properties

    about?: string

    Short bio or description of the user

    banner?: string

    URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen

    birthday?: { day?: number; month?: number; year?: number }

    Object representing the author's birth date. Each field may be omitted.

    Type Declaration

    • Optionalday?: number

      Birth day (1-31)

    • Optionalmonth?: number

      Birth month (1-12)

    • Optionalyear?: number

      Birth year

    bot?: boolean

    Boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds

    display_name?: string

    An alternative, bigger name with richer characters than name. name should always be set regardless of the presence of display_name.

    displayName?: string

    use display_name instead

    image?: string

    use picture instead

    languages?: string[]

    An array of strings representing the author's preferred languages (in order of preference), each in IETF BCP 47 format (e.g., ["en", "ja"], ["es-AR", "en-US"]). The first element is the primary language.

    lud06?: string

    Lightning address in the format user@domain.com (LUD-06 format)

    lud16?: string

    Lightning address in the format user@domain.com (LUD-16 format)

    name?: string

    Nickname or full name of the user

    nip05?: string

    DNS-based verification identifier in the format _@domain.com or user@domain.com

    picture?: string

    URL of the profile picture image

    username?: string

    use name instead

    website?: string

    A web URL related in any way to the event author