Class DiscordThreadChannelMetadata
Namespace: DSharpPlus.Entities
Assembly: cs.temp.dll.dll
Syntax
public class DiscordThreadChannelMetadata
Properties
ArchiveTimestamp
Gets the time timestamp for when the thread's archive status was last changed.
Declaration
public DateTimeOffset? ArchiveTimestamp { get; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
AutoArchiveDuration
Gets the duration in minutes to automatically archive the thread after recent activity. Can be set to: 60, 1440, 4320, 10080.
Declaration
public AutoArchiveDuration AutoArchiveDuration { get; }
Property Value
Type | Description |
---|---|
AutoArchiveDuration |
CreationTimestamp
Gets the time this thread was created. Only populated for threads created after 2022-01-09 (YYYY-MM-DD).
Declaration
public DateTimeOffset? CreationTimestamp { get; }
Property Value
Type | Description |
---|---|
Nullable<DateTimeOffset> |
IsArchived
Gets whether this thread is archived or not.
Declaration
public bool IsArchived { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsLocked
Gets whether this thread is locked or not.
Declaration
public bool? IsLocked { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |