Table of Contents

Method EditChannelPermissionsAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

EditChannelPermissionsAsync(ulong, ulong, DiscordPermissions, DiscordPermissions, string, string)

Edits channel overwrite

public Task EditChannelPermissionsAsync(ulong channelId, ulong overwriteId, DiscordPermissions allow, DiscordPermissions deny, string type, string reason)

Parameters

channelId ulong

Channel ID

overwriteId ulong

Overwrite ID

allow DiscordPermissions

Permissions to allow

deny DiscordPermissions

Permissions to deny

type string

Overwrite type

reason string

Reason this overwrite was created

Returns

Task