Table of Contents

Class SocketOverwriteUpdateAuditLogData

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

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

public class SocketOverwriteUpdateAuditLogData : ISocketAuditLogData, IAuditLogData
Inheritance
SocketOverwriteUpdateAuditLogData
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.