Table of Contents

Class GuildThreadProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class GuildThreadProperties : GuildThreadFromMessageProperties
Inheritance
GuildThreadProperties
Inherited Members

Constructors

GuildThreadProperties(string)

public GuildThreadProperties(string name)

Parameters

name string

Properties

ChannelType

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

Property Value

ChannelType?

Invitable

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

Property Value

bool?

Methods

WithAutoArchiveDuration(int?)

public GuildThreadProperties WithAutoArchiveDuration(int? autoArchiveDuration)

Parameters

autoArchiveDuration int?

Returns

GuildThreadProperties

WithChannelType(ChannelType?)

public GuildThreadProperties WithChannelType(ChannelType? channelType)

Parameters

channelType ChannelType?

Returns

GuildThreadProperties

WithInvitable(bool?)

public GuildThreadProperties WithInvitable(bool? invitable = true)

Parameters

invitable bool?

Returns

GuildThreadProperties

WithName(string)

public GuildThreadProperties WithName(string name)

Parameters

name string

Returns

GuildThreadProperties

WithSlowmode(int?)

public GuildThreadProperties WithSlowmode(int? slowmode)

Parameters

slowmode int?

Returns

GuildThreadProperties