Table of Contents

Class ChannelEditModel

Namespace
DisCatSharp.Net.Models
Assembly
DisCatSharp.dll

Represents a channel edit model.

public class ChannelEditModel : BaseEditModel
Inheritance
ChannelEditModel
Inherited Members

Properties

Bitrate

Sets the voice channel's new bitrate.

DefaultAutoArchiveDuration

Sets this channel's default duration for newly created threads, in minutes, to automatically archive the thread after recent activity.

Flags
ForumLayout

Sets the channel's default forum layout

Name

Sets the channel's new name.

Nsfw

Sets whether the channel is to be marked as NSFW.

Parent

Sets the parent of this channel.

This should be channel with Type set to Category.

PerUserRateLimit

Sets the channel's new slow mode timeout.

Setting this to null or 0 will disable slow mode.

PermissionOverwrites

Sets the channel's permission overwrites.

Position

Sets the channel's new position.

QualityMode

Sets the voice channel's video quality.

RtcRegion

Sets the voice channel's region override.

Setting this to null will set it to automatic.

Topic

Sets the channel's new topic.

Type

Sets the channel's type. This can only be used to convert between text and news channels.

UserLimit

Sets the voice channel's new user limit.

Setting this to 0 will disable the user limit.