Table of Contents

Struct Overwrite

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represent a permission object.

public struct Overwrite
Inherited Members

Constructors

Overwrite(ulong, PermissionTarget, OverwritePermissions)

Initializes a new Overwrite with provided target information and modified permissions.

public Overwrite(ulong targetId, PermissionTarget targetType, OverwritePermissions permissions)

Parameters

targetId ulong
targetType PermissionTarget
permissions OverwritePermissions

Properties

Permissions

Gets the permissions associated with this overwrite entry.

public readonly OverwritePermissions Permissions { get; }

Property Value

OverwritePermissions

TargetId

Gets the unique identifier for the object this overwrite is targeting.

public readonly ulong TargetId { get; }

Property Value

ulong

TargetType

Gets the type of object this overwrite is targeting.

public readonly PermissionTarget TargetType { get; }

Property Value

PermissionTarget