Table of Contents

Class SocketThreadDeleteAuditLogData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

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

public class SocketThreadDeleteAuditLogData : ISocketAuditLogData, IAuditLogData
Inheritance
SocketThreadDeleteAuditLogData
Implements
Inherited Members

Properties

AppliedTags

Gets the applied tags of this thread.

public IReadOnlyCollection<ulong> AppliedTags { get; }

Property Value

IReadOnlyCollection<ulong>

Remarks

null if this is not mentioned in this entry.

AutoArchiveDuration

Gets the thread auto archive duration of the deleted thread.

public ThreadArchiveDuration AutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration

The thread auto archive duration of the thread that was deleted.

Flags

Gets the flags of the thread channel.

public ChannelFlags? Flags { get; }

Property Value

ChannelFlags?

Remarks

null if this is not mentioned in this entry.

IsArchived

Gets the value that indicates whether the deleted thread was archived.

public bool IsArchived { get; }

Property Value

bool

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

IsLocked

Gets the value that indicates whether the deleted thread was locked.

public bool IsLocked { get; }

Property Value

bool

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

SlowModeInterval

Gets the slow-mode delay of the deleted 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.

ThreadId

Gets the snowflake ID of the deleted thread.

public ulong ThreadId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the deleted thread.

ThreadName

Gets the name of the deleted thread.

public string ThreadName { get; }

Property Value

string

A string containing the name of the deleted thread.

ThreadType

Gets the type of the deleted thread.

public ThreadType ThreadType { get; }

Property Value

ThreadType

The type of thread that was deleted.