Table of Contents

Struct ChannelInfo

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents information for a channel.

public struct ChannelInfo
Inherited Members

Properties

AutoArchiveDuration

Gets the thread archive duration that was set in the created channel.

public readonly ThreadArchiveDuration? AutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

Bitrate

Gets the bit-rate of this channel if applicable.

public readonly int? Bitrate { get; }

Property Value

int?

An int representing the bit-rate set for the voice channel; null if this is not mentioned in this entry.

ChannelType

Gets the type of this channel.

public readonly ChannelType? ChannelType { get; }

Property Value

ChannelType?

The channel type of this channel; null if not applicable.

DefaultArchiveDuration

Gets the default auto-archive duration for client-created threads in this channel.

public readonly ThreadArchiveDuration? DefaultArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

The default auto-archive duration for thread creation in this channel.

Remarks

The value of this property does not affect API thread creation, it will not respect this value.

DefaultReactionEmoji

Gets the emoji to show in the add reaction button on a thread in a forum channel

public readonly IEmote DefaultReactionEmoji { get; }

Property Value

IEmote

Remarks

If the emoji is Emote only the Id will be populated. Use GetEmoteAsync(ulong, RequestOptions) to get the emoji.

DefaultSlowModeInterval

Gets the default slow mode interval that will be set in child threads in the channel.

public readonly int? DefaultSlowModeInterval { get; }

Property Value

int?

Flags

Gets channel flags configured for the created channel.

public readonly ChannelFlags? Flags { get; }

Property Value

ChannelFlags?

ForumTags

Gets a collection of tags inside of this forum channel.

public readonly IReadOnlyCollection<ForumTag> ForumTags { get; }

Property Value

IReadOnlyCollection<ForumTag>

Remarks

null if the value was not updated in this entry.

IsNsfw

Gets the value that indicates whether this channel is NSFW.

public readonly bool? IsNsfw { get; }

Property Value

bool?

true if this channel has the NSFW flag enabled; otherwise false. null if this is not mentioned in this entry.

Name

Gets the name of this channel.

public readonly string Name { get; }

Property Value

string

A string containing the name of this channel.

RtcRegion

Gets the region configured in the created voice channel.

public readonly string RtcRegion { get; }

Property Value

string

SlowModeInterval

Gets the current slow-mode delay of this channel.

public readonly int? SlowModeInterval { get; }

Property Value

int?

An int representing the time in seconds required before the user can send another message; 0 if disabled. null if this is not mentioned in this entry.

Topic

Gets the topic of this channel.

public readonly string Topic { get; }

Property Value

string

A string containing the topic of this channel, if any.

UserLimit

Gets the user limit configured in the created voice channel.

public readonly int? UserLimit { get; }

Property Value

int?

VideoQualityMode

Gets the video quality mode configured in the created voice channel.

public readonly VideoQualityMode? VideoQualityMode { get; }

Property Value

VideoQualityMode?