Class UserProfile
Fluxer entity with client attached.
public class UserProfile : Entity, IUserProfile
- Inheritance
-
objectUserProfile
- 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
Bio
The user biography text.
public string? Bio { get; }
Property Value
Pronouns
The preferred pronouns of the user.
public string? Pronouns { get; }
Property Value
UserId
User's id for the profile.
public ulong UserId { get; }
Property Value
Methods
Create(FluxerBaseClient, UserProfileJson, ulong)
Create a UserProfile object from json.
public static UserProfile Create(FluxerBaseClient client, UserProfileJson json, ulong userId)
Parameters
clientFluxerBaseClientjsonUserProfileJsonuserIdulong
Returns
GetBannerUrl(int)
Get the user's banner.
public string? GetBannerUrl(int size = 600)
Parameters
sizeint