Table of Contents

Class UserSettings

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class UserSettings : Entity, IUserSettings
Inheritance
object
UserSettings
Implements

Properties

AfkTimeout

The idle timeout in seconds before going AFK.

public int AfkTimeout { get; set; }

Property Value

int

AnimateEmoji

Whether to animate custom emojis.

public bool AnimateEmoji { get; set; }

Property Value

bool

AnimateStickers

Sticker animation preference setting.

public int AnimateStickers { get; set; }

Property Value

int

CompactMessageDisplay

Whether to use compact message display mode.

public bool CompactMessageDisplay { get; set; }

Property Value

bool

CustomStatus

The custom status set by the user.

public UserCustomStatusJson? CustomStatus { get; set; }

Property Value

UserCustomStatusJson

DefaultGuildsRestricted

Whether new guilds have DM restrictions by default.

public bool DefaultGuildsRestricted { get; set; }

Property Value

bool

DeveloperMode

Whether developer mode is enabled.

public bool DeveloperMode { get; set; }

Property Value

bool

ExplicitContentFilter

public int ExplicitContentFilter { get; set; }

Property Value

int

FriendSourceFlags

Friend source flags.

public int FriendSourceFlags { get; set; }

Property Value

int

GifAutoPlay

Whether GIFs auto-play in chat.

public bool GifAutoPlay { get; set; }

Property Value

bool

GroupDmAddPermissionFlags

Group DM add permissions.

public int GroupDmAddPermissionFlags { get; set; }

Property Value

int

GuildFolders

The folder structure for organizing guilds in the sidebar.

public List<UserGuildFolderJson>? GuildFolders { get; set; }

Property Value

List<UserGuildFolderJson>

GuildPositions

public List<ulong>? GuildPositions { get; set; }

Property Value

List<ulong>

IncomingCallFlags

Incoming call settings.

public int IncomingCallFlags { get; set; }

Property Value

int

InlineAttachmentMedia

Whether to display attachments inline in chat.

public bool InlineAttachmentMedia { get; set; }

Property Value

bool

InlineEmbedMedia

Whether to display embed media inline in chat.

public bool InlineEmbedMedia { get; set; }

Property Value

bool

Locale

The locale code for the user interface language.

public string Locale { get; set; }

Property Value

string

RenderEmbeds

Whether to render message embeds.

public bool RenderEmbeds { get; set; }

Property Value

bool

RenderReactions

Whether to display reactions on messages.

public bool RenderReactions { get; set; }

Property Value

bool

RenderSpoilers

Spoiler rendering preference setting.

public int RenderSpoilers { get; set; }

Property Value

int

RestrictedGuilds

Guild IDs where direct messages are restricted

public List<ulong>? RestrictedGuilds { get; set; }

Property Value

List<ulong>

Status

The current online status of the user

public string Status { get; set; }

Property Value

string

Theme

The UI theme preference

public string Theme { get; set; }

Property Value

string

TimeFormat

The preferred time format setting.

public int TimeFormat { get; set; }

Property Value

int

UserId

public ulong UserId { get; set; }

Property Value

ulong

Methods

Create(FluxerBaseClient, UserSettingsJson)

Create a UserSettings object from json.

public static UserSettings Create(FluxerBaseClient client, UserSettingsJson json)

Parameters

client FluxerBaseClient
json UserSettingsJson

Returns

UserSettings