Table of Contents

Class ThreadCreateAuditLogData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Contains a piece of audit log data related to a thread creation.

public class ThreadCreateAuditLogData : IAuditLogData
Inheritance
ThreadCreateAuditLogData
Implements
Inherited Members

Properties

AppliedTags

Gets the applied tags of this thread.

public IReadOnlyCollection<ulong> AppliedTags { get; }

Property Value

IReadOnlyCollection<ulong>

Remarks

null if the property was not updated.

AutoArchiveDuration

Gets the auto archive duration of the thread.

public ThreadArchiveDuration AutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration

The thread auto archive duration of the thread.

Flags

Gets the flags of the thread channel.

public ChannelFlags? Flags { get; }

Property Value

ChannelFlags?

Remarks

null if the property was not updated.

IsArchived

Gets the value that indicates whether the thread is archived.

public bool IsArchived { get; }

Property Value

bool

true if this thread has the Archived flag enabled; otherwise false.

IsLocked

Gets the value that indicates whether the thread is locked.

public bool IsLocked { get; }

Property Value

bool

true if this thread has the Locked flag enabled; otherwise false.

SlowModeInterval

Gets the slow-mode delay of the thread.

public int? SlowModeInterval { get; }

Property Value

int?

An int representing the time in seconds required before the user can send another message; 0 if disabled. null if this is not mentioned in this entry.

Thread

Gets the thread that was created if it still exists.

public IThreadChannel Thread { get; }

Property Value

IThreadChannel

A thread object representing the thread that was created if it still exists, otherwise returns null.

ThreadId

Gets the snowflake ID of the thread.

public ulong ThreadId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the thread.

ThreadName

Gets the name of the thread.

public string ThreadName { get; }

Property Value

string

A string containing the name of the thread.

ThreadType

Gets the type of the thread.

public ThreadType ThreadType { get; }

Property Value

ThreadType

The type of thread.