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
jsonModelJsonGuildThreadMetadata
Properties
ArchiveTimestamp
When the thread's activity status was last updated.
public DateTimeOffset ArchiveTimestamp { get; }
Property Value
Archived
Whether the thread is currently archived.
public bool Archived { get; }
Property Value
AutoArchiveDuration
How long the thread must be inactive before auto-archiving occurs.
public ThreadArchiveDuration AutoArchiveDuration { get; }
Property Value
CreateTimestamp
When the thread was initially created.
public DateTimeOffset CreateTimestamp { get; }
Property Value
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
Remarks
Locked threads can only be unlocked using the ManageThreads permission.