Skip to main content

Class TextChannelProperties

Provides properties that are used to modify an Discord.ITextChannel with the specified changes.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class TextChannelProperties : GuildChannelProperties

Properties​

Topic​

Gets or sets the topic of the channel.

View Source​
Declaration
public Optional<string> Topic { get; set; }

IsNsfw​

Gets or sets whether this channel should be flagged as NSFW.

View Source​
Declaration
public Optional<bool> IsNsfw { get; set; }

SlowModeInterval​

Gets or sets the slow-mode ratelimit in seconds for this channel.

View Source​
Declaration
public Optional<int> SlowModeInterval { get; set; }

Archived​

Gets or sets whether or not the thread is archived.

View Source​
Declaration
public Optional<bool> Archived { get; set; }

Locked​

Gets or sets whether or not the thread is locked.

View Source​
Declaration
public Optional<bool> Locked { get; set; }

AutoArchiveDuration​

Gets or sets the auto archive duration.

View Source​
Declaration
public Optional<ThreadArchiveDuration> AutoArchiveDuration { get; set; }