Table of Contents

Class ForumGuildThreadProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class ForumGuildThreadProperties : GuildThreadFromMessageProperties, IHttpSerializable
Inheritance
ForumGuildThreadProperties
Implements
Inherited Members

Constructors

ForumGuildThreadProperties(string, ForumGuildThreadMessageProperties)

public ForumGuildThreadProperties(string name, ForumGuildThreadMessageProperties message)

Parameters

name string
message ForumGuildThreadMessageProperties

Properties

AppliedTags

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

Property Value

IEnumerable<ulong>

Message

[JsonPropertyName("message")]
public ForumGuildThreadMessageProperties Message { get; set; }

Property Value

ForumGuildThreadMessageProperties

Methods

AddAppliedTags(IEnumerable<ulong>)

public ForumGuildThreadProperties AddAppliedTags(IEnumerable<ulong> appliedTags)

Parameters

appliedTags IEnumerable<ulong>

Returns

ForumGuildThreadProperties

AddAppliedTags(params ulong[])

public ForumGuildThreadProperties AddAppliedTags(params ulong[] appliedTags)

Parameters

appliedTags ulong[]

Returns

ForumGuildThreadProperties

Serialize()

Serializes the object or its part into HttpContent.

public HttpContent Serialize()

Returns

HttpContent

WithAppliedTags(IEnumerable<ulong>?)

public ForumGuildThreadProperties WithAppliedTags(IEnumerable<ulong>? appliedTags)

Parameters

appliedTags IEnumerable<ulong>

Returns

ForumGuildThreadProperties

WithAutoArchiveDuration(int?)

public ForumGuildThreadProperties WithAutoArchiveDuration(int? autoArchiveDuration)

Parameters

autoArchiveDuration int?

Returns

ForumGuildThreadProperties

WithMessage(ForumGuildThreadMessageProperties)

public ForumGuildThreadProperties WithMessage(ForumGuildThreadMessageProperties message)

Parameters

message ForumGuildThreadMessageProperties

Returns

ForumGuildThreadProperties

WithName(string)

public ForumGuildThreadProperties WithName(string name)

Parameters

name string

Returns

ForumGuildThreadProperties

WithSlowmode(int?)

public ForumGuildThreadProperties WithSlowmode(int? slowmode)

Parameters

slowmode int?

Returns

ForumGuildThreadProperties