Class DiscordThreadChannelMetadata
Represents a discord thread metadata object.
Inheritance
System.Object
DiscordThreadChannelMetadata
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordThreadChannelMetadata
Properties
| Improve this Doc View SourceArchived
Gets whether the thread is archived or not.
Declaration
public bool Archived { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Archiver
Gets ID of the archiver.
Declaration
public ulong? Archiver { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
ArchiveTimestamp
Gets the timestamp when it was archived.
Declaration
public DateTimeOffset? ArchiveTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
AutoArchiveDuration
Gets the time when it will be archived, while there is no action inside the thread (In minutes).
Declaration
public ThreadAutoArchiveDuration AutoArchiveDuration { get; }
Property Value
Type | Description |
---|---|
ThreadAutoArchiveDuration |
CreateTimestamp
Gets the timestamp when the thread was created. Only populated for threads created after 2022-01-09.
Declaration
public DateTimeOffset? CreateTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
Invitable
Gets whether non-moderators can add other non-moderators to a thread; only available on private threads.
Declaration
public bool? Invitable { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Locked
Gets whether the thread is locked.
Declaration
public bool? Locked { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |