Table of Contents

Class ChannelCreateAuditLogData

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

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

public class ChannelCreateAuditLogData : IAuditLogData
Inheritance
ChannelCreateAuditLogData
Implements
Inherited Members

Properties

AutoArchiveDuration

Gets the thread archive duration that was set in the created channel.

public ThreadArchiveDuration? AutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

AvailableTags

Gets tags available in the created forum channel.

public IReadOnlyCollection<ForumTag> AvailableTags { get; }

Property Value

IReadOnlyCollection<ForumTag>

Bitrate

Gets the bit-rate that the clients in the created voice channel are requested to use.

public int? Bitrate { get; }

Property Value

int?

An int representing the bit-rate (bps) that the created voice channel defines and requests the client(s) to use. null if this is not mentioned in this entry.

ChannelId

Gets the snowflake ID of the created channel.

public ulong ChannelId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the created channel.

ChannelName

Gets the name of the created channel.

public string ChannelName { get; }

Property Value

string

A string containing the name of the created channel.

ChannelType

Gets the type of the created channel.

public ChannelType ChannelType { get; }

Property Value

ChannelType

The type of channel that was created.

DefaultAutoArchiveDuration

Gets the default thread archive duration that was set in the created channel.

public ThreadArchiveDuration? DefaultAutoArchiveDuration { get; }

Property Value

ThreadArchiveDuration?

DefaultReactionEmoji

Gets the default reaction added to posts in the created forum channel.

public IEmote DefaultReactionEmoji { get; }

Property Value

IEmote

DefaultSlowModeInterval

Gets the default slow mode interval that will be set in child threads in 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?

IsNsfw

Gets the value that indicates whether the created channel is NSFW.

public bool? IsNsfw { get; }

Property Value

bool?

true if the created channel has 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 created channel.

public IReadOnlyCollection<Overwrite> Overwrites { get; }

Property Value

IReadOnlyCollection<Overwrite>

A collection of permission Overwrite, containing the permission overwrites that were assigned to the created channel.

RtcRegion

Gets the region configured in the created voice channel.

public string RtcRegion { get; }

Property Value

string

SlowModeInterval

Gets the current slow-mode delay of the created 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 topic that was set in the created channel.

public string Topic { get; }

Property Value

string

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?