Table of Contents

Interface ICurrentUser

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public interface ICurrentUser : IUser, IMentionable, ISnowflake
Inherited Members

Properties

Acls

Access control list entries for the user.

HashSet<string>? Acls { get; }

Property Value

HashSet<string>

AuthenticatorTypes

The types of authenticators configured for MFA.

HashSet<AuthenticatorType>? AuthenticatorTypes { get; }

Property Value

HashSet<AuthenticatorType>

Email

The email address associated with the account.

string? Email { get; }

Property Value

string

EmailBounced

Whether the current email address is marked as bounced by the mail provider.

bool EmailBounced { get; }

Property Value

bool

HasEverPurchased

Whether the user has ever made a purchase.

bool HasEverPurchased { get; }

Property Value

bool

IsEmailVerified

Whether the email address has been verified.

bool IsEmailVerified { get; }

Property Value

bool

IsMfaEnabled

Whether multi-factor authentication is enabled.

bool IsMfaEnabled { get; }

Property Value

bool

IsPhoneVerified

The user has verified their phone number.

bool IsPhoneVerified { get; }

Property Value

bool

IsStaff

Whether the user has staff permissions.

bool IsStaff { get; }

Property Value

bool

PasswordLastChangedAt

DateTimeOffset? PasswordLastChangedAt { get; }

Property Value

DateTimeOffset?

Phone

The phone number associated with the account.

string? Phone { get; }

Property Value

string

PremiumBillingCycle

The billing cycle for the premium subscription.

string? PremiumBillingCycle { get; }

Property Value

string

PremiumLifetimeSequence

The sequence number for lifetime premium subscribers.

int? PremiumLifetimeSequence { get; }

Property Value

int?

PremiumSince

ISO8601 timestamp of when premium was first activated.

DateTimeOffset? PremiumSince { get; }

Property Value

DateTimeOffset?

PremiumType

The type of premium subscription.

PremiumType PremiumType { get; }

Property Value

PremiumType

PremiumUntil

ISO8601 timestamp of when the current premium period ends.

DateTimeOffset? PremiumUntil { get; }

Property Value

DateTimeOffset?

PremiumWillCancel

Whether premium is set to cancel at the end of the billing period.

bool PremiumWillCancel { get; }

Property Value

bool

Traits

Special traits assigned to the user account.

HashSet<string>? Traits { get; }

Property Value

HashSet<string>

Methods

GetBannerUrl(int)

Get the user's banner.

string? GetBannerUrl(int size)

Parameters

size int

Returns

string