Table of Contents

Class UserProfile

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class UserProfile : Entity, IUserProfile
Inheritance
object
UserProfile
Implements

Properties

AccentColor

The user-selected accent color as an integer.

public int? AccentColor { get; }

Property Value

int?

BannerColor

Default banner color if no custom banner.

public int? BannerColor { get; }

Property Value

int?

BannerHash

The hash of the user profile banner image.

public string? BannerHash { get; }

Property Value

string

Bio

The user biography text.

public string? Bio { get; }

Property Value

string

Pronouns

The preferred pronouns of the user.

public string? Pronouns { get; }

Property Value

string

UserId

User's id for the profile.

public ulong UserId { get; }

Property Value

ulong

Methods

Create(FluxerBaseClient, UserProfileJson, ulong)

Create a UserProfile object from json.

public static UserProfile Create(FluxerBaseClient client, UserProfileJson json, ulong userId)

Parameters

client FluxerBaseClient
json UserProfileJson
userId ulong

Returns

UserProfile

GetBannerUrl(int)

Get the user's banner.

public string? GetBannerUrl(int size = 600)

Parameters

size int

Returns

string