Class OverwriteUpdateAuditLogData
Contains a piece of audit log data related to the update of a permission overwrite.
Inheritance
Implements
Inherited Members
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class OverwriteUpdateAuditLogData : IAuditLogData
Properties
| Improve this Doc View SourceChannelId
Gets the ID of the channel that the overwrite was updated from.
Declaration
public ulong ChannelId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 | A System.UInt64 representing the snowflake identifier for the channel that the overwrite was updated from. |
NewPermissions
Gets the overwrite permissions after the changes.
Declaration
public OverwritePermissions NewPermissions { get; }
Property Value
| Type | Description |
|---|---|
| OverwritePermissions | An overwrite permissions object representing the overwrite permissions that the overwrite had after the changes. |
OldPermissions
Gets the overwrite permissions before the changes.
Declaration
public OverwritePermissions OldPermissions { get; }
Property Value
| Type | Description |
|---|---|
| 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.
Declaration
public ulong OverwriteTargetId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 | A System.UInt64 representing the snowflake identifier of the overwrite that was updated. |
OverwriteType
Gets the target of the updated permission overwrite.
Declaration
public PermissionTarget OverwriteType { get; }
Property Value
| Type | Description |
|---|---|
| PermissionTarget | The target of the updated permission overwrite. |