Interface IUserProfileInfo

Represents detailed profile information about a user.

interface IUserProfileInfo {
    badges: IBadge[];
    connected_accounts: IUserConnectedAccount[];
    legacy_username?: string;
    premium_guild_since: string;
    premium_since: null | string;
    premium_type: UserPremiumType;
    profile_themes_experiment_bucket: number;
    user: IUserInfo & { bio: string };
    user_profile: IUserProfile;
}

Properties

badges: IBadge[]

Array of badges associated with the user.

connected_accounts: IUserConnectedAccount[]

Connected accounts of the user.

legacy_username?: string

Legacy username of the user, if any.

premium_guild_since: string

Timestamp for when the user boosted a guild.

premium_since: null | string

Timestamp for when the user started premium subscription, or null if not applicable.

premium_type: UserPremiumType

Type of premium subscription.

profile_themes_experiment_bucket: number

Experiment bucket for profile themes.

user: IUserInfo & { bio: string }

User information with an additional bio field.

user_profile: IUserProfile

User profile details.