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
ulongtargetType
PermissionTargetpermissions
OverwritePermissions
Properties
Permissions
Gets the permissions associated with this overwrite entry.
public readonly OverwritePermissions Permissions { get; }
Property Value
TargetId
Gets the unique identifier for the object this overwrite is targeting.
public readonly ulong TargetId { get; }
Property Value
TargetType
Gets the type of object this overwrite is targeting.
public readonly PermissionTarget TargetType { get; }