Table of Contents

Class Channel

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class Channel : PartialChannel, IChannel, IPartialChannel, ISnowflake, IMentionable
Inheritance
object
Channel
Implements
Derived
Inherited Members
Extension Methods

Properties

AppliedTags

public ulong[]? AppliedTags { get; }

Property Value

ulong[]

Bitrate

The bitrate of the voice channel in bits per second.

public int? Bitrate { get; }

Property Value

int?

ContentWarningLevel

public GuildContentWarning? ContentWarningLevel { get; }

Property Value

GuildContentWarning?

ContentWarningText

public string? ContentWarningText { get; }

Property Value

string

DefaultAutoArchiveDuration

public ThreadArchiveDuration? DefaultAutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

DefaultLayout

public ForumLayout? DefaultLayout { get; }

Property Value

ForumLayout?

DefaultRateLimitPerUser

public int? DefaultRateLimitPerUser { get; }

Property Value

int?

DefaultReactionEmoji

public ForumReactionEmoji? DefaultReactionEmoji { get; }

Property Value

ForumReactionEmoji

DefaultSortOrder

public ForumSortOrder? DefaultSortOrder { get; }

Property Value

ForumSortOrder?

Flags

public ChannelFlags Flags { get; }

Property Value

ChannelFlags

ForumTags

public ForumTag[]? ForumTags { get; }

Property Value

ForumTag[]

GuildId

The unique identifier (snowflake) for guild of this channel.

public ulong? GuildId { get; }

Property Value

ulong?

IconHash

The icon hash of the channel (for group DMs).

public string? IconHash { get; }

Property Value

string

IndexedAt

public DateTimeOffset? IndexedAt { get; }

Property Value

DateTimeOffset?

IsNsfw

Whether the channel is marked as NSFW.

public bool IsNsfw { get; }

Property Value

bool

IsSoftDeleted

public bool IsSoftDeleted { get; }

Property Value

bool

LastMessageId

The ID of the last message sent in this channel.

public ulong? LastMessageId { get; }

Property Value

ulong?

LastPinAt

The ISO 8601 timestamp of when the last pinned message was pinned.

public DateTimeOffset? LastPinAt { get; }

Property Value

DateTimeOffset?

Nicknames

Custom nicknames for users in this channel (for group DMs)

public Dictionary<string, string>? Nicknames { get; }

Property Value

Dictionary<string, string>

OwnerId

The ID of the owner of the channel. (for group DMs)

public ulong? OwnerId { get; }

Property Value

ulong?

ParentId

The ID of the parent category for this channel.

public ulong? ParentId { get; }

Property Value

ulong?

PermissionOverwrites

public IEnumerable<PermissionOverwrite>? PermissionOverwrites { get; }

Property Value

IEnumerable<PermissionOverwrite>

Position

The position of the channel relative to other channels.

public int? Position { get; }

Property Value

int?

RateLimitPerUser

The slowmode for this channel to limit messages per second.

public int? RateLimitPerUser { get; }

Property Value

int?

RecipientIds

The recipients of the DM channel.

public HashSet<ulong>? RecipientIds { get; }

Property Value

HashSet<ulong>

RtcRegion

The voice region ID for the voice channel.

public string? RtcRegion { get; }

Property Value

string

ThreadMember

public ThreadMember? ThreadMember { get; }

Property Value

ThreadMember

ThreadMetadata

public ThreadMetadata? ThreadMetadata { get; set; }

Property Value

ThreadMetadata

Topic

The topic of the channel.

public string? Topic { get; }

Property Value

string

Url

The URL associated with the channel.

public string? Url { get; }

Property Value

string

UserLimit

The maximum number of users allowed in the voice channel.

public int? UserLimit { get; }

Property Value

int?

VoiceConnectionLimit

The maximum number of connections a user can have in the voice channel.

public int? VoiceConnectionLimit { get; set; }

Property Value

int?

Methods

Create(FluxerBaseClient, ChannelJson)

Create a Channel object from json.

public static Channel Create(FluxerBaseClient client, ChannelJson json)

Parameters

client FluxerBaseClient
json ChannelJson

Returns

Channel

Channel

TextableTypes(ChannelType)

Channel types that you can send messages to.

public static bool TextableTypes(ChannelType type)

Parameters

type ChannelType

Returns

bool

bool