Table of Contents

Class ChannelDeleteAuditLogData

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

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

public class ChannelDeleteAuditLogData : IAuditLogData
Inheritance
ChannelDeleteAuditLogData
Implements
Inherited Members

Properties

AutoArchiveDuration

Gets the thread archive duration that was configured for the created channel.

public ThreadArchiveDuration? AutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

Bitrate

Gets the bit-rate of this channel if applicable.

public int? Bitrate { get; }

Property Value

int?

An int representing the bit-rate set of the voice channel. null if this is not mentioned in this entry.

ChannelId

Gets the snowflake ID of the deleted channel.

public ulong ChannelId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the deleted channel.

ChannelName

Gets the name of the deleted channel.

public string ChannelName { get; }

Property Value

string

A string containing the name of the deleted channel.

ChannelType

Gets the type of the deleted channel.

public ChannelType ChannelType { get; }

Property Value

ChannelType

The type of channel that was deleted.

DefaultArchiveDuration

Gets the default auto-archive duration for client-created threads in this channel.

public ThreadArchiveDuration? DefaultArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

The default auto-archive duration for thread creation in this channel.

Remarks

The value of this property does not affect API thread creation, it will not respect this value.

DefaultReactionEmoji

Gets the emoji to show in the add reaction button on a thread in a forum channel

public IEmote DefaultReactionEmoji { get; }

Property Value

IEmote

Remarks

If the emoji is Emote only the Id will be populated. Use GetEmoteAsync(ulong, RequestOptions) to get the emoji.

DefaultSlowModeInterval

Gets the default slow mode interval that was configured for the channel.

public int? DefaultSlowModeInterval { get; }

Property Value

int?

Flags

Gets channel flags configured for the created channel.

public ChannelFlags? Flags { get; }

Property Value

ChannelFlags?

ForumTags

Gets a collection of tags inside of this forum channel.

public IReadOnlyCollection<ForumTag> ForumTags { get; }

Property Value

IReadOnlyCollection<ForumTag>

Remarks

null if the value was not specified in this entry..

IsNsfw

Gets the value that indicates whether the deleted channel was NSFW.

public bool? IsNsfw { get; }

Property Value

bool?

true if this channel had the NSFW flag enabled; otherwise false. null if this is not mentioned in this entry.

Overwrites

Gets a collection of permission overwrites that was assigned to the deleted channel.

public IReadOnlyCollection<Overwrite> Overwrites { get; }

Property Value

IReadOnlyCollection<Overwrite>

A collection of permission Overwrite.

RtcRegion

Gets the region configured in the created voice channel.

public string RtcRegion { get; }

Property Value

string

SlowModeInterval

Gets the slow-mode delay of the deleted channel.

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.

Topic

Gets the current topic for this text channel.

public string Topic { get; }

Property Value

string

A string representing the topic set in the channel; null if none is set.

Remarks

null if the value was not specified in this entry..

UserLimit

Gets the user limit configured in the created voice channel.

public int? UserLimit { get; }

Property Value

int?

VideoQualityMode

Gets the video quality mode configured in the created voice channel.

public VideoQualityMode? VideoQualityMode { get; }

Property Value

VideoQualityMode?