Table of Contents

Class GuildChannelOptions

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class GuildChannelOptions
Inheritance
GuildChannelOptions
Inherited Members

Properties

AppliedTags

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("applied_tags")]
public IEnumerable<ulong>? AppliedTags { get; set; }

Property Value

IEnumerable<ulong>

Archived

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("archived")]
public bool? Archived { get; set; }

Property Value

bool?

AutoArchiveDuration

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_archive_duration")]
public int? AutoArchiveDuration { get; set; }

Property Value

int?

AvailableTags

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("available_tags")]
public IEnumerable<ForumTagProperties>? AvailableTags { get; set; }

Property Value

IEnumerable<ForumTagProperties>

Bitrate

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("bitrate")]
public int? Bitrate { get; set; }

Property Value

int?

ChannelType

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("type")]
public ChannelType? ChannelType { get; set; }

Property Value

ChannelType?

DefaultAutoArchiveDuration

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_auto_archive_duration")]
public int? DefaultAutoArchiveDuration { get; set; }

Property Value

int?

DefaultForumLayout

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_forum_layout")]
public ForumLayoutType? DefaultForumLayout { get; set; }

Property Value

ForumLayoutType?

DefaultReactionEmoji

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_reaction_emoji")]
public ForumGuildChannelDefaultReactionProperties? DefaultReactionEmoji { get; set; }

Property Value

ForumGuildChannelDefaultReactionProperties?

DefaultSortOrder

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_sort_order")]
public SortOrderType? DefaultSortOrder { get; set; }

Property Value

SortOrderType?

DefaultThreadSlowmode

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_thread_rate_limit_per_user")]
public int? DefaultThreadSlowmode { get; set; }

Property Value

int?

Flags

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("flags")]
public ChannelFlags? Flags { get; set; }

Property Value

ChannelFlags?

Invitable

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("invitable")]
public bool? Invitable { get; set; }

Property Value

bool?

Locked

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("locked")]
public bool? Locked { get; set; }

Property Value

bool?

Name

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Nsfw

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("nsfw")]
public bool? Nsfw { get; set; }

Property Value

bool?

ParentId

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("parent_id")]
public ulong? ParentId { get; set; }

Property Value

ulong?

PermissionOverwrites

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("permission_overwrites")]
public IEnumerable<PermissionOverwriteProperties>? PermissionOverwrites { get; set; }

Property Value

IEnumerable<PermissionOverwriteProperties>

Position

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("position")]
public int? Position { get; set; }

Property Value

int?

RtcRegion

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("rtc_region")]
public string? RtcRegion { get; set; }

Property Value

string

Slowmode

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("rate_limit_per_user")]
public int? Slowmode { get; set; }

Property Value

int?

Topic

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("topic")]
public string? Topic { get; set; }

Property Value

string

UserLimit

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("user_limit")]
public int? UserLimit { get; set; }

Property Value

int?

VideoQualityMode

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("video_quality_mode")]
public VideoQualityMode? VideoQualityMode { get; set; }

Property Value

VideoQualityMode?

Methods

AddAppliedTags(IEnumerable<ulong>)

public GuildChannelOptions AddAppliedTags(IEnumerable<ulong> appliedTags)

Parameters

appliedTags IEnumerable<ulong>

Returns

GuildChannelOptions

AddAppliedTags(params ulong[])

public GuildChannelOptions AddAppliedTags(params ulong[] appliedTags)

Parameters

appliedTags ulong[]

Returns

GuildChannelOptions

AddAvailableTags(params ForumTagProperties[])

public GuildChannelOptions AddAvailableTags(params ForumTagProperties[] availableTags)

Parameters

availableTags ForumTagProperties[]

Returns

GuildChannelOptions

AddAvailableTags(IEnumerable<ForumTagProperties>)

public GuildChannelOptions AddAvailableTags(IEnumerable<ForumTagProperties> availableTags)

Parameters

availableTags IEnumerable<ForumTagProperties>

Returns

GuildChannelOptions

AddPermissionOverwrites(params PermissionOverwriteProperties[])

public GuildChannelOptions AddPermissionOverwrites(params PermissionOverwriteProperties[] permissionOverwrites)

Parameters

permissionOverwrites PermissionOverwriteProperties[]

Returns

GuildChannelOptions

AddPermissionOverwrites(IEnumerable<PermissionOverwriteProperties>)

public GuildChannelOptions AddPermissionOverwrites(IEnumerable<PermissionOverwriteProperties> permissionOverwrites)

Parameters

permissionOverwrites IEnumerable<PermissionOverwriteProperties>

Returns

GuildChannelOptions

WithAppliedTags(IEnumerable<ulong>?)

public GuildChannelOptions WithAppliedTags(IEnumerable<ulong>? appliedTags)

Parameters

appliedTags IEnumerable<ulong>

Returns

GuildChannelOptions

WithArchived(bool?)

public GuildChannelOptions WithArchived(bool? archived = true)

Parameters

archived bool?

Returns

GuildChannelOptions

WithAutoArchiveDuration(int?)

public GuildChannelOptions WithAutoArchiveDuration(int? autoArchiveDuration)

Parameters

autoArchiveDuration int?

Returns

GuildChannelOptions

WithAvailableTags(IEnumerable<ForumTagProperties>?)

public GuildChannelOptions WithAvailableTags(IEnumerable<ForumTagProperties>? availableTags)

Parameters

availableTags IEnumerable<ForumTagProperties>

Returns

GuildChannelOptions

WithBitrate(int?)

public GuildChannelOptions WithBitrate(int? bitrate)

Parameters

bitrate int?

Returns

GuildChannelOptions

WithChannelType(ChannelType?)

public GuildChannelOptions WithChannelType(ChannelType? channelType)

Parameters

channelType ChannelType?

Returns

GuildChannelOptions

WithDefaultAutoArchiveDuration(int?)

public GuildChannelOptions WithDefaultAutoArchiveDuration(int? defaultAutoArchiveDuration)

Parameters

defaultAutoArchiveDuration int?

Returns

GuildChannelOptions

WithDefaultForumLayout(ForumLayoutType?)

public GuildChannelOptions WithDefaultForumLayout(ForumLayoutType? defaultForumLayout)

Parameters

defaultForumLayout ForumLayoutType?

Returns

GuildChannelOptions

WithDefaultReactionEmoji(ForumGuildChannelDefaultReactionProperties?)

public GuildChannelOptions WithDefaultReactionEmoji(ForumGuildChannelDefaultReactionProperties? defaultReactionEmoji)

Parameters

defaultReactionEmoji ForumGuildChannelDefaultReactionProperties?

Returns

GuildChannelOptions

WithDefaultSortOrder(SortOrderType?)

public GuildChannelOptions WithDefaultSortOrder(SortOrderType? defaultSortOrder)

Parameters

defaultSortOrder SortOrderType?

Returns

GuildChannelOptions

WithDefaultThreadSlowmode(int?)

public GuildChannelOptions WithDefaultThreadSlowmode(int? defaultThreadSlowmode)

Parameters

defaultThreadSlowmode int?

Returns

GuildChannelOptions

WithFlags(ChannelFlags?)

public GuildChannelOptions WithFlags(ChannelFlags? flags)

Parameters

flags ChannelFlags?

Returns

GuildChannelOptions

WithInvitable(bool?)

public GuildChannelOptions WithInvitable(bool? invitable = true)

Parameters

invitable bool?

Returns

GuildChannelOptions

WithLocked(bool?)

public GuildChannelOptions WithLocked(bool? locked = true)

Parameters

locked bool?

Returns

GuildChannelOptions

WithName(string?)

public GuildChannelOptions WithName(string? name)

Parameters

name string

Returns

GuildChannelOptions

WithNsfw(bool?)

public GuildChannelOptions WithNsfw(bool? nsfw = true)

Parameters

nsfw bool?

Returns

GuildChannelOptions

WithParentId(ulong?)

public GuildChannelOptions WithParentId(ulong? parentId)

Parameters

parentId ulong?

Returns

GuildChannelOptions

WithPermissionOverwrites(IEnumerable<PermissionOverwriteProperties>?)

public GuildChannelOptions WithPermissionOverwrites(IEnumerable<PermissionOverwriteProperties>? permissionOverwrites)

Parameters

permissionOverwrites IEnumerable<PermissionOverwriteProperties>

Returns

GuildChannelOptions

WithPosition(int?)

public GuildChannelOptions WithPosition(int? position)

Parameters

position int?

Returns

GuildChannelOptions

WithRtcRegion(string?)

public GuildChannelOptions WithRtcRegion(string? rtcRegion)

Parameters

rtcRegion string

Returns

GuildChannelOptions

WithSlowmode(int?)

public GuildChannelOptions WithSlowmode(int? slowmode)

Parameters

slowmode int?

Returns

GuildChannelOptions

WithTopic(string?)

public GuildChannelOptions WithTopic(string? topic)

Parameters

topic string

Returns

GuildChannelOptions

WithUserLimit(int?)

public GuildChannelOptions WithUserLimit(int? userLimit)

Parameters

userLimit int?

Returns

GuildChannelOptions

WithVideoQualityMode(VideoQualityMode?)

public GuildChannelOptions WithVideoQualityMode(VideoQualityMode? videoQualityMode)

Parameters

videoQualityMode VideoQualityMode?

Returns

GuildChannelOptions