Table of Contents

Class GuildThreadFromMessageProperties

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

Constructors

GuildThreadFromMessageProperties(string)

public GuildThreadFromMessageProperties(string name)

Parameters

name string

Properties

AutoArchiveDuration

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

Property Value

ThreadArchiveDuration?

Name

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Slowmode

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

Property Value

int?

Methods

WithAutoArchiveDuration(ThreadArchiveDuration?)

public GuildThreadFromMessageProperties WithAutoArchiveDuration(ThreadArchiveDuration? autoArchiveDuration)

Parameters

autoArchiveDuration ThreadArchiveDuration?

Returns

GuildThreadFromMessageProperties

WithName(string)

public GuildThreadFromMessageProperties WithName(string name)

Parameters

name string

Returns

GuildThreadFromMessageProperties

WithSlowmode(int?)

public GuildThreadFromMessageProperties WithSlowmode(int? slowmode)

Parameters

slowmode int?

Returns

GuildThreadFromMessageProperties