Table of Contents

Class Channel

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public class Channel : PartialChannel, IChannel, IPartialChannel, ISnowflake, IMentionable
Inheritance
object
Channel
Implements
Derived
Inherited Members
Extension Methods

Properties

Bitrate

The bitrate of the voice channel in bits per second.

public int? Bitrate { get; }

Property Value

int?

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

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?

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

TextableTypes(ChannelType)

Channel types that you can send messages to.

public static bool TextableTypes(ChannelType type)

Parameters

type ChannelType

Returns

bool