Table of Contents

Class OverwriteUpdateAuditLogData

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

Contains a piece of audit log data related to the update of a permission overwrite.

public class OverwriteUpdateAuditLogData : IAuditLogData
Inheritance
OverwriteUpdateAuditLogData
Implements
Inherited Members

Properties

ChannelId

Gets the ID of the channel that the overwrite was updated from.

public ulong ChannelId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the channel that the overwrite was updated from.

NewPermissions

Gets the overwrite permissions after the changes.

public OverwritePermissions NewPermissions { get; }

Property Value

OverwritePermissions

An overwrite permissions object representing the overwrite permissions that the overwrite had after the changes.

OldPermissions

Gets the overwrite permissions before the changes.

public OverwritePermissions OldPermissions { get; }

Property Value

OverwritePermissions

An overwrite permissions object representing the overwrite permissions that the overwrite had before the changes were made.

OverwriteTargetId

Gets the ID of the overwrite that was updated.

public ulong OverwriteTargetId { get; }

Property Value

ulong

A ulong representing the snowflake identifier of the overwrite that was updated.

OverwriteType

Gets the target of the updated permission overwrite.

public PermissionTarget OverwriteType { get; }

Property Value

PermissionTarget

The target of the updated permission overwrite.