Table of Contents

Class GuildThreadMetadata

Namespace
NetCord
Assembly
NetCord.dll

Contains additional metadata for threads, irrelevant for standard channels.

public class GuildThreadMetadata : IJsonModel<JsonGuildThreadMetadata>
Inheritance
GuildThreadMetadata
Implements
Inherited Members

Constructors

GuildThreadMetadata(JsonGuildThreadMetadata)

Contains additional metadata for threads, irrelevant for standard channels.

public GuildThreadMetadata(JsonGuildThreadMetadata jsonModel)

Parameters

jsonModel JsonGuildThreadMetadata

Properties

ArchiveTimestamp

When the thread's activity status was last updated.

public DateTimeOffset ArchiveTimestamp { get; }

Property Value

DateTimeOffset

Archived

Whether the thread is currently archived.

public bool Archived { get; }

Property Value

bool

AutoArchiveDuration

How long the thread must be inactive before auto-archiving occurs.

public ThreadArchiveDuration AutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration

CreateTimestamp

When the thread was initially created.

public DateTimeOffset CreateTimestamp { get; }

Property Value

DateTimeOffset

Remarks

Only populated for threads created after 2022-01-09.

Invitable

Whether non-moderators can add other non-moderators to a thread.

public bool? Invitable { get; }

Property Value

bool?

Remarks

Only available for private threads.

Locked

Whether the thread has been locked.

public bool Locked { get; }

Property Value

bool

Remarks

Locked threads can only be unlocked using the ManageThreads permission.